+ Reply to Thread
Results 1 to 3 of 3

Goal Seek | Err coming

  1. #1
    Forum Contributor
    Join Date
    11-10-2012
    Location
    India
    MS-Off Ver
    Excel 2003 to Excel 2010
    Posts
    235

    Lightbulb Goal Seek | Err coming

    Hi,
    In this attached fille, reducing/effective rate is calculated, by using goal seek function, can anyone tell me how its happening? visual basic is been used in this. if i will change principal or tenure, my irr will change after clicking on button. can we do this with formula? i just want to know procedure, what concept is been used.
    Attached Files Attached Files
    Click on (*), if you agree.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Goal Seek | Err coming

    iStartRow = 10 (i.e.) The Data needs to be shown after the row 10

    i = Cells(4, 3).Value (i.e.) C3 Cell Value, The Number of Rows the data needs to be shown

    range1 = "H" & (iStartRow + i) (i.e.) Tenure Duration is the Number of rows (i) which is determined by C3 cell value and adding the Start Row from which the data needs to be shown (iStartRow)

    Range(range1).GoalSeek Goal:=0, ChangingCell:=Range("F3") (i.e.) Just selecting the range which is arrived from above and applying goal seel for it and assigning F3 cell as changing cell.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    11-10-2012
    Location
    India
    MS-Off Ver
    Excel 2003 to Excel 2010
    Posts
    235

    Re: Goal Seek | Err coming

    I tried to correct it but coulld do that ... as I m not a frequest user of VB ..
    So could u pl do the needful and send me revised file sir

    Thnks in Advance

    Quote Originally Posted by :) Sixthsense :) View Post
    iStartRow = 10 (i.e.) The Data needs to be shown after the row 10

    i = Cells(4, 3).Value (i.e.) C3 Cell Value, The Number of Rows the data needs to be shown

    range1 = "H" & (iStartRow + i) (i.e.) Tenure Duration is the Number of rows (i) which is determined by C3 cell value and adding the Start Row from which the data needs to be shown (iStartRow)

    Range(range1).GoalSeek Goal:=0, ChangingCell:=Range("F3") (i.e.) Just selecting the range which is arrived from above and applying goal seel for it and assigning F3 cell as changing cell.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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