Thanks Thanks:  0
Likes Likes:  0
Results 1 to 5 of 5

Thread: How do I round up or down to nearest 5?

  1. #1
    Board Regular Barry Katcher's Avatar
    Join Date
    Feb 2002
    Location
    Dog Beach, Florida. Yeaahh!
    Posts
    4,053
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    This must be simple, but with ROUNDUP and ROUNDDOWN, I can round up or down to nearest 10 or multiple of 10 by using -1, -2, -3 etc. as the second argument.

    But how do I round up or down to the nearest 5? For example, 862 to 860 and 863 to 865?

    To the nearest 50? 1210 to 1200 and 1230 to 1250?

    Thanx in advanx.

  2. #2
    New Member
    Join Date
    Feb 2002
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    see help for MROUND.
    Should do the trick!
    mb
    NOTE: If I recall, you may have to install this formula from disk, isn't part of standard install...

  3. #3
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    83,653
    Post Thanks / Like
    Mentioned
    33 Post(s)
    Tagged
    6 Thread(s)

    Default

    On 2002-03-13 11:52, Barry Katcher wrote:
    This must be simple, but with ROUNDUP and ROUNDDOWN, I can round up or down to nearest 10 or multiple of 10 by using -1, -2, -3 etc. as the second argument.

    But how do I round up or down to the nearest 5? For example, 862 to 860 and 863 to 865?

    To the nearest 50? 1210 to 1200 and 1230 to 1250?

    Thanx in advanx.
    =ROUND(A1/5,0)*5

    MROUND can do the same.

  4. #4
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Austin, Texas USA
    Posts
    11,654
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-03-13 11:52, Barry Katcher wrote:
    This must be simple, but with ROUNDUP and ROUNDDOWN, I can round up or down to nearest 10 or multiple of 10 by using -1, -2, -3 etc. as the second argument.

    But how do I round up or down to the nearest 5? For example, 862 to 860 and 863 to 865?

    To the nearest 50? 1210 to 1200 and 1230 to 1250?

    Thanx in advanx.
    A Tip: There's a "See Also" link in the upper left hand corner of the Excel Help topics for "ROUNDUP worksheet function" and "ROUNDDOWN worksheet function". This would have steered you to MROUND.

    [ This Message was edited by: Mark W. on 2002-03-13 11:59 ]

  5. #5
    New Member
    Join Date
    Aug 2014
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: How do I round up or down to nearest 5?

    Quote Originally Posted by Aladin Akyurek View Post
    =ROUND(A1/5,0)*5

    MROUND can do the same.
    The first option is best... the disadvantage of MROUND is that it doesn't work when you round a negative number.

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •