I did have som problem with your file as solver in an Scandinavian environment didn't did not work with your costs expressed as $4.00
I also modified your setup a bit as I setup the problem a simplex one.
Maximum chocolate is the driving force. You could change the total cost = 20 instead of my =< 20 it will not give you more chocolate but perhaps your mom will by happy as you saved her a dollar.
The only thing I'm not sure about are two fruits. Could they be the same or must it be different fruits?
If so you could sum the fruit range F5:H5 and set the sum to be "<=1" and do the same for range F6:H6 and range F7:H7 .
If you do change the setup you then need to add this line to the macro before the line "SolverSolve" line in order to add this constraint in the building of the solver macro.
Alf
Bookmarks