Results 1 to 8 of 8

solver [This iterative problem doesn't always work with Solver; can it be solved with VBA]

Threaded View

  1. #1
    Registered User
    Join Date
    08-09-2012
    Location
    Guelph, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    9

    solver [This iterative problem doesn't always work with Solver; can it be solved with VBA]

    I am doing repetitive calculations in excel on about 150 rows of data; the data is pressure measured over time. the equation i solve is:

    h=w+(transducer depth+w)*w''/9.81

    w is water level change which is WL1-WL2; WL1 is given

    I match the solution with the data I collected, h using solver to change WL2 until the solution matches my measured data. sometimes solver doesn't work and returns a large number for WL2; then I manually change it until it matches. this is very time consuming and inefficient. is there a way to program in VB to accomplish this with or without solver? attached is an example file. i have a ton of files to dothanks
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using Solver With Another Iterative Routine
    By kubota1000 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-03-2023, 12:37 AM
  2. [SOLVED] Excel SOLVER problem, claims it is solved but retains original values. Example given.
    By ad9051 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-25-2012, 04:18 PM
  3. Optimization problem when Solver doesn't work
    By fouzi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-24-2012, 09:53 AM
  4. Interesting Solver problem (Solver encounters an error)
    By MrShorty in forum Excel General
    Replies: 3
    Last Post: 12-22-2005, 06:55 PM
  5. Problem getting solver to work in macro
    By dlowie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-26-2005, 02:05 PM
  6. Replies: 3
    Last Post: 04-16-2005, 12:07 AM
  7. [SOLVED] Excel Solver with Macro doesn't work
    By Jukka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-10-2005, 01:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1