+ Reply to Thread
Results 1 to 5 of 5

Custom Round Up Formula

  1. #1
    Forum Contributor
    Join Date
    07-02-2008
    Location
    Utah
    Posts
    171

    Custom Round Up Formula

    Hi,

    I need a formula that will round a value up to the nearest multiple of 70.

    For example, if cell A1 contains 59 then cell B1 would have a formula that rounded it up to 70. If cell A2 contains 139, then cell B2 would contain a formula that rounded it up to 140.

    Here is a table showing what I am trying to do:
    Values 1-70, then return 70
    Values 71-141, then return 141
    Values 142-212, then return 212
    Values 213-283, then return 283
    ...

    You will notice that there are only 69 values between 1-70, while all the other ranges contain 70 values.

    Any help you can provide would be fantastic. Thank you!
    -John
    Last edited by John Bates; 04-25-2011 at 05:23 PM. Reason: SOLVED

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Custom Round Up Formula

    I was going to say
    =CEILING(A1,70)

    BUT didn't read the question properly
    Too Much Chocolate!
    Last edited by Cutter; 04-25-2011 at 05:21 PM.

  3. #3
    Forum Contributor
    Join Date
    07-02-2008
    Location
    Utah
    Posts
    171

    Re: Custom Round Up Formula

    Works perfect!! Thank you! I've never used that function before in Excel.

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Custom Round Up Formula

    Well I was going to say that was what you wanted based on your question but the samples you gave don't correspond to the question.

    But glad it works for you!

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Custom Round Up Formula

    try
    =IF(D1<=70,CEILING(D1,70),CEILING(D1+1,71)-1)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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