+ Reply to Thread
Results 1 to 1 of 1

Display Rounded Imperial Feet with Fractional Inches and Approximation Indicator

  1. #1
    Registered User
    Join Date
    06-29-2011
    Location
    Fort Lauderdale
    MS-Off Ver
    Excel 2018
    Posts
    24

    Display Rounded Imperial Feet with Fractional Inches and Approximation Indicator

    I think others will find this helpful.

    I wrote these formulas to convert imperial inches (with decimal) to a nice display of feet with fractional inches (rounded to 8ths, 16ths or whatever).
    You can also optionally add an approximation indicator if the display calculates to a rounded approximation rather than the true measurement display.
    I chose to use the single-tilde when the display is slightly less than the source number and the double-tilde for displays that are greater than the source number.

    The formulas assume that A1 contains the denominator of the fractional inches you want to round to; e.g. 16 would be rounding to the 1/16th inch.
    It also assumes that B1 contains the original source value (in inches with a decimal) to convert and display, B1 can be any positive or negative number (with decimal value for the fractional inches).

    Format 1a: does not display zero feet or zero inches. e.g. 0", or 1/2", or 2', or 5' 3/8"

    Please Login or Register  to view this content.
    Format 1b: add the tilde/double-tilde approximation to 1a.

    Please Login or Register  to view this content.
    Format 2a: Displays zero feet, but does not display a zero between feet and inches. e.g. 0'-0", or 0' 1/2", or 2'-0", or 5' 3/8"

    Please Login or Register  to view this content.
    Format 2b: adds the tilde/double-tilde approximation to 2a.

    Please Login or Register  to view this content.
    Format 3a: Display zero feet and also zero inches. e.g. 0'-0", or 0'-0 1/2", or 2'-0", or 5'-0 3/8"

    Please Login or Register  to view this content.
    Format 3b: adds the tilde/double-tilde approximation to 3a.

    Please Login or Register  to view this content.
    Notes:

    This formula is a key building block to the more complex formulas above: MROUND(B1,1/$A$1*SIGN(B1))

    MROUND will round the value of B1 to the nearest 8th/16th or whatever you have entered into cell A1.
    Notice the multiplication of the SIGN(B1), this is required for MROUND to work with negative numbers.

    Cell B1 can also be hardcoded into the formulas if you don't need to change the rounding in the future. E.g. 8th or 16th of an inch is pretty typical.
    Last edited by theclockmaker; 01-25-2019 at 06:22 PM.

+ 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. [SOLVED] Convert decimal inches to fractional inches
    By Dowjd in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-08-2016, 04:48 PM
  4. Convert Decimal Feet to Feet and Inches
    By Surveyour in forum Excel General
    Replies: 6
    Last Post: 10-17-2013, 12:48 PM
  5. [SOLVED] display feet and inches
    By jkrager in forum Excel General
    Replies: 3
    Last Post: 10-19-2012, 11:20 AM
  6. Convert feet and inches to deimal feet.
    By okenter in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-28-2011, 02:43 AM
  7. [SOLVED] How do I display numbers as feet AND inches, as in x'x" ?
    By Orision in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-24-2006, 09:25 PM

Tags for this Thread

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