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.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

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!
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,101
Messages
5,835,389
Members
430,354
Latest member
Novice125

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