Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Cell formatting
How do I format a cell for feet-inches, where the inches may be whole number with a fraction? Like 9'-7 3/8" Dick -- rcolmansr60 ------------------------------------------------------------------------ rcolmansr60's Profile: http://www.excelforum.com/member.php...o&userid=26731 View this thread: http://www.excelforum.com/showthread...hreadid=399867 |
#2
|
|||
|
|||
Let's say that cell A1 contains a length in feet: 12.1 then in cell B1 put:
=INT(A1)&"' "&INT(12*(A1-INT(A1)))&""" "&TEXT(MOD(12*(A1-INT(A1)),1),"##/##") which will display as 12" 1" 1/5 If you need the reverse, put the feet and inches into separate cells to make the math easier -- Gary's Student "rcolmansr60" wrote: How do I format a cell for feet-inches, where the inches may be whole number with a fraction? Like 9'-7 3/8" Dick -- rcolmansr60 ------------------------------------------------------------------------ rcolmansr60's Profile: http://www.excelforum.com/member.php...o&userid=26731 View this thread: http://www.excelforum.com/showthread...hreadid=399867 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Conditional formatting a full row triggered by a single cell reference... | Excel Worksheet Functions | |||
cell color index comparison | New Users to Excel | |||
up to 7 functions? | Excel Worksheet Functions | |||
Formatting dates in the future | Excel Worksheet Functions | |||
Cell Formatting | Excel Discussion (Misc queries) |