+ Reply to Thread
Results 1 to 5 of 5

Round to nearest 5

  1. #1
    Registered User
    Join Date
    12-10-2007
    Location
    Trondheim, Norway
    Posts
    89

    Round to nearest 5

    Hi, cant find a formula that round to nearest 5. Just rounddown and round up. I. e if the value is from 130,01 - 132,49 it will be 130. If the value is 132,50 - to 134,99 it will be 135.

    Thanks!

    Elad
    Norway

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Round to nearest 5

    Hi Elad,

    If I go through with your descripton, you need round to nearest 500 and not 5.
    Use following formula to obtain the desired result:-

    =(MROUND(C11,500))/100

    where cell c11 contains your values.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    11-03-2011
    Location
    Shelton, CT
    MS-Off Ver
    Excel 2010
    Posts
    67

    Re: Round to nearest 5

    Hi, Elad,

    MROUND is the best function.... =MROUND(A1,5) , that is taking into account your "," is your decimal point.

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

    Re: Round to nearest 5

    Note that MROUND is an add-in function in Excel 2003 and earlier excel versions (it's part of Analysis ToolPak), so if you can't use that add-in or you don't want to you can use a modified version of ROUND, i.e.

    =ROUND(A1/5,0)*5
    Audere est facere

  5. #5
    Registered User
    Join Date
    12-10-2007
    Location
    Trondheim, Norway
    Posts
    89

    Re: Round to nearest 5

    Thanks everyone! It all works fine

    Elad
    Norway

+ 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