+ Reply to Thread
Results 1 to 3 of 3

Round X.50 and less down, X.51 and greater up

  1. #1
    Registered User
    Join Date
    03-30-2004
    Posts
    31

    Round X.50 and less down, X.51 and greater up

    Is there a ROUND function that I can use that would round numbers ending in the following down?

    .08
    .17
    .25
    .33
    .42
    .50

    Any other fraction greater than or equal to .51 would be rounded UP.

    TIA

  2. #2
    Elkar
    Guest

    RE: Round X.50 and less down, X.51 and greater up

    Try this:

    =IF(MOD(A1,1)>0.5,ROUNDUP(A1,0),ROUNDDOWN(A1,0))

    HTH,
    Elkar

    "BigDave" wrote:

    >
    > Is there a ROUND function that I can use that would round numbers ending
    > in the following down?
    >
    > .08
    > .17
    > .25
    > .33
    > .42
    > .50
    >
    > Any other fraction greater than or equal to .51 would be rounded UP.
    >
    > TIA
    >
    >
    > --
    > BigDave
    > ------------------------------------------------------------------------
    > BigDave's Profile: http://www.excelforum.com/member.php...fo&userid=7741
    > View this thread: http://www.excelforum.com/showthread...hreadid=498540
    >
    >


  3. #3
    Pete
    Guest

    Re: Round X.50 and less down, X.51 and greater up

    I'm a bit confused - is your list meant to be of decimals?

    If so, you can use the ROUND( ) function to do this, by subtracting
    0.01 from your number, e.g.:

    =ROUND(your_number - 0.01,0)

    I assume you want the numbers rounded to integers.

    Pete


+ 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