+ Reply to Thread
Results 1 to 5 of 5

How do i convert feet and inches to a decimal value?

  1. #1
    go_chrisg
    Guest

    How do i convert feet and inches to a decimal value?

    I have an assignment that shows me this equation but it doesnt seem to
    work,
    =LEFT(A1,FIND("",A1)-1)+((MID(A1,FIND("",A1)+1,LEN(A1)-FIND("",A1)-1))/12)

  2. #2
    IC
    Guest

    Re: How do i convert feet and inches to a decimal value?


    "go_chrisg" <[email protected]> wrote in message
    news:[email protected]...
    > I have an assignment that shows me this equation but it doesnt seem to
    > work,
    > =LEFT(A1,FIND("",A1)-1)+((MID(A1,FIND("",A1)+1,LEN(A1)-FIND("",A1)-1))/12)


    Chris

    It's close, but not quite right. Firstly I assume A1 is in the format
    ft<space>in. Your formula needs to look for the space, so you need to add a
    space between all 3 instances of "". Secondly, the final "find" argument is
    wrong. As it stands, it will only pick up the first digit after the space
    for the inches. Deleting the -1 from after the final A1 will cure this.

    Ian



  3. #3
    go_chrisg
    Guest

    Re: How do i convert feet and inches to a decimal value?

    hmmmmm it seem i still am hving problems....heres the corrections to it
    =LEFT(A37,FIND(" ",A37)-1)+((MID(A37,FIND(" ",A37)+1,LEN(A37)-FIND("
    ",A37))/12))

    "IC" wrote:

    >
    > "go_chrisg" <[email protected]> wrote in message
    > news:[email protected]...
    > > I have an assignment that shows me this equation but it doesnt seem to
    > > work,
    > > =LEFT(A1,FIND("",A1)-1)+((MID(A1,FIND("",A1)+1,LEN(A1)-FIND("",A1)-1))/12)

    >
    > Chris
    >
    > It's close, but not quite right. Firstly I assume A1 is in the format
    > ft<space>in. Your formula needs to look for the space, so you need to add a
    > space between all 3 instances of "". Secondly, the final "find" argument is
    > wrong. As it stands, it will only pick up the first digit after the space
    > for the inches. Deleting the -1 from after the final A1 will cure this.
    >
    > Ian
    >
    >
    >


  4. #4
    Biff
    Guest

    Re: How do i convert feet and inches to a decimal value?

    Hi!

    Try this:

    A1 = 3<space>6 meaning 3'6"

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

    Returns 3.5

    Biff

    "go_chrisg" <[email protected]> wrote in message
    news:[email protected]...
    > hmmmmm it seem i still am hving problems....heres the corrections to it
    > =LEFT(A37,FIND(" ",A37)-1)+((MID(A37,FIND(" ",A37)+1,LEN(A37)-FIND("
    > ",A37))/12))
    >
    > "IC" wrote:
    >
    >>
    >> "go_chrisg" <[email protected]> wrote in message
    >> news:[email protected]...
    >> > I have an assignment that shows me this equation but it doesnt seem to
    >> > work,
    >> > =LEFT(A1,FIND("",A1)-1)+((MID(A1,FIND("",A1)+1,LEN(A1)-FIND("",A1)-1))/12)

    >>
    >> Chris
    >>
    >> It's close, but not quite right. Firstly I assume A1 is in the format
    >> ft<space>in. Your formula needs to look for the space, so you need to add
    >> a
    >> space between all 3 instances of "". Secondly, the final "find" argument
    >> is
    >> wrong. As it stands, it will only pick up the first digit after the space
    >> for the inches. Deleting the -1 from after the final A1 will cure this.
    >>
    >> Ian
    >>
    >>
    >>




  5. #5
    IC
    Guest

    Re: How do i convert feet and inches to a decimal value?


    "go_chrisg" <[email protected]> wrote in message
    news:[email protected]...
    > hmmmmm it seem i still am hving problems....heres the corrections to it
    > =LEFT(A37,FIND(" ",A37)-1)+((MID(A37,FIND(" ",A37)+1,LEN(A37)-FIND("
    > ",A37))/12))


    .... which is exactly what I suggested, except the change of cell reference
    from A1 to A37 (which I couldn't have guessed from your original post).

    Anyway, I'm glad it's sorted.

    Ian



+ 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