BrainDump
  Home arrow BrainDump arrow Page 2 - Using Goal Seek and Solver in MS Excel
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

Using Goal Seek and Solver in MS Excel
By: Codex-M
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2009-06-09

    Table of Contents:
  • Using Goal Seek and Solver in MS Excel
  • Using Goal Seek
  • Using Solver
  • Solving with Solver

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Using Goal Seek and Solver in MS Excel - Using Goal Seek


    (Page 2 of 4 )

    FIRST STEP: Goal seek requires one variable to be unknown in a set of equations. Remember our example on the previous page:

    Budget = 5x + y

    If the budget is known ($1000), and the food cost is known ($100), we can solve for the transportation cost.

    Therefore the first step in a goal seek process is to define your equations or relationships between the variables.

    SECOND STEP: The next step after defining the equations is to define the given part of the equations.

    THIRD STEP: After defining both the given variables and the equations, open your Excel spreadsheet. Define the equations in one cell ONLY. Note that defining the equations in Excel differs a lot from the mathematical world. For example, the above equation can be written as:

    Budget = 5*x + y

    The multiplication sign should be written as “*”. Other complicated mathematical expressions such as:

    can be expressed as Z= (5*x*y*4*log((5^x), 10)/(y)

    To implement our example in the spreadsheet, copy and paste this formula in cell A1:

    =5*A2+A3

    With this formula, cell A2 will be used for “Food expenses” while cell A3 will be used for “Travel Expenses.” Shade A2 and A3 with yellow so that you will know they are variables.

    If you are asked to solve for the travel expenses given that the food expenses equal $100 and the total monthly budget is $1000, place $100 in cell A2, then go to “Tools” and click on “Goal Seek.” Enter the following data:

    Set Cell: $A$1

    To value: 1000

    By Changing Cell: $A$3

    Then click OK. After that, Excel analyzes the given conditions, and then goal seek returns a result like the one below:

    If you have some formulas yourself, try solving them using goal seek. It is a much faster approach than any other methods.

    More BrainDump Articles
    More By Codex-M


     

    BRAINDUMP ARTICLES

    - Introduction to Office Live Workspace
    - Using MS Excel for One-way Analysis of Varia...
    - Comparing Data Sets Using Statistical Analys...
    - Import Blogger Posts into WordPress Using Wi...
    - Download WordPress from an FTP Server and Ru...
    - Install and Run WordPress in XAMPP Local Host
    - What Windows 7 Brings to the Table
    - Virtualization and Sandbox Detection
    - Advanced Firebug Techniques in Windows XP Ho...
    - Editing CSS with Firebug in Windows XP Home
    - Using Firebug in Windows XP Home
    - Migrating to Exchange Server 2007
    - Using System Restore on a Non-Bootable PC
    - Finding Logged on Users and More Scripting S...
    - Developing Macro Commands in MS Excel





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek