Leading the way in Microsoft Office Development
 Home|

Excel

|Word|PowerPoint|Consultancy|Feedback|Contact 
 Excel > Data Analysis > Solver Add-in< Previous | Next > 

 

What is the Solver Add-in ?

 
 

The Solver add-in allows you to perform "what if" calculations based on several variables.

 
 

This add-in can be used to solve formulas that contain several variables and is an extension to the built-in Goal Seek functionality.

 
 

The Goal Seek command can be used for finding simple target values but this add-in can be used for more complex problems

 
 

Goal Seek can only be used when you have a single variable whereas the Solver add-in can be used when you have several variables.

 
 

This add-in also allows you to provide one or more constraints (*i.e. conditions) that must be met for the solution to be valid.

 
 

This add-in has several uses, one of which is to solve both linear equations.

 
 

This is an additional add-in that can be loaded when necessary. It is not installed by default.

 
 

It is important to remember that finding a solution to solve your formulas is not always possible.

 

 

Differences between Solver and Goal Seek

 
 

1) Solver can solve formulas (or equations) which use several variables whereas Goal Seek can only be used with a single variable.

 
 

2) Solver will allow you to vary the values in up to 200 cells whereas Goal Seek only allows you to vary the value in one cell.

 
 

3) It is possible to save one (or more) models with Solver.

 
 

4) Solver allows you to add constraints that must be true for the solution to be valid.

 
 

5) Solver can be used to find the value of the variables that give a formula a maximum or minimum value as well as a specifc value.

 

 

Solver Add-in Dialog Box

 
   
 

Set Target as - Specifies the target cell that you want to set to a certain value or that you want to maximize or minimize. This cell must contain a formula.

 
 

Equal To - Specifies whether you want the target cell to be maximized, minimized, or set to a specific value. If you want a specific value, type it in the box.

 
 

By Changing Cells - Specifies the cells that can be adjusted until the constraints in the problem are satisfied and the cell in the Set Target Cell box reaches its target. The adjustable cells must be related directly or indirectly to the target cell.

 
 

Guess - Guesses all nonformula cells referred to by the formula in the Set Target Cell box, and places their references in the By Changing Cells box.

 
 

Subject to the Constraints - Lists the current restrictions on the problem.

 
 

Add - Displays the Add Constraint dialog box.

 
 

Change - Displays the Change Constraint dialog box.

 
 

Delete - Removes the selected constraint.

 
 

Solve - Starts the solution process for the defined problem.

 
 

Close - Closes the dialog box without solving the problem. Retains any changes you made by using the Options, Add, Change, or Delete buttons.

 
 

Options - Displays the Solver Options dialog box, where you can load and save problem models and control advanced features of the solution process.

 
 

Reset All - Clears the current problem settings, and resets all settings to their original values.

 

 

Installing the Add-in

 
 

The Solver add-in is not installed by default and will have to be added.

 
 

This add-in can should be installed as part of Excel and should appear in your (Tools > Add-ins) list of available add-ins.

 
 

Before you can use this add-in you must install it. This can be done by selecting (Tools > Add-ins).

 
 

Select the add-in called Solver Add-in and press OK to install it.

 
   
 

When this add-in is installed an additional "Solver…" command will be added above the Macro command on the Tools drop-down menu.

 

 

Using the Add-in

 
 

Provide 4 items of information

 
 

1) Objective

 
 

2) Target

 
 

set target cell (F9) mimising the total expenditure

 
 

3) Variables

 
 

the number of ads in each publication (E3: E8)

 
 

4) Constraints

 
 

total expenditure must be less that the budget available (F8 <= G13)

 

 

Things to Remember

 
 
  • If you want to limits the changes that Excel can make to a cell value or a target value you can add a constraint.

     
     
  • This can also be used to find combinations of variables that may provide a maximum or minimum result.

     
     
  • This add-in is licensed to Microsoft by www.solver.com - Frontline Systems Inc. and you can obtain more information about this add-in from their web site.

     
     
  • You only need to add constraints to cells which are going to be changed.

     
     
  • This add-in is extremely useful for finding the roots of equations.

     

     Copyright © 2010 Better Solutions Limited. All Rights Reserved.< Previous | Top | Next >