+ Reply to Thread
Results 1 to 3 of 3

Thread: using functions to round up to a specified number

  1. #1
    Valued Forum Contributor
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Excel 2010 / Excel 2000 & 2003 for some at work
    Posts
    213

    using functions to round up to a specified number

    Does anyone know if there is a way of using a formulas to round up to a specified number. To explain what I mean, in the manually written example we have products that come in cases but we sell as both cases and single units. What I want to do is set a maximum fill level for the singles when we transfer the stock from cases to singles.

    So to put it in terms of the table I need to round up the peak sales (column G) to the nearest multiple of the pack (column F) and then add on 1 multiple of the pack as a buffer stock for fluctuation in sales.

    For example in row 4: the peak sales is 16, the nearest multiple of the pack is 18 and adding 1 pack as buffer will give a Max fill of 24
    Attached Files Attached Files
    Last edited by WasWodge; 08-05-2010 at 04:23 PM.

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: using functions to round up to a specified number

    I *think* you're asking for:

    H4: =CEILING(G4,F4)+F4

  3. #3
    Valued Forum Contributor
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Excel 2010 / Excel 2000 & 2003 for some at work
    Posts
    213

    Re: using functions to round up to a specified number

    Yes that seems to be the one. I will now try to apply it at work tomorrow where there are various vlookup's but I don't anticipate any problems. The annoying thing is I did look at "ceiling" at work but didn't grasp it the way that it was being described, but you live and learn.Many thanks for your help as it wil save a lot of time as the proper spreadsheet contains over 300 products

+ 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.2.0