Feet-inches number format

jlarson

New Member
Joined
May 2, 2002
Messages
5
Is it possible to define a custom number format to display lengths such as 6' 2"? I found a custom function on this site that allows me to display decimals in that manner, but I'd prefer to eliminate the functions, as I'm dealing with several thousand lines. Simple text formatting will give me the display I want, but I lose my numerical values (6' 10" sorts as less than 6' 2").
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Use custom format and enter
0"Ft".00"in."
This will allow you to enter feet and inches, but you will have to enter less than 10 inches with a leading zero. 10.06 for 10 ft 6 inches, 5.11 for 5 ft 11 inches. This will allow proper sorting. If you want the display to be 5'.06" then substitute a ' inside the double quotes for ft and two single ' inside the double quotes for in. You might also look at the DOLLARDE and DOLLARFR functions to assist in using your entires in calcualtion.
This message was edited by lenze on 2002-05-03 10:13
 
Upvote 0

Forum statistics

Threads
1,214,386
Messages
6,119,220
Members
448,876
Latest member
Solitario

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top