We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Excel query
Options

Gers
Posts: 13,135 Forumite


in Techie Stuff
I want to input numbers such as 17099131256910302 - it shows variously as:
9131256910302.00 when formatted as a number to 0 decimal places
1.70913E+15 when formatted as general or text
How can I get this number to show correctly please?
9131256910302.00 when formatted as a number to 0 decimal places
1.70913E+15 when formatted as general or text
How can I get this number to show correctly please?
0
Comments
-
right-click cells chose "format cells" and select "number"0
-
Format the cell as Text - Excel has a 15 digit numeric precision limitation so you won't be able to input numbers as true numeric values beyond this. Be aware that this does mean the value entered is a textual representation of a number, however.0
-
You could put do '1234567890000 as the number0
-
right-click cells chose "format cells" and select "number"
It's already in as a number!TrickyDicky101 wrote: »Format the cell as Text - Excel has a 15 digit numeric precision limitation so you won't be able to input numbers as true numeric values beyond this. Be aware that this does mean the value entered is a textual representation of a number, however.
Now, the 15 digit limit makes sense, thanks!bengalknights wrote: »You could put do '1234567890000 as the number
It's in as a number!0 -
-
Quite right Mark!
I also wonder why, Gers, you want such high precision. What are you trying to achieve or was that just an example?
If it is just that you wish to display it more or less correctly (up to the 15 digit precision) then format the cell as Custom (there should be examples under that format style in the menu for it) and type the format as 0 i.e just a row of zeros. That will give your 17 digits with no leading zeros and the last two characters with be rounded off to the 15 digit precision showing as 00 rather than 02.
If you wanted to show leading zeros then increase the custom number of zeros to those desired. Other examples shown in the list such as #,##0.0000 -
Heedtheadvice wrote: »Quite right Mark!
I also wonder why, Gers, you want such high precision. What are you trying to achieve or was that just an example?
It's the number of a certificate.
170913125691 0302 Wee space between 1 and 0 shows it correctly
1709131256910300 Number - changes the final digit to 0
1.70913E+15 Text No idea what this is!0 -
Adding ' before the number as above will fix it - just like when you try and enter a phone number 01782123456, excel will format it as 1782123456 - by using the ' before the 0 it will display as intended.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 350.8K Banking & Borrowing
- 253.1K Reduce Debt & Boost Income
- 453.5K Spending & Discounts
- 243.8K Work, Benefits & Business
- 598.7K Mortgages, Homes & Bills
- 176.8K Life & Family
- 257.1K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards