I think it can be done by enabling iteration in formula .. what result you want in b6 or what condition you want to apply in calculation?
Regards Rajan verma +91 7838100659 [IM-Gtalk] From: [email protected] [mailto:[email protected]] On Behalf Of ANKUR AGGARWAL Sent: 21 June 2012 2:52 To: [email protected] Subject: Re: $$Excel-Macros$$ Automating a goal seek using an excel formula Let me redefine the problem, We are getting NPV values from some data base. Based on NPV value, we have to automate a process which will back calculate the discount rate using NPV formula in excel. In excel, goal seek will serve the purpose, but since you will refresh NPV values, one has to manually perform goal seek each time. One solution is that we need to have a button to suffice the required need but we do not want macro, we need an excel formula, can any formula is possible which wil be dynamic enough to do so. To my knowledge it's not possible. But I wants expert comment. Please let me know asap. Its very urgent. Warm Regards Ankur Aggarwal _____ From: NOORAIN ANSARI <[email protected]> To: [email protected] Sent: Thursday, 21 June 2012 1:39 PM Subject: Re: $$Excel-Macros$$ Automating a goal seek using an excel formula Dear Ankur, Can you share a sample workbook with group. -- Thanks & regards, Noorain Ansari www.noorainansari.com <http://www.noorainansari.com/> <http://www.excelmacroworld.blogspot.com/> www.excelmacroworld.blogspot.com On Thu, Jun 21, 2012 at 1:32 PM, ANKUR AGGARWAL <[email protected]> wrote: Thanks Noorain for the reply but I need a dynamic excel formula to do the same. I have the macro but we wanted to have a dynamic excel formula. Is it possible? Warm Regards Ankur Aggarwal 91-8010614628 Analyst Mckinsey Knowledge Center Mckinsey & Co. _____ From: NOORAIN ANSARI <[email protected]> To: [email protected] Sent: Thursday, 21 June 2012 11:13 AM Subject: Re: $$Excel-Macros$$ Automating a goal seek using an excel formula Dear Ankur, Please try it.. Sub Dynamic_Goalsheek() Dim i As Long Dim sh As Worksheet Set sh = ThisWorkbook.Sheets(1) For i = 2 To sh.Cells(Rows.Count, "A").End(xlUp).Row sh.Range("I" & i).GoalSeek Goal:=sh.Range("A" & i).Value, ChangingCell:=sh.Range("E" & i) Next i End Sub See attached sheet hope it will help to you else share a sample workbook with group. -- Thanks & regards, Noorain Ansari www.noorainansari.com <http://www.noorainansari.com/> <http://www.excelmacroworld.blogspot.com/> www.excelmacroworld.blogspot.com On Thu, Jun 21, 2012 at 8:59 AM, ANKUR AGGARWAL <[email protected]> wrote: Experts, is it at all possible to automate goal seek function using an excel formula without a macro. Set value in goal seek function will get refreshed every day, we don't want to manually apply goal seek each time neither wanna use the macro to automate that. Can it be done using any dynamic excel formula ? Warm Regards Ankur Aggarwal Analyst -- -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ---------------------------------------------------------------------------- -------------------------- To post to this group, send email to [email protected] To unsubscribe, send a blank email to [email protected] <mailto:excel-macros%[email protected]> -- -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ---------------------------------------------------------------------------- -------------------------- To post to this group, send email to [email protected] To unsubscribe, send a blank email to [email protected] <mailto:excel-macros%[email protected]> -- -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ---------------------------------------------------------------------------- -------------------------- To post to this group, send email to [email protected] To unsubscribe, send a blank email to [email protected] <mailto:excel-macros%[email protected]> -- -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ---------------------------------------------------------------------------- -------------------------- To post to this group, send email to [email protected] To unsubscribe, send a blank email to [email protected] -- -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ---------------------------------------------------------------------------- -------------------------- To post to this group, send email to [email protected] To unsubscribe, send a blank email to [email protected] -- -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to [email protected] To unsubscribe, send a blank email to [email protected]
