#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Greg Toews
 
Posts: n/a
Default Solver Question

My equation calculates an interest rate

A1*C1^B1 + A2*C1^B2 + ... + A11*C1^B11 = D1

Columns A, B and D are given. The only unknown is C1 which I want to solve
for. I can do this using solver but I would like something that updates when
columns B and D change.

Can I do this without using the solver or have the solver automatically
update?

Thanks,
G


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Daniel CHEN
 
Posts: n/a
Default Solver Question

Most likely you need VBA code to do this.
Let the program captures that you make changes to B or D, and then run
solver automatically.


--
Best regards,
---
Yongjun CHEN
=================================
XLDataSoft - Data Analysis Expert, Excel/VBA Specialist
- - - - www.XLDataSoft.com - - - -
Free Excel-Based Data Processing Tool is Available for Download

=================================
"Greg Toews" wrote in message
news:DYCSf.153816$H%4.135827@pd7tw2no...
My equation calculates an interest rate

A1*C1^B1 + A2*C1^B2 + ... + A11*C1^B11 = D1

Columns A, B and D are given. The only unknown is C1 which I want to solve
for. I can do this using solver but I would like something that updates
when columns B and D change.

Can I do this without using the solver or have the solver automatically
update?

Thanks,
G



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MrShorty
 
Posts: n/a
Default Solver Question


Two possible approaches, depending on your abilities and specific
needs:
1) VBA code associated with a worksheet_change or calculate event that
calls solver for you
2) If you are familiar with programming numerical methods, you could
code a UDF that will use a Newton-Raphson algorithm (or other numerical
algorithm) to solve the problem. UDF would then be called from C1 of
the spreadsheet, and, if coded correctly, will fit into the dependency
tree and will update automatically as values change.


--
MrShorty
------------------------------------------------------------------------
MrShorty's Profile: http://www.excelforum.com/member.php...o&userid=22181
View this thread: http://www.excelforum.com/showthread...hreadid=523673

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Greg Toews
 
Posts: n/a
Default Solver Question

Thanks, I will go with the VBA route since my sheet already includes some
code.


Reply
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
webquery and solver macros icestationzbra Excel Discussion (Misc queries) 2 February 23rd 06 06:47 PM
Solver question Bill_S Excel Worksheet Functions 1 February 2nd 06 06:38 PM
Solver does not work from Macros mjd918 Setting up and Configuration of Excel 1 January 6th 06 04:15 PM
Solver parameter constraint question Morrigan Excel Discussion (Misc queries) 7 June 7th 05 10:01 PM
question on excel Solver Avalon Excel Worksheet Functions 1 May 1st 05 05:35 PM


All times are GMT +1. The time now is 05:17 AM.

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

About Us

"It's about Microsoft Excel"