Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Typically Excel removes the "0" at the beginning of a number in a number formatted cell

One way to overcome this (IIRC) is to start with an apostrophe '

'01132 instead of 01132

Woof, Woof - Dawg
pawprint.gif
 
Typically Excel removes the "0" at the beginning of a number in a number formatted cell

One way to overcome this (IIRC) is to start with an apostrophe '

'01132 instead of 01132

Woof, Woof - Dawg
pawprint.gif

Yes starting with a ' will make the cell a text cell rather than a number cell.
 
Or change the cell's (or row's/column's) formatting from the Format menu..

Unfortunately, I have found that sometimes Excel thinks it knows better than I do what I need, and when I format the cell as text and then enter a number it autoformats it back to number :eek:.

And alternately, when I enter the number first and then go to format the cell to text I have already lost my zero.

It is always quicker for me to just put the ' in there and forget it!

Woof, Woof - Dawg
pawprint.gif
 
The apostrophe tip worked well. Thanks.

Just be careful with using ', as it does make it a text formatted cell - i.e. that value will not be computed in certain formulas. I ran into that not too long ago where a few random cells in a column had been set as text via ' - and it took a few minutes to track down why the totals didn't seem quite right...

Otherwise though, it's a quick and easy way of showing a zero...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.