Is there an easy way to sort feet and inches?

figuare9

Board Regular
Joined
Oct 23, 2017
Messages
111
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
8,984
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
768
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,082,167
Messages
5,363,528
Members
400,747
Latest member
monty_gl

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top