Hey all:
I am not sure if this will be a formula or maybe it is VBA which is something I'm not too proficient in, so please let me know.
I have two different types of trucks.
Truck Type A rents for $325 and holds 75 panels
Truck Type B rents for $450 and holds 150 panels
I want a formula that will choose the cheapest combination of trucks up to 10,000 panels
So if we have 75 panels it will choose Truck A
If we have 76 panels it will choose one Truck B
If we have 150 panels it will choose one Truck B
If we have 151 panels it will choose one Truck A and one Truck B
and so forth up until we reach 10,000 panels
I could create a whole table I suppose and reference that with an if or lookup option but I am wondering if there is a cleaner/easier/less time consuming way to do this
Thanks for any and all suggestions
Bookmarks