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

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Cbrine

Well-known Member
Joined
Dec 2, 2003
Messages
3,196
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
 

grd

Board Regular
Joined
Oct 19, 2005
Messages
210
Why are you trying to show a number in that format?
 

caminochaos

New Member
Joined
Jan 4, 2006
Messages
15
The format is road stationing. It is basically a line of reference to build a from.

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

Forum statistics

Threads
1,136,926
Messages
5,678,606
Members
419,775
Latest member
joh93

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