+ Reply to Thread
Results 1 to 2 of 2

How do I set a cell format for Feet and Inches? i.e. 3'-10 1/2"

  1. #1
    JB
    Guest

    How do I set a cell format for Feet and Inches? i.e. 3'-10 1/2"

    How do I set a format in cells to display feet and inches as follows?

    3'-10 1/2"

    or

    3-10 1/2

  2. #2
    Gary''s Student
    Guest

    RE: How do I set a cell format for Feet and Inches? i.e. 3'-10 1/2"

    Let's say that cell A1 contains a length in feet: 12.1 then in cell B1 put:

    =INT(A1)&"' "&INT(12*(A1-INT(A1)))&""" "&TEXT(MOD(12*(A1-INT(A1)),1),"##/##")

    which will display as 12" 1" 1/5

    If you need the reverse, put the feet and inches into separate cells to make
    the math easier

    --
    Gary''s Student


    "JB" wrote:

    > How do I set a format in cells to display feet and inches as follows?
    >
    > 3'-10 1/2"
    >
    > or
    >
    > 3-10 1/2


+ 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