Problem understanding display of large numbers in excel

PETER VROOMEN 20 Reputation points
2026-06-25T16:18:05.86+00:00

Hi All.

Probably a very 'novice' question this, but can't find the solution (if there is one).

I need to work with numbers of 16 digits, which are really only reference numbers (think of invoice numbers, etc.)

Although I can enter the numbers, once displayed found that (by design?) the number following the 15th digit (i.e. the 16th digit) is rounded to zero.

The cells are formatted as Text as suggested by the help function text, but although I enter a value of e.g. 1266799219426011 it is invariably changed to 1266799219426010 upon enter.

Can't find an explanation nor how to deal with/prevent this.

Thanks for your valuable insights

Peter

Microsoft 365 and Office | Excel | For home | Other
0 comments No comments

Answer accepted by question author
riny 21,520 Reputation points Volunteer Moderator
2026-06-26T05:36:05.0433333+00:00

@PETER VROOMEN

Just enter an apostrophe in front of the 16 digit number.

User's image

or format the cell that will contain the 16 digits as text before entering them.

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Newest
  1. Igor Leyko 112.4K Reputation points Independent Advisor
    2026-06-25T17:31:56.4966667+00:00

    Unfortunately, Excel limits precision to 15 digits, see https://support.microsoft.com/en-us/excel/change-formula-recalculation-iteration-or-precision-in-excel

    So, there is no way to keep 16 digits in a single cell. You may try to use xNumbers add-on if it will work in your Excel.

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.