+ Reply to Thread
Results 1 to 4 of 4

Help to Create a Goal seek Loop for Ranges of cells

  1. #1
    Registered User
    Join Date
    01-23-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    81

    Help to Create a Goal seek Loop for Ranges of cells

    Hi,

    So I have a spread sheet that is pulling some market data about options and updating in real time. What I want to do is calculate the implied volatility for the options at various strike prices. I can't seem to get the VBA codes to function on the ranges. I have a cell that give the difference from the model call/put price and I want to use a Goalseek code to make the volatility % change to keep the difference at 0 to give me the true market implied volatility.

    My ranges are:

    Call Difference: B26:K26 Named "Call_Diff"
    Put Difference: L26:U26 Named "Put_Diff"

    Implied Vol Call: B27:K27 Named "Call_Vol"
    Implied Vol Put: L28:U28 Named "Put_Vol"

    I feel like its simple but I can not solve the VBA code for it.

    Thanks

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Help to Create a Goal seek Loop for Ranges of cells

    Try posting a sample data set.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    01-23-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    81

    Re: Help to Create a Goal seek Loop for Ranges of cells

    This is the sample workbook, don't worry about the RTD function it's for a software I'm using.

    Rotman Options Models (2).xlsm

  4. #4
    Registered User
    Join Date
    01-23-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    81

    Re: Help to Create a Goal seek Loop for Ranges of cells

    I have this code working to goalseek the ranges! but now my issue is how do I make it run automatically when the row 26 is not "0"

    Please Login or Register  to view this content.

+ 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] Goal Seek loop - VBA
    By colin.dickson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-19-2013, 03:05 PM
  2. Help! Macro for a Goal Seek Loop
    By 18757173 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-07-2012, 11:26 PM
  3. Create a Macro for Goal Seek
    By brownn in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-19-2012, 04:52 PM
  4. Goal Seek VBA FOR/LOOP
    By BFlick11 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-04-2010, 02:50 PM
  5. Goal Seek in a loop
    By Brother in forum Excel General
    Replies: 2
    Last Post: 07-22-2005, 12:05 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