excelexcel-formula

Converting Feet-Inches to Inches Excel


Hi I have a large excel spreadsheet which contains heights of different athletes in the form of

6' 4.25"
6' 2.75"

I am stuck on trying to find a single formula that can convert all of these heights to strictly inches.

Any help would be greatly appreciated.


Solution

  • Because these are string text and not actual numbers we need to parse the data. The following will grab the parts of the string and convert to the number:

    =LEFT(A1, FIND("'",A1)-1)*12 + MID(A1,FIND("'",A1)+1,LEN(A1)-FIND("'",A1)-1)
    

    enter image description here