+ Reply to Thread
Results 1 to 5 of 5

Round whole numbers up and down

  1. #1
    Registered User
    Join Date
    03-21-2005
    Location
    Illinois
    MS-Off Ver
    excel 2007
    Posts
    34

    Round whole numbers up and down

    I have a cell that has a whole number.I want round it to the nearest muliple of 5.
    Examples:
    231 round down to 230
    232 round down to 230
    233 round up to 235
    234 round up to 235
    235 = 235
    236 round down to 235
    237 round down to 235
    238 round up to 240
    239 round up to 240
    240 =240
    and so on
    Is there a formula to do this. Ceiling and Floor does not work.
    Thanks for any help
    Joe

  2. #2
    Registered User
    Join Date
    03-21-2005
    Location
    Illinois
    MS-Off Ver
    excel 2007
    Posts
    34
    Please disregard the post. I found my answer in a previous post. When I did a search, I couldn't find it. I found my answer by luck on page 2. T
    Thanks Joe

  3. #3
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    Try using MROUND, as such:

    =MROUND(A1,5)

    does this work for you?

    Bruce
    Bruce
    The older I get, the better I used to be.
    USA

  4. #4
    Bob Phillips
    Guest

    Re: Round whole numbers up and down

    CEILING and FLOOR DO work

    =FLOOR(232,10) - answer 230

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "JoeBed" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a cell that has a whole number.I want round it to the nearest
    > muliple of 5.
    > Examples:
    > 231 round down to 230
    > 232 round down to 230
    > 233 round up to 235
    > 234 round up to 235
    > 235 = 235
    > 236 round down to 235
    > 237 round down to 235
    > 238 round up to 240
    > 239 round up to 240
    > 240 =240
    > and so on
    > Is there a formula to do this. Ceiling and Floor does not work.
    > Thanks for any help
    > Joe
    >
    >
    > --
    > JoeBed
    > ------------------------------------------------------------------------
    > JoeBed's Profile:

    http://www.excelforum.com/member.php...o&userid=21368
    > View this thread: http://www.excelforum.com/showthread...hreadid=384539
    >




  5. #5
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    Quote Originally Posted by JoeBed
    Please disregard the post. I found my answer in a previous post. When I did a search, I couldn't find it. I found my answer by luck on page 2. T
    Thanks Joe
    Could your share your findings for others that read your thread?

    Thanks,

+ 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