I am trying to get excel to automatically group a list of values into buckets with a maximum total.
Basically -- this is for a calculator for a lighting product, and each fixture has a different wattage, and I want excel to see the wattage of each fixture, and efficiently group the values onto drivers (transformers).
For instance, say these are the wattages currently in the list (the wattages and quantity of values will change based on the job being quoted):
24
55
18.5
44.4
20
31.5
47
17
And say for this, the maximum wattage per driver is 80 watts. If I were doing this manually, I would figure out how I could most efficiently group these values to stay within the 80-watt max. Is there a way to have excel do this calculation? It may not be as perfect or efficient as me doing it manually, but I am just trying to find the best excel alternative to use in this calculator.
I do not want to use VBA code for this. So please keep that in mind.
Let me know if you have any ideas, or if this is unclear and you have questions. I appreciate the help so much.
- Colby
Bookmarks