LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 947
Default Solver Problem ( related to earlier post of using if an Vlookup)

...is this because nesting if and vlookup is too
much for solver?


Hi. In general, yes. Excel's Solver does not work with functions like "If"
and "VLookup."
Solver can't keep track of "why" the Target value "Jumped" with a small
input change.

...D10 where you can put 0 if you dont want to include
that exercise and 1 if you do.


In general, you can have Solver do this by adding the constraint that D10 is
"Bin" (meaning Binary). This limits D10 to 0/1.

If you have any questions, feel free to send me a small example file.
--
HTH :)
Dana DeLouis
Windows XP & Office 2007


"Honey" wrote in message
ps.com...

Sorry I have so many threads going at the moment but I thought it
would be easier to consolidate them in one.

This is my Problem

I have a exercise sheet - I want to be able to enter the amount of
calories I need to burn and solver to find a reasonable solution to do
it an set amount of time.

I have related each exercise to a table so that solver can change a
column of numbers to between 1 and 4 so you get a reasonable amount of
time . ie swimming:

0 0
1 15 ( minutes)
2 20
3 30
4 45

I have a column D10 where you can put 0 if you dont want to include
that exercise and 1 if you do

I then have related this to a the tables with this
formula :=IF(D10=1,VLOOKUP(C10,M$15:N$19,2),"0") and this works fine
manually.

When I run solver...changing the column of numbers between 1-4 it wont
find any solutions.....is this because nesting if and vlookup is too
much for solver?

Hope this is clear I have confused the hell out myself and the laptop
is getting closer and closer to the window.
Regars,
Lyndsey



 
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
disregard earlier post Jenny B. Excel Discussion (Misc queries) 2 March 22nd 07 06:11 PM
Chart Class Module/follow on question to hyperlink post earlier. Rominall Charts and Charting in Excel 2 March 7th 07 02:43 AM
Related to "Counting cells..." (post below) jimbob Excel Discussion (Misc queries) 1 July 4th 06 08:23 PM
Interesting Solver problem (Solver encounters an error) MrShorty Excel Discussion (Misc queries) 3 December 22nd 05 10:52 PM
solver related some financial knowledge may be needed Richard Payman Excel Discussion (Misc queries) 4 September 8th 05 02:37 PM


All times are GMT +1. The time now is 05:38 PM.

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"