ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Multiple or Variable cell references in Solver (Excel 97) (https://www.excelbanter.com/excel-worksheet-functions/71566-multiple-variable-cell-references-solver-excel-97-a.html)

Coreyhotlin

Multiple or Variable cell references in Solver (Excel 97)
 
I'm using solver to find the optimal price by returning a margin of 0.
Because I need to repeat this for several hundred prices, I have been trying
to use either an unfixed target cell reference, or alternatively use a range
of target cells (e.g. a column). It won't let me do either of these. Is this
something that is addressed in later versions of Excel, or is there another
solution you can suggest?

bpeltzer

Multiple or Variable cell references in Solver (Excel 97)
 
If you need a range of cells all to wind up with a value of 0, you could
create a helper column equal to the absolute value of a real target
(=abs(a1), for instance), create one cell that's the sum, and tell solver to
force that cell to 0.

"Coreyhotlin" wrote:

I'm using solver to find the optimal price by returning a margin of 0.
Because I need to repeat this for several hundred prices, I have been trying
to use either an unfixed target cell reference, or alternatively use a range
of target cells (e.g. a column). It won't let me do either of these. Is this
something that is addressed in later versions of Excel, or is there another
solution you can suggest?



All times are GMT +1. The time now is 09:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com