Hey guys, new to the forum. I have a small project I'm working on for work. We order different beverage cartons through a supplier but they charge us a partial case fee if we don't order full cases. We have two different size units. 8 units fills up a case. The two sizes are 1 or 2. I programmed a formula that calculates what I need to order on a weekly basis but it typically is a few units off of being a full case (i.e. 6 units needed OR 13 units needed, etc.) I have conditional formatting to let me know that it's in increments of 8.
My question is this:
Based on the rank of each beverage, is there a way to add beverages automatically (either 1 or 2 unit cartons) to get the final total in increments of 8? If the unit count is at 15 but a 2-unit beverage is the highest rank cartridge that qualifies to fill a case, I need to skip it and add the highest ranked 1-unit cartridge instead so that it's an even 16. Any reference or help with the formula is very much appreciated.
Bookmarks