Numbers to Feet
Numbers to Feet
(OP)
I am trying to convert a number or part of a number to repersent feet. I know the formunla 1.25' = 1'-4" but I want to entry 1.25 and the cell display 1'-4" so I can complete the formunla.
Thank You
Thank You
RE: Numbers to Feet
Thread770-28791
RE: Numbers to Feet
.25 feet = 3 inches...
Anyway, with 1.25 ft in cell C7, split it up into an interger and a remainder, viz:
in cell D7 you have +int(C7), that equals 1
in cell E7 you have + mod(C7,1), that equals .25
Then, to get the format you want, put
in cell F7 put +CONCATENATE(D7,"'","-",E7*12,"''"), that equals 1'-3"
Note, cell F7 now contains a text string, but it's what you want.
RE: Numbers to Feet
=CONCATENATE(INT(F5),"' - ",12*(F5-INT(F5)),"''")
which only uses one extra cell, and it's still a text string.
RE: Numbers to Feet