Stop long number from rounding, Entry made in cell

go2jared

New Member
Joined
Aug 21, 2004
Messages
33
I am creating a form spreadsheet for my work, where one of the cells/fields requires the user to enter a transaction number. The transaction number is approximately 25 digits long. When the numbers are entered, excel is taking the last 10 or so numbers and replacing them with zeros. I believe that Excel may be rounding the number. The problem is alleviated if the user simply enters a - within the number string, but I don't want them to have to remember to do this.

Is there a quick fix to stop it from doing this? Thanks! I changed the width of the cell and changed the format, using different options, but it does not work.
 

Some videos you may like

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
If the number is being entered into a worksheet cell, can you not simply set the format to be text? Then the user won't need to amend what they type.

Best regards

Richard
 

go2jared

New Member
Joined
Aug 21, 2004
Messages
33
Why did that work?

I could swear I tried that before. I just did what you said and it worked. Don't I feel a little sheepish...baaaahhh Maybe I was overthinking it.

Thanks!
 

Watch MrExcel Video

Forum statistics

Threads
1,122,364
Messages
5,595,719
Members
414,013
Latest member
tnobbs

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