+ Reply to Thread
Results 1 to 2 of 2

Excel for Mac 2011: goal seek function produces bizarre output, what's wrong?

  1. #1
    Registered User
    Join Date
    05-17-2016
    Location
    Washington
    MS-Off Ver
    Office for Mac 2011
    Posts
    1

    Excel for Mac 2011: goal seek function produces bizarre output, what's wrong?

    Hello!

    I will be grateful for your help on the issue I have stumbled upon when trying to use the Goal Seek function. Instead of producing a correct value, it throws a truly bizarre number at me. Attachments don't work here, so I will show the numbers and formulas behind them. Please, help me!

    a) 29.49
    b) 32.84
    c) 50%
    d) 4.39%
    e) 1,257.60

    f) ((a/c)*(1+d)) / (i-d)
    g) e - h
    h) NPV(i, 29.49, 32.84+f)
    i) -31777835039998100.00%
    Goal Seek
    Set cell that contains value g to 0
    by changing cell that contains value i. Value at i should become 9.17%
    But in my case it's something horrible, as you see.

    Thank you!

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Excel for Mac 2011: goal seek function produces bizarre output, what's wrong?

    When you hand enter 9.17% into i, do g or f go to 0? When I entered everything as you described, 9.17% in i did not make g or f 0. The value of -3.2E14 did make f 0, so it is kind of a correct solution for a "root" of f. Though, looking at the equation in f, f will approach 0 asymptotically as i approaches negative infinity (and as i approaches positive infinity).

    I added a spreadsheet that shows how I would analyze this sort of problem. I add a range where I can calculate my "objective function" (g in this case) against several values of my "independent variable (i in this case). As expected, the graphs shows an asymptote at 0.0439, and it shows the root just below 0.1. I calculate a root where i=0.087.

    I don't know what you did wrong. Perhaps you tried to set f=0 instead of g. Or perhaps you gave it a horrible "initial guess" and goal seek diverged instead of converging.

    Since goal seek uses the Newton Raphson method, I might suggest that you review how this algorithm works. I like this tutorial http://www.cs.utah.edu/~zachary/isp/...ot/Newton.html You might also find my Newton-Raphson tutorial that does not use goal seek interesting (or confusing) http://www.excelforum.com/tips-and-t...ind-roots.html
    Attached Files Attached Files
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] vb- Seek Goal function
    By BenBen88 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-09-2016, 06:43 PM
  2. Goal Seek as a function?
    By valeous in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-12-2015, 08:51 PM
  3. Goal Seek function in a dynamic excel sheet
    By tonisjoseph in forum Excel General
    Replies: 4
    Last Post: 01-16-2015, 12:48 AM
  4. [SOLVED] VBA produces wrong output for loops
    By atomichybrid in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-22-2014, 03:33 AM
  5. Goal Seek Output Cell
    By B3nnyB in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-12-2012, 02:31 PM
  6. goal seek function
    By rdsouza in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-14-2010, 05:46 PM
  7. Goal seek output
    By Kainoa in forum Excel General
    Replies: 0
    Last Post: 05-22-2006, 04:10 PM

Tags for this Thread

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