+ Reply to Thread
Results 1 to 4 of 4

fractional display

  1. #1
    Registered User
    Join Date
    11-21-2007
    Location
    Canada
    Posts
    2

    Cool fractional display

    I need to be able to convert a decimal value to a fractional value. The accuracy of the display rounded up to the next 32nd, but I want the value simplified as well
    ie: .451 = 15/32 and 4/32 = 1/8

    pdelnet

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    =MROUND(A1, 1/32) and format as Fraction (up to 2 digits)

    Requires the Analysis ToolPak. To do it without, use

    =ROUND(A1*32, 0) / 32

  3. #3
    Registered User
    Join Date
    11-21-2007
    Location
    Canada
    Posts
    2
    =MROUND(A1, 1/32) and format as Fraction (up to 2 digits)

    Requires the Analysis ToolPak. To do it without, use

    =ROUND(A1*32, 0) / 32



    These do not do the round up to the next 1/32 value,

    I have used-

    =((ROUNDUP(((K17-INT(K17))*32),0))/32)+(INT(K17))

    there must be a much more elegant way.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Oh, you did say round UP, sorry.

    =ROUNDUP(A5*32, 0) / 32

+ 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