Best Combination for the Price

dclasen

New Member
Joined
Dec 4, 2012
Messages
21
I'm trying to determine a way (maybe without VBA) to find the best combination of product for the price.
It seems like this Knapsack formula I did some research on, but I was hoping for something in the existing formulas/solvers available standard in Excel. Any help is appreciated.

open
 
Is there a way to evaluate a first part and then solve?

As an option, after satisfying the amount of UI, the remaining (extra) UI can be used as DI, lowering the requirement.
If I select a Req'd (using SHG's idea) of 5UI, 16DI, 0P, 0AO, 4DO-R, 4DOTriac, the result is going to be Qty1 Type A and Qty 2 Type B.
Using remaining UI as DI means that I'd select Qty 1 each Type A and B.

It would be something like solving the UI first, then taking the extra and subtracting it from the DI requirement and then solving the rest.
 
Upvote 0

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
I think maybe I understand this now - Looks like I can make a bunch of buttons that each are a macro to a different solver-set kept somewhere else.
As I push each button then its working its own Req'd amount list based on the combinations and I solve the first resolution, calculate and then the second.
The restriction there is always need to run the whole thing in order.
Thanks for the help.
 
Upvote 0
if UIs can serve as DIs, then the number of DIs available could be calculated as DIsAvail + UIsAvail - UIsUsed.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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