Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

26
Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000

Transcript of Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Page 1: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Solving Equations

with Goal Seek

for Microsoft Excel 2000

Page 2: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

A Simple Problemgrades, grades, grades*…

You would love to have a quiz average of 80 points (or better) in the QTM1300 course by the end of the semester.

Your quiz scores on the first nine quizzes are given in the table below.

Quiz 1 2 3 4 5 6 7 8 9

Score 90 88 78 68 84 82 66 74 72

What score do you need to earn on the 10th and final quiz in order to meet your goal average of 80 points?

* from FCL Excel Notes by Joyce Gordon, Babson College, 1998.

Page 3: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

You are looking for

x = score on 10th quiz

so that

Formulate the Problemobtain equation to be solved

90 + 88 + 78 + 68 + 84 + 82 + 66 + 74 + 72 + x = 80

10

Quiz AverageQuiz Average

NOTE: Only use Goal Seek if the equation contains only one variable; has the right-hand side equal to a constant.

Page 4: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Preparing the Worksheet for Goal Seekstart with a blank sheet

Page 5: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Preparing the Worksheet for Goal Seekenter labels and constants

Enter labels in cells A1:A13 and

B1

Enter labels in cells A1:A13 and

B1

Page 6: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Preparing the Worksheet for Goal Seekenter labels and constants

NOTE: These labels are not essential for the use of Goal

Seek

NOTE: These labels are not essential for the use of Goal

Seek

Page 7: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Preparing the Worksheet for Goal Seekenter labels and constants

Enter constants in cells B2:B10

Enter constants in cells B2:B10

Remember…

74

8

7266828468788890Score

97654321Quiz

Page 8: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Preparing the Worksheet for Goal Seekenter formula

Variable values in cell B11

Variable values in cell B11

Left-hand side of equation in cell B13

Left-hand side of equation in cell B13

NOTE: These cells will be colored to indicate that they are essential for Goal

Seek

NOTE: These cells will be colored to indicate that they are essential for Goal

Seek

x

Remember…

90 + 88 + 78 + 68 + 84 + 82 + 66 + 74 + 72 + x = 80

10

Page 9: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Preparing the Worksheet for Goal Seekenter formula

Click on cell B13Click on cell B13

Remember…

90 + 88 + 78 + 68 + 84 + 82 + 66 + 74 + 72 + x = 80

10

Page 10: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Preparing the Worksheet for Goal Seekenter formula

Type in =AVERAGE(Type in =AVERAGE(

Remember…

90 + 88 + 78 + 68 + 84 + 82 + 66 + 74 + 72 + x = 80

10

Page 11: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Preparing the Worksheet for Goal Seekenter formula

Remember…

90 + 88 + 78 + 68 + 84 + 82 + 66 + 74 + 72 + x = 80

10

Highlight cells B2:B11

Highlight cells B2:B11

Page 12: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Preparing the Worksheet for Goal Seekenter formula

Type in ) and hit Enter

Type in ) and hit Enter

Remember…

90 + 88 + 78 + 68 + 84 + 82 + 66 + 74 + 72 + x = 80

10

Page 13: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Preparing the Worksheet for Goal Seekenter formula

NOTE: Alternative formula for cell B13: =(B2+ B3+ B4+ B5+ B6+ B7+ B8+ B9+ B10+ B11)/10NOTE: Alternative formula for cell B13: =(B2+ B3+ B4+ B5+ B6+ B7+ B8+ B9+ B10+ B11)/10

Page 14: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Preparing the Worksheet for Goal Seekenter formula

NOTE: The function AVERAGE entered in cell B13 returns the average of the values in cells B2:B11;

blank cells are ignored

NOTE: The function AVERAGE entered in cell B13 returns the average of the values in cells B2:B11;

blank cells are ignored

Page 15: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Using Goal Seekinvoke Goal Seek

Click on ToolsClick on Tools

Page 16: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Using Goal Seekinvoke Goal Seek

Click on Goal Seek

Click on Goal Seek

Page 17: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Using Goal Seekinvoke Goal Seek

Page 18: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Using Goal Seekcomplete the Goal Seek dialog box

Click on cell B13Click on cell B13

NOTE: The cell displayed in the Set cell: box must contain the formula for the left-hand side of the

equation (cell B13)

NOTE: The cell displayed in the Set cell: box must contain the formula for the left-hand side of the

equation (cell B13)

Page 19: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Using Goal Seekcomplete the Goal Seek dialog box

Click on the To value:

box

Click on the To value:

box

Page 20: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Using Goal Seekcomplete the Goal Seek dialog box

Type in 80Type in 80

NOTE: The value displayed in the To value: box must be the constant on the right-hand side of the

equation (80)

NOTE: The value displayed in the To value: box must be the constant on the right-hand side of the

equation (80)

Page 21: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Using Goal Seekcomplete the Goal Seek dialog box

Click on the By changing

cell: box

Click on the By changing

cell: box

Page 22: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Using Goal Seekcomplete the Goal Seek dialog box

Click on cell B11Click on cell B11

NOTE: The cell displayed in the By changing cell: box must be the cell containing variable values

(cell B11)

NOTE: The cell displayed in the By changing cell: box must be the cell containing variable values

(cell B11)

Page 23: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Using Goal Seekexecute Goal Seek

Click on OKClick on OK

Page 24: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Using Goal Seekread solution

You need to earn a score of 98 on the 10th quiz to meet

your goal average of 80 points.

You need to earn a score of 98 on the 10th quiz to meet

your goal average of 80 points.

NOTE: If the equation has multiple solutions, Goal Seek usually finds the closest solution to the initial

variable value.

NOTE: If the equation has multiple solutions, Goal Seek usually finds the closest solution to the initial

variable value.

Page 25: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Using Goal Seekend execution

Click on OK

Click on OK

Back to studying!

Page 26: Denise Sakai Troxell (2000) Solving Equations with Goal Seek for Microsoft Excel 2000.

Denise Sakai Troxell (2000)

Final CommentsGoal Seek might not find the exact solution…

Goal Seek has a precision of 0.001:

when the variable value returned by Goal Seek is

plugged into the left-hand side of the equation, the

result will be within 0.001 of the right-hand side;

use Excel Solver for higher precision and/or

equations with multiple variables.