Dividing Whole Numbers Into Quarters

M

Mike

Is there a way to format whole numbers such that decimal
fractions are displayed as quarters, rather than the usual
tenths?

For example, 1/4 would be displayed as ".1," 1/2 as ".2"
and 3/4 as ".3."
 
B

Bernie Deitrick

Mike,

Not through formatting, but you can use a formula. For a number in
cell A1:

=INT(A1)& "."&INT((A1-INT(A1))*4)

This will return a string, so you;ll have to do any math using the
original number in cell A1.

HTH,
Bernie
MS Excel MVP
 
R

Ron Rosenfeld

Is there a way to format whole numbers such that decimal
fractions are displayed as quarters, rather than the usual
tenths?

For example, 1/4 would be displayed as ".1," 1/2 as ".2"
and 3/4 as ".3."

Not with formatting, but if you have the analysis toolpak installed, then:

=dollarfr(A1,4)


--ron
 

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