+ Reply to Thread
Results 1 to 3 of 3

Convert feet and inches to deimal feet.

  1. #1
    Registered User
    Join Date
    06-27-2011
    Location
    Florida, USA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Convert feet and inches to deimal feet.

    Convert feet and inches to decimal feet.

    --------------------------------------------------------------------------------

    In column A1, I use for example: 6-11 (Text) and want to covert to decimal feet in column B1 (6.9166666666667).
    Have been working on this for a week! With no luck.
    6-11 is easy to type in a field and represents 6'-11"
    Thanks
    Last edited by okenter; 07-02-2011 at 10:41 PM.

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

    Re: Convert feet and inches to deimal feet.

    Hi Okenter, welcome to the forum.

    This should work for you:

    =LEFT(A1,FIND("-",A1)-1)+MID(A1,FIND("-",A1)+1,2)/12

    Hope that helps!

  3. #3
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Convert feet and inches to deimal feet.

    You might use
    =LEFT(SUBSTITUTE(A1,"-",REPT(" ",5)), 4) + RIGHT(SUBSTITUTE(A1,"-",REPT(" ",5)), 4) / 12

    there are 5 spaces in the new_text argument.
    Last edited by mikerickson; 06-28-2011 at 02:45 AM.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

+ 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