+ Reply to Thread
Results 1 to 4 of 4

Showing fractions using up to 64ths, but also simplifying?

  1. #1
    Registered User
    Join Date
    05-14-2010
    Location
    Missouri
    MS-Off Ver
    Excel 2007
    Posts
    15

    Showing fractions using up to 64ths, but also simplifying?

    So I want to put in a decimal, and then have it show me the closest number to the nearest 64th. I have found that I can set it to 16ths but that is not close enough, I want to be able to go all the way to 64ths. Not only that, it would not round anything in 16ths, it would show 8/16ths instead of 1/2. If I put in the exact decimal and set it to any fraction up to 2 digits, I can get my 64th that I want, but I want to be able to put in 0.501 and it say 1/2. Anyone know how to solve this?

    The file I included shows it going to the next fraction when it needed to stay on the 64th one or the next best 64th decimal one, and then simplify the fraction if possible.
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Showing fractions using up to 64ths, but also simplifying?

    Keep the formatting as you have it but use a formula in B2 to round to the nearest 1/64, i.e. in B2

    =ROUND(A2*64,0)/64

    ....which will work in any version of Excel...or for Excel 2007 or earlier versions with Analysis ToolPak installed you can use this formula

    =MROUND(A2,1/64)
    Last edited by daddylonglegs; 06-02-2010 at 08:30 PM.

  3. #3
    Registered User
    Join Date
    05-14-2010
    Location
    Missouri
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Showing fractions using up to 64ths, but also simplifying?

    Ah, Perfect! Thanks for your help!

  4. #4
    Registered User
    Join Date
    01-23-2016
    Location
    USA
    MS-Off Ver
    2007
    Posts
    1

    Re: Showing fractions using up to 64ths, but also simplifying?

    Quote Originally Posted by daddylonglegs View Post
    Keep the formatting as you have it but use a formula in B2 to round to the nearest 1/64, i.e. in B2

    =ROUND(A2*64,0)/64

    ....which will work in any version of Excel...or for Excel 2007 or earlier versions with Analysis ToolPak installed you can use this formula

    =MROUND(A2,1/64)
    Thanks! Exactly what i was looking for as well.

+ 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