Optimising sumifs with solver

surfsoc

New Member
Joined
Sep 28, 2008
Messages
39
Hi,

I am using excel 2007 and am trying to optimise a SUMIFS equation using solver.

I am trying to optimise the following ratio:

SUMIFS(y_values,x_values,$G$2,x_values,$G$3) / COUNTIFS(x_values,$G$2,x_values,$G$3)

where $G$2 is =">="&F2 and $G$3 is ="<="&F3.

F2 and F3 are cells that I am asking solver to change. Solver can't find a different solution than what is already in the cells, but says that it has found a solution.

I suspect that it is not working because sumifs is not a linear functions.

Does anyone know a solution to how i might be able to optimise a sumifs statement? I have a spreadsheet with this problem in it if someone needs me to upload it (you'll have to remind me how to do this again though).

Thanks,

Surfsoc
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hi Surfsoc

If the Solver does not change the values that should be because it's a local minimum.

Try changing the initial values for the cells.

You usually know your problem and have an idea of what the result should be and may use it for initial value. In other cases, a table or a chart with input-output values may help.
 
Upvote 0

Forum statistics

Threads
1,224,509
Messages
6,179,192
Members
452,893
Latest member
denay

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