+ Reply to Thread
Results 1 to 8 of 8

Need help converting Feet and inches to CM.....?

  1. #1
    Registered User
    Join Date
    06-18-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    13

    Need help converting Feet and inches to CM.....?

    I have searched and find some threads on the topic but I guess we use a different feet and inches format than othere do. Out format is as follows....

    3'-4 7/16"

    When no feet we use....

    0'-4 7/16"

    If only fraction of an inch are used we use...

    3'-0 7/16"

    Any help....?

    Thank you
    Brian

  2. #2
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Need help converting Feet and inches to CM.....?

    Hi Brian,

    I am sure there's an easier way than this, but it works

    Assuming the measurement you want to convert is in cell A1, enter this in your output cell:

    =CONVERT(LEFT(A1,FIND("'",A1)-1)*12+MID(A1,FIND("-",A1)+1,FIND(" ",A1)-FIND("-",A1)-1)+(MID(A1,FIND(" ",A1)+1,FIND("/",A1)-FIND(" ",A1)-1)/MID(A1,FIND("/",A1)+1,FIND(CHAR(34),A1)-FIND("/",A1)-1)),"in","cm")

    Et voila!

    EDIT: Attachment included now.
    Attached Files Attached Files
    If I've been of help, please hit the star

  3. #3
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Need help converting Feet and inches to CM.....?

    =CONVERT(LEFT(A1,FIND("'",A1)-1)*12+SUBSTITUTE(MID(A1,FIND("-",A1)+1,9),"""",),"in","cm")

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Need help converting Feet and inches to CM.....?

    Another way:

    Please Login or Register  to view this content.
    In B1 and down,

    =2.54*(12*LEFT(A1,FIND("'",A1)-1)+SUBSTITUTE(MID(A1,FIND("-", A1)+1,99),"""", ""))


    EDIT: Well, I'd say those are pretty similar ...
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Need help converting Feet and inches to CM.....?

    See! Far better than mine

  6. #6
    Registered User
    Join Date
    06-18-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Need help converting Feet and inches to CM.....?

    Thank Ya'll very much.....Now is there an easy way for this function to read the cell to it's left instead of always A1.....? There are about 400 cells in a column I need to convert.

    Brian

  7. #7
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Need help converting Feet and inches to CM.....?

    Paste the formula in the first row of the column to the right of your current measurements and change each instance of A1 to the relevant cell. So if your first measurement is in E2, paste the formula in F2 and change all the A1's to E2.
    Then just copy it down and you're done.

  8. #8
    Registered User
    Join Date
    06-18-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Need help converting Feet and inches to CM.....?

    I figured it out.....Thanx a million.

    Brian

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1