number format

bam12

Well-known Member
Joined
Dec 6, 2004
Messages
985
is there a way to type a number in and it put it in the format you have set up

example type 123456789012
and it put it as 1234567.89012
and can have leading zeros as well
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
You can check Fixed decimal and choose the number of Places on the Edit tab of the Tools|Options dialog. Note that this is an application wide setting.
 
Upvote 0
is there a way to type a number in and it put it in the format you have set up

example type 123456789012
and it put it as 1234567.89012
and can have leading zeros as well

Couple of points if someone types in "12345" is that supposed to be 000012345.00000 or 00000000.12345 ?

leading zeroes are a cell format thing no problem but getting the number of decimal places on input... much harder
 
Upvote 0
Would it be sufficient to have a formula in an adjescent column?

Enter your value in A1, in B1 put
=REPLACE(A1,LEN(A1)-4,0,".")
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,710
Members
452,939
Latest member
WCrawford

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
Back
Top