Is there an easy way to sort feet and inches?

figuare9

Board Regular
Joined
Oct 23, 2017
Messages
114
I'm trying to figure out how to easily sort feet and inches.

Let's say I have a column with only feet..

IE:

34'
355'
154'
1503'
14' 6"
10' 7"
50'



How could I sort this? I want to go greatest to least, and least to greatest. However, I'm having a hard time figuring this one out.. :( Any tips?

Trying to avoid any formulas, or converting it to a decimal or inches and then sorting.. Tips?
 

Eric W

MrExcel MVP
Joined
Aug 18, 2015
Messages
9,156
How are the numbers entered? If they are manually entered, you can just them as a fraction. If it's a whole number, like 34, then just enter 34 (no '). If it's a fraction, enter 14 space 6/12. You may want to put a custom format of "# ??.12" on that column. When you enter numbers that way, they are entered as numbers, and you can sort them. If those are really text values, manually entered or otherwise, you'd probably need a helper column to convert the values to numbers, then sort by that.
 

davesexcel

Well-known Member
Joined
Feb 26, 2006
Messages
782
If you use a helper column then you can use a formula then sort.

something like.

Code:
=(IFERROR(LEFT(A1,FIND("'",A1)-1)+MID(A1,FIND("'",A1)+1,2)/12,LEFT(A1,FIND("'",A1)-1)))*12
 

Forum statistics

Threads
1,085,376
Messages
5,383,289
Members
401,822
Latest member
rudzkien

Some videos you may like

This Week's Hot Topics

Top