+ Reply to Thread
Results 1 to 26 of 26

Convert feet and inches to inches

  1. #1
    Registered User
    Join Date
    07-08-2009
    Location
    San Antonio
    MS-Off Ver
    Excel 2007
    Posts
    11

    Convert feet and inches to inches

    In column A1, I have 12'-5 (general) and want to covert to total inches (65). I have tried several formula's but to nothing seems to work. Do I need to set the solution column to specific type (i.e general) or am I missing something :-( ...

    Tried : =(1*(LEFT(A1,FIND("-",A1)-1)*12+MID(A1,FIND("-",A1)+1,2)))+IF(LEN(A1)=LEN(SUBSTITUTE(A1,"1/2",""))

    and nothing happened?
    Last edited by shernandez; 07-08-2009 at 11:58 AM.

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

    Re: Convert feet and inches to inches

    Welcome to the forum.

    =LEFT(A1, FIND("'", A1)-1)*12 + MID(A1, FIND("-", A1)+1, 2)
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    07-08-2009
    Location
    San Antonio
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Convert feet and inches to inches

    I placed your formula in cloumn b1 and it has an error .. any other suggestions

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

    Re: Convert feet and inches to inches

    Yes -- post a workbook.

  5. #5
    Registered User
    Join Date
    07-08-2009
    Location
    San Antonio
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Convert feet and inches to inches

    Thank You ... I attached the sample excel worksheet
    Attached Files Attached Files

  6. #6
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Convert feet and inches to inches

    If you put SHG's formula in B1 you get an error because A1 has the word "Length" in it, not a measurement. Try putting it in B2 and adjust all of the references of A1 to A2. Once you do that the formula should work and you can fill it down column B as far as necessary.

    =LEFT(A2, FIND("'", A2)-1)*12 + MID(A2, FIND("-", A2)+1, 2)

  7. #7
    Registered User
    Join Date
    07-08-2009
    Location
    San Antonio
    MS-Off Ver
    Excel 2007
    Posts
    11

    Red face Re: Convert feet and inches to inches

    I know that this seems simple ... but here is what I get (see attachment)

  8. #8
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Convert feet and inches to inches

    No attachment...

  9. #9
    Registered User
    Join Date
    07-08-2009
    Location
    San Antonio
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Convert feet and inches to inches

    Here it is ... Thanks
    Attached Images Attached Images

  10. #10
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Convert feet and inches to inches

    Try this formula without the spaces:

    =LEFT(A2,FIND("'",A2)-1)*12+MID(A2,FIND("-",A2)+1,2)

    If that doesn't work, are you using a non-english version of Excel? If so, you need to replace the commas with semi-colons:

    =LEFT(A2;FIND("'";A2)-1)*12+MID(A2;FIND("-";A2)+1;2)

    Also, in non-english versions of Excel, LEFT/MID/FIND functions may be called something else.

    If that still doesn't work, try uploading your spreadsheet, not a picture of the spreadsheet.

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

    Re: Convert feet and inches to inches

    Try copying the formula directly from the post. You've mis-entered it.

  12. #12
    Registered User
    Join Date
    07-08-2009
    Location
    San Antonio
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Convert feet and inches to inches

    Attached is my test workbook. This is an english version.
    Attached Files Attached Files

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

    Re: Convert feet and inches to inches

    See attached.
    Attached Files Attached Files

  14. #14
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,769

    Re: Convert feet and inches to inches

    I'd suggest one small change, a 3 instead of a 2 at the end, i.e.

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

    This will ensure that values like 12'- 11 are correctly converted

  15. #15
    Registered User
    Join Date
    07-08-2009
    Location
    San Antonio
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Convert feet and inches to inches

    I tried the formula and excel rejects it! I did break the formula down (looks good) but to no avail ... Any suggestions? I posted the error on a previous thread.
    Attached Files Attached Files

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

    Re: Convert feet and inches to inches

    There no formula in your workbook.

  17. #17
    Registered User
    Join Date
    07-08-2009
    Location
    San Antonio
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Convert feet and inches to inches

    The workbook would not let me save it because it is not working (placed it in A2).

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

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

    Re: Convert feet and inches to inches

    Did you look at the example in post#13?

  19. #19
    Registered User
    Join Date
    07-08-2009
    Location
    San Antonio
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Convert feet and inches to inches

    yes ... same results (still having problems)

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

    Re: Convert feet and inches to inches

    If you use a non-English version of Excel, did you try changing the commas to semicolons?

  21. #21
    Registered User
    Join Date
    07-08-2009
    Location
    San Antonio
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Convert feet and inches to inches

    It is an english version

  22. #22
    Registered User
    Join Date
    07-08-2009
    Location
    San Antonio
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Convert feet and inches to inches

    Hi ... Did you get a chance to test the formula on the sample worksheet I attached ... Thank you

  23. #23
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,769

    Re: Convert feet and inches to inches

    see attached.....in B1 copied down
    Attached Files Attached Files

  24. #24
    Registered User
    Join Date
    06-17-2012
    Location
    Dubai, UAE
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Convert feet and inches to inches

    I just registered to say ... Thank you, it was very helpful to me... I use it to convert min to sec ... It work good.

  25. #25
    Registered User
    Join Date
    11-16-2012
    Location
    Kathmandu, Nepal
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Convert feet and inches to inches

    how to convert 4.11 Feet (4 Feet & 11 Inches) to 59 inches...........

  26. #26
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Convert feet and inches to inches

    Welcome to the Forum Rupak007, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.

+ 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