LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 144
Default Issue with Solver

Thanks for your help Dana.

--
Robert


"Dana DeLouis" wrote:

"Valueof" is set to -- in one case it works, in the other it
doesn't...doesn't make sense as to why this would be.


Hi. The "Value of" is expecting a number.

ValueOf:="$AL$1", _

is simply setting it to a string "$AL$1" , and solver does not see this as
a value "From AL1"

ValueOf:=Range("AL1").Value, _

This takes the value in AL1, and places it into solver. This should work.

If you record a macro while doing a simple Solver example, you will notice
that you can not place a Cell Address (A stirng like A1) in the "Value
of" box. This is by design to prevent Solver from going around in
circles. You need to place a value here.

What is the "trace precedence" key? I looked in Solver and then googled

it
but didn't find anything.


This is not part of Solver, but a feature of an Excel worksheet.
It is a button you can find on the formula auditing toolbar. (On the
Formula Tab in Excel 2007)
You can select any cell, and select Trace Dependent / Precedent and see
which cells are related to the selected cell in question.
(You can keep clicking the button to keep going up/down levels.)

--
HTH :)
Dana DeLouis


"robs3131" wrote in message
...
Cell AL1 is a constant -- it does not change as the results change.

You'll
notice that in both examples from my most recent post, cell AL1 is the

what
"Valueof" is set to -- in one case it works, in the other it
doesn't...doesn't make sense as to why this would be.

What is the "trace precedence" key? I looked in Solver and then googled

it
but didn't find anything.

Thanks for your help,

--
Robert


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Solver Update Issue DtTall Excel Discussion (Misc queries) 1 March 13th 07 01:49 PM
Solver Update Issue DtTall Excel Worksheet Functions 1 March 13th 07 01:49 PM
excel 2000 post service pack 3 hotfix - correct an issue with solver with VBA Graham Whitehead Excel Programming 0 November 10th 06 03:50 PM
Interesting Solver problem (Solver encounters an error) MrShorty Excel Discussion (Misc queries) 3 December 22nd 05 10:52 PM
Excel Solver Issue nakedbamboo Excel Discussion (Misc queries) 5 November 14th 05 01:26 AM


All times are GMT +1. The time now is 02:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"