Leading zero with fractions

M

Mike

I have one column which is formatted to show inches and fractions of an inch.
1/16, 1/8, 3/16, 1/4 and so on up to 15/16. It works perfectly except that I
want it to show a leading zero when the fraction is smaller than one inch. eg
0 15/16, not 15/16. Is there any way to format the cell to do that?.
 
D

Dave Peterson

A custom format like:

0 ??/??


I have one column which is formatted to show inches and fractions of an inch.
1/16, 1/8, 3/16, 1/4 and so on up to 15/16. It works perfectly except that I
want it to show a leading zero when the fraction is smaller than one inch. eg
0 15/16, not 15/16. Is there any way to format the cell to do that?.
 
M

Mike

Thank you for the information. It works fine. I didn't realise you could edit
the custom samples.
 
D

Dave Peterson

I'm not sure you can edit the built-in custom formats--but you can surely use
them as a basis for your own custom format (kind of a semantic thing, though).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top