# Determining boxes per layer in Excel

I have what I thought would be easy but is not.  Can someone suggest a formula/fucntion to figure the following:

How many boxes that are X x Y inches can fit on a pallet that is XX x YY inches without over hanging.  I thought this would be easy by just dividing the areas of each and rounding down but it does not work correctly because you might have a 4 inch strip around the outside permiter that technically has enough area for another box BUT the box is constrained to its own dimensions.

So for example if I have a 12x12 inch box I know (using common sense) it would get 12 boxes (4x3) on a 48x45 inch pallet.
LVL 2
###### Who is Participating?

Author Commented:
I figured it out myself.  :)

0

Author Commented:
I figured out a formula myself after posting my question and not getting any responses.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.