+ Reply to Thread
Results 1 to 14 of 14

Convert decimal inches to fractional inches

  1. #1
    Forum Contributor
    Join Date
    02-25-2007
    Posts
    106

    Convert decimal inches to fractional inches

    Hello,

    Anyone know how to convert decimal inches to fractional inches?

    So if I entered a decimal in a cell, it would look like this:

    enter display
    .75 = 3/4"
    1 = 1"
    1.25 = 1 1/4"
    1.5 = 1 1/2"

  2. #2
    Forum Contributor
    Join Date
    12-05-2015
    Location
    Akron, OH
    MS-Off Ver
    15.0
    Posts
    424

    Re: Convert decimal inches to fractional inches

    You can right click on the cell and select "Format"
    Then, you can click on "Fraction" in the numbers tab
    Then you have a selection for various types

    Or you can do something like (applicable for cell A1): =INT(A1)&"' "&TEXT(12*(A1-INT(A1)),"# #/#")&CHAR(34) -- but that converts it to a text and gives you denominators other than multiples of two
    <---If my answer helped, please click *

  3. #3
    Forum Contributor
    Join Date
    02-25-2007
    Posts
    106

    Re: Convert decimal inches to fractional inches

    I tried the fraction format, but it will not give me the inches quotation marks.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Convert decimal inches to fractional inches

    Quote Originally Posted by Dowjd View Post
    I tried the fraction format, but it will not give me the inches quotation marks.
    Just format cells as Custom, #"''" ? /??
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Convert decimal inches to fractional inches

    Try the personalized format
    # ?/?\"

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Convert decimal inches to fractional inches

    Go back to the format then go to custom

    # ?/?\"
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  7. #7
    Forum Contributor
    Join Date
    02-25-2007
    Posts
    106

    Re: Convert decimal inches to fractional inches

    ChemistB, that kind of worked. Anything larger than a single digit works great, but if I input 1, 2, 3...etc it displays 1 " instead of 1". The inches quotation are very far out.
    Last edited by Dowjd; 01-08-2016 at 02:34 PM.

  8. #8
    Forum Contributor
    Join Date
    12-05-2015
    Location
    Akron, OH
    MS-Off Ver
    15.0
    Posts
    424

    Re: Convert decimal inches to fractional inches

    Dow,

    Unless the gurus know something I don't (about this -- they know A LOT), it looks like you'll have to deal with a text by modifying =INT(A1)&"' "&TEXT(12*(A1-INT(A1)),"# #/#")&CHAR(34) as-needed if you absolutely need the quotation mark to be closer

  9. #9
    Forum Contributor
    Join Date
    02-25-2007
    Posts
    106

    Re: Convert decimal inches to fractional inches

    Hey Joe

    It still didn't work right. It rounds up. 1.25 should display as 1 1/4", but it comes out 1' 3", but I fixed that. Also 1" comes out 1 0"

  10. #10
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Convert decimal inches to fractional inches

    Joe's right except I think your formula would be

    =IF(MOD(A1,1),IF(INT(A1), INT(A1) & " "&TEXT(MOD(A1,1),"?/?\"""),TEXT(MOD(A1,1),"?/?\""")),IF(INT(A1), INT(A1) & """",""))

  11. #11
    Forum Contributor
    Join Date
    02-25-2007
    Posts
    106

    Re: Convert decimal inches to fractional inches

    So I know there is a custom format, say if I enter:
    1, I get 1" custom format (#"''")
    or
    1.25, I get 1 1/4" custom format (#? ?/?"''")

    How would I create a custom format that combines the two formats?
    Last edited by Dowjd; 01-08-2016 at 04:24 PM.

  12. #12
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,809

    Re: Convert decimal inches to fractional inches

    Instead of ? (which hold spaces even if the digit is not shown), use #. # #/#\"

    One of my most frequently used help files: https://support.office.com/en-au/art...fab54be7f4#bm1 Under "include decimal places and significant digits, it describes the behavior of the 3 place holders -- 0, #, ?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  13. #13
    Forum Contributor
    Join Date
    02-25-2007
    Posts
    106

    Re: Convert decimal inches to fractional inches

    MrShorty. Thanks. That didn't work, but I did get it to work by deleting the period. # # #/#\"

    Success

    Thanks everyone.

  14. #14
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,809

    Re: Convert decimal inches to fractional inches

    Glad you were able to see past my inadvertent decimal point.

+ 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. [SOLVED] Convert feet/inches to decimal
    By dingy101 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 03-23-2017, 12:40 PM
  2. [SOLVED] How do I convert decimal inches to fractions in excel
    By JTZ in forum Excel General
    Replies: 7
    Last Post: 12-14-2016, 01:46 AM
  3. Convert feet and inches to inches
    By shernandez in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 11-16-2012, 05:41 PM
  4. [SOLVED] Convert feet and inches to just inches
    By mrr2 in forum Excel General
    Replies: 2
    Last Post: 06-09-2012, 11:57 AM
  5. Replies: 0
    Last Post: 05-18-2011, 02:32 PM
  6. Convert mm to fractional inches
    By adrian078 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-12-2008, 06:30 PM
  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
  8. How do i convert feet and inches to a decimal value?
    By go_chrisg in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-22-2005, 12:06 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