Last digit changes unless a dash is used

roc_ent

Board Regular
Joined
Jan 27, 2003
Messages
246
Office Version
  1. 2019
Platform
  1. Windows
I am trying to set up an sheet to track orders. Starting in cell D2 I have a 15 digit number ending in 358. When I key the order number in, the end part of 358 changes to 350. I've formatted the cell to number and reduced the decimals to none, still changes to 350. Tried formatting to General, Number even custom with 15 ####s still the final digit changes to 350 instead of 358 unless I put in a dash then its fine the last digit stays as 358. So far the only way I can get the 358 digit to stay is to format the cell as a number and manually remove the .00 I've even deleted the entire column in case I had formatted it wrong and still in the new cell 358 changes to 350????o_O
 

Attachments

  • mr.excel.JPG
    mr.excel.JPG
    48.9 KB · Views: 3

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
56,632
Office Version
  1. 365
Platform
  1. Windows
That is a 16 digit number (not 15) & excel only displays 15 significant digits. One way to stop that happening is to use text values rather than numbers.
 
Solution

roc_ent

Board Regular
Joined
Jan 27, 2003
Messages
246
Office Version
  1. 2019
Platform
  1. Windows
That is a 16 digit number (not 15) & excel only displays 15 significant digits. One way to stop that happening is to use text values rather than numbers.
Fluff, you have come to my rescue once again. Thank you for that information as it was driving me crazy. I did not realize that Excel only did 15 digits. Again, thanks.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
56,632
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,732
Messages
5,638,042
Members
417,000
Latest member
JasonWilliam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top