+ Reply to Thread
Results 1 to 3 of 3

Imperial / metric units

  1. #1
    Registered User
    Join Date
    05-07-2009
    Location
    Romania
    MS-Off Ver
    Excel 2003
    Posts
    11

    Imperial / metric units

    Can Excel work with imperial units ? (Standard, not using VBA)
    If yes how can I enter 1'-5 3/4" in a cell? (not using decimal feet)
    Can I set a cell to display a numeric value in Decimal/Engineering/Architectural ? (imperial working units)

    Thanks

  2. #2
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Imperial / metric units

    Assuming you always use the same format

    =LEFT(D3,FIND("'",D3)-1)*12+VALUE(LEFT((RIGHT(D3,LEN(D3)-FIND("-",D3))),LEN(RIGHT(D3,LEN(D3)-FIND("-",D3)))-1))

    will convert 1'-5 3/4" int 17.75

    =QUOTIENT(F3,12)&"'-"&TEXT(F3-(QUOTIENT(F3,12)*12),"# 0/0") & CHAR(34)

    will do the reverse

    note it uses ' to figure out where the feet are and - to figure out where the inches start and assumes it ends in " so make sure they are included or you will get an error

    Excel can display in various formats
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Imperial / metric units

    Hi,
    don't know if this is of help, but if for some reason you decide to enter a fraction in a cell without quote or double quote (or some other non numeric character) XL will think it's a date.
    To avoid this enter 0 then a space, then your fraction

+ 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