Change Inches to feet and Inches

B

Bob

I have a column adding inches with fractions like this:

96
4 1/4

100 1/4

How can you format the cell with 100 1/4 to show 8' 4" 1/4

Thank you for your help.
 
G

Gary Keramidas

you can try this, i just used a1:a7 as the range


=TEXT(INT(SUM(A1:A7)/12) & "' " &MOD(SUM(A1:A7),12) & """","0.00")
 
B

Bob

This worked just right:
=INT(SUM(A1:A3)/12) & TEXT(MOD(SUM(A1:A3),12), "' 0\"" ?/?")the formula:

This formula leaves a decimal for the fraction.
=TEXT(INT(SUM(A1:A7)/12) & "' " &MOD(SUM(A1:A7),12) & """","0.00")

Thanks again for your help.
 

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