Quick, clean, and to the point

Round by bundle size

Excel formula: Round by bundle size
Generic formula 

To round up to the next bundle size, you can use the CEILING function which automatically rounds up away from zero.

In the example shown, we need a certain number of items, and the items come in specific bundle sizes. To calculate how many items are needed, taking into account the bundle size, the formula in D5 is:


The gist of this formula is that it figures out bundles needed, given items needed, and a specific bundle size.

For example, if you need 6 items, and the bundle size is 2, you'll need 3 bundles. If you need 3 items, and the bundle size is 5, you'll need 1 bundle (and you'll end up with 2 extra items).

First, we use the CEILING function get an item count needed, taking into account the bundle size.


The CEILING function is fully automatic. It will round a number up until it reaches a number evenly divisible by a given multiple (bundle in this case).

Finally, we divide the number provided by CEILING by the orignal bundle size.

The result is the the total number of bundles required.

Dave Bruns

Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.

Download 100+ Important Excel Functions

Get over 100 Excel Functions you should know in one handy PDF.