Format Cell Question for the Pros

caminochaos

New Member
Joined
Jan 4, 2006
Messages
15
I have created a code (#+##.###) that would allow me to type:
2850.543

and it will display:
28+50.543

The problem that I am having is when I type in:
2800

It displays:
28+00.

It puts a "." at the end even though there is nothing after the decimal.

Please Help!

Thank you
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
If you drop the end of your format string, it seems to work.

#+##

Unless you want

2850.54 to display as 28+50.540, in which case we will need to dig deeper.

HTH
Cal
 
Upvote 0
The format is road stationing. It is basically a line of reference to build a from.

28+00 means 2,800 feet (or meters).
 
Upvote 0

Forum statistics

Threads
1,218,888
Messages
6,145,017
Members
450,586
Latest member
hehehihi2007

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