+ Reply to Thread
Results 1 to 8 of 8

Convert inches to feet and inches (indirect function).

  1. #1
    Registered User
    Join Date
    11-13-2008
    Location
    Colorado
    Posts
    89

    Convert inches to feet and inches (indirect function).

    So I have 5.8 ft in one column (a1) and in b1 I want the height converted to show 5' 9.6"
    I think it's an indirect function?

    Thanks!

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Convert inches to feet and inches (indirect function).

    I don't know why you think it is an INDIRECT function - that is used for a totally different purpose.

    Assuming you have 5.8 ft in cell A5, you can use this in B5:

    =INT(LEFT(A5,FIND(" ",A5)-1))&"' "&TEXT(MOD(LEFT(A5,FIND(" ",A5)-1),1)*12,"0.0")&CHAR(34)

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    11-13-2008
    Location
    Colorado
    Posts
    89

    Re: Convert inches to feet and inches (indirect function).

    I always get the offset, indirect and other text functions mixed up!
    The data will have only 5.8 as the number with no units. The function you provided only works if you have a space after the units and then units.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Convert inches to feet and inches (indirect function).

    Well, that is what you put in your first post. Are you saying that you just have the number 5.8 in the cell ?

    Pete

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Convert inches to feet and inches (indirect function).

    I see that you are saying that. Use this simpler formula in B5 instead:

    =INT(A5)&"' "&TEXT(MOD(A5,1)*12,"0.0")&CHAR(34)

    Hope this helps.

    Pete

  6. #6
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Convert inches to feet and inches (indirect function).

    Another option, if you would like exact inches to display without decimals (for example 5.5 to be 5' 6"):
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If you always want the first decimal (so 5' 6.0" for 5.5), ignore me and use Pete's formula .
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  7. #7
    Registered User
    Join Date
    11-13-2008
    Location
    Colorado
    Posts
    89

    Re: Convert inches to feet and inches (indirect function).

    That works sir...THANKS!

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Convert inches to feet and inches (indirect function).

    You're welcome - glad to help.

    You can also show your appreciation by clicking on the "star" icon on the left hand side below any post that has helped you.

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Convert Feet and Inches (Fractions) to Decimal Feet
    By kellser in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-29-2022, 10:15 AM
  2. [SOLVED] Convert feet, inches, fractions to inches and decimals
    By bjohnsonac in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-03-2021, 12:08 PM
  3. Converting Feet & Inches to Decimal Inches
    By knavarro01 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-29-2016, 02:50 PM
  4. Convert inches to feet and inches
    By emkramp in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-30-2013, 10:39 AM
  5. Convert feet and inches to inches
    By shernandez in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 11-16-2012, 05:41 PM
  6. [SOLVED] Convert feet and inches to just inches
    By mrr2 in forum Excel General
    Replies: 2
    Last Post: 06-09-2012, 11:57 AM
  7. [SOLVED] is there a macro that will convert from inches to feet and inches
    By cable guy in forum Excel General
    Replies: 1
    Last Post: 06-20-2005, 03:05 PM

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