Finding out Multiple scenarios and options based on set requirements and combinations of data set

mnty89

Board Regular
Joined
Apr 1, 2016
Messages
66
Example data below to explain a little further-

Basically what I need to do is figure out a macro or a formula column which will calculate out the possible outcomes based on the data set that will find the consolidated versions possible.

Maximum weight for this example is 20,000
Maximum volume will be 100
Maximum spaces would be 10

I need to use the data below to find out all of the possibilities based on these requirements that I could combine the "Loads" to make sure they fall under the maximum or meet it. I just added the remaining based on the original column, but if that's not needed that's fine as well.

Any ideas or has anyone done this in a similar way for another application?

I'm hoping for something I can apply to a real life scenario on a broader scale for something currently being done manually.


LoadWeightVolumeSpacesRemaining Weight (Max 20000)Remaining Volume (Max 100)Remaining Spaces (Max 10)
11000050510000505
2500015315000857
3110006069000404
4900040411000606
5300030117000709
65006119500949
7600025214000758
8800035412000656
97008819300922
109007519100935

<tbody>
</tbody>
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
I suggest you give us a sample of what exactly you mean by
I need to use the data below to find out all of the possibilities based on these requirements that I could combine the "Loads" to make sure they fall under the maximum or meet it. I just added the remaining based on the original column, but if that's not needed that's fine as well.
For example in Load 2, it currently has weight 5000, volume 15 and spaces 3.
So as I read your post, your maximum load has weigh 20000 or volume 100 or space 10.
It would depend on the characteristics of your "to be loaded Items" which would count against your maximum load parameters.
 
Upvote 0
Sorry- to clarify.. basically all of the list of "loads" are unique values where each row gives information on one specific load. The load column as a whole are individual ones which I need to get the combinations for the possibilities on to meet the requirements.

To compare it to current functionality I essentially need to use a solver type scenario but with a range not just a single targeted value and with three target constraints.

Or it could also be seen as the SUMMATCH addon but I would want it to output a list of the scenarios it gives, not just highlight them once they are identified, and also based on three constraints not just the one range.
 
Upvote 0
Looks like an Excel Solver problem to me.
 
Upvote 0
From my understanding solver only works to define to an exact goal, and with 200 variables. This would likely have much more than 200 (upwards into the thousands) and I would want all outcomes to have a range goal, not just one set value. The weights will be very erratic so unless it can define to a range of values it will not be beneficial since it will never add to a clean single value..

Any ideas?
 
Upvote 0
How many final outcomes do you expect? What would you do with the answer (let's say there's 2000 possible outcomes and you get those combinations)?
 
Upvote 0
In practice it will essentially be a list of a few thousand "loads" with unique weights, volumes, and spaces. The goal is to determine how many combined loads could be built within a min max range for each constraint of weight, volume and spaces.

Ideally I would like the outcome to be a list of the most "full" based on constraint values and no duplicates to be used within the output. So each load is only accounted for once in the outputted optimization of combinations...
 
Upvote 0

Forum statistics

Threads
1,215,509
Messages
6,125,215
Members
449,215
Latest member
texmansru47

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top