+ Reply to Thread
Results 1 to 17 of 17

Add Text prior to fraction

Hybrid View

  1. #1
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,423

    Re: Add Text prior to fraction

    It is still not clear to me what your smallest interval will be. Most rulers will be either 1/8 or 1/16, but I have seen 1/32 rulers. I am still inclined to use an MROUND() [or maybe CEILING() if you always want to round up] function MROUND() help file: https://support.office.com/en-us/art...b-d2d5b3baf427

    I am also not sure if you need the "approximately " to be a part of the text string not. Remember that number formatting can be used to display that kind of text, but it does not become a part of the underlying cell value.

    Assuming 1/8 inch precision and number formatting is acceptable for displaying the additional text, I would:
    1) Add a helper column with =MROUND(A2,1/8)
    2) Format this column as "approximately "# #/#\"

    Will that work for you?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  2. #2
    Registered User
    Join Date
    01-27-2014
    Location
    Orlando
    MS-Off Ver
    Excel 2016
    Posts
    49

    Re: Add Text prior to fraction

    Quote Originally Posted by MrShorty View Post
    It is still not clear to me what your smallest interval will be. Most rulers will be either 1/8 or 1/16, but I have seen 1/32 rulers. I am still inclined to use an MROUND() [or maybe CEILING() if you always want to round up] function MROUND() help file: https://support.office.com/en-us/art...b-d2d5b3baf427

    I am also not sure if you need the "approximately " to be a part of the text string not. Remember that number formatting can be used to display that kind of text, but it does not become a part of the underlying cell value.

    Assuming 1/8 inch precision and number formatting is acceptable for displaying the additional text, I would:
    1) Add a helper column with =MROUND(A2,1/8)
    2) Format this column as "approximately "# #/#\"

    Will that work for you?
    Thank you for your input sir. I will experiment with your provisions. As for measurement, if you go to a hardware store (USA), and pick up a 12" ruler, you will not see 32nds, you will see
    1/16 all the way to 15/16
    1/8 all the way to 7/8
    1/4 all the way to 3/4
    1/2
    1"

    These are the (common) measurements that the designers use in my industry. By use of (Approximately), this tells the customer exactly that.
    If an item is not (exactly) 3/8" and it's really 5/16", well it's (Approximate)
    Now if we can get those decimals to be EXACT, GREAT! I love it! But I can only work from the decimals provided, as you will see in
    the example sheet provided. If by placing text in the cell, along with the fraction, is not good practice, then what is the better
    solution? This information is going into a website, so once I have the correct formula, and it works, I then convert that cell to the value
    only, and import to web. Thus far, I have seen great progress from a few here, but the formulas provided do not yet conquer
    the fraction variations. Again, I will try yours to see if I can get better results.

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Add Text prior to fraction

    MrShorty's much simpler suggestion can be adapted to 1/16
    Quote Originally Posted by MrShorty View Post
    1) Add a helper column with =MROUND(A2,1/8)
    2) Format this column as "approximately "# #/#\"
    I did try this method previously, but using 1/128 as the accuracy level, which was still returning some denominators not fitting to your scale, I should have revisited this option when you told us that you only needed to go down to 1/16, had I done so, I would have reiterated MrShorty's post instead of revising my formula.

    Formula =MROUND(A2,1/16)
    Custom format "approximately -" # ##/##\"

    Gives the same results as the long formula that I provided.

    However, the long formula does not go to waste, there may be occasions when somebody needs fractions aligned to a specific scale where mround and formatting do not work as needed.

+ 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. Refinancing one fraction selling the other fraction in a context of variable price
    By General Patton in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-18-2017, 07:55 AM
  2. Replies: 1
    Last Post: 02-26-2015, 06:12 PM
  3. Converting Decimal to Fraction Text VBA
    By vbalearnerSF in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-27-2014, 02:38 PM
  4. Replies: 3
    Last Post: 09-04-2013, 01:56 AM
  5. Replies: 10
    Last Post: 06-11-2013, 06:11 PM
  6. Replies: 7
    Last Post: 12-17-2010, 04:23 PM
  7. convert fraction to text
    By adam2308 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-03-2009, 03:23 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