Excel 2019 (Part 28): What-if Analysis

Excel includes powerful tools for performing complex mathematical calculations, including What-if Analysis.

Excel includes powerful tools for performing complex mathematical calculations, including What-if Analysis. This feature can help you experiment and answer questions with your data, even when the data is incomplete. In this article, you will learn how to use an analysis tool called Goal Seek.

 

Goal Seek

Whenever you create a formula or function in Excel, you have to combine different parts to calculate the result. Goal Seek works the opposite way: It lets you start with the desired result, and the tool will calculate the input value to give you that result. This article will use a few examples to show how to use Goal Seek.

Example 1 of how to use Goal Seek

Let's say you've enrolled in a course. You currently have 65 points, and you need at least 70 points to pass. Luckily, you have one final assignment that can help raise your average grade. You can use Goal Seek to find out the score you need to achieve on that final assignment to pass the course.

In the image below, you can see that the scores for the first four assignments are 58, 70, 72, and 60. While the score for the fifth assignment is unknown, you can write a formula—or function—to calculate the final required score. In this case, each assignment has an equal weight, so all we have to do is average the scores for all five by entering =AVERAGE(B2:B6). When using Goal Seek, cell B6 will display the minimum score required for that final assignment.

 

1. Select the cell containing the value you want to change. Whenever using Goal Seek, you will need to select a cell that already contains a formula or function. For example, we would select cell B7 because it contains the formula =AVERAGE(B2:B6).

2. From the Data tab , click the What-If Analysis command , then select Goal Seek from the drop-down menu.

3. A dialog box will appear with three fields. The first field, Set cell: , will contain the desired result. In this example, cell B7 has been selected.

The second field, To value: , is the desired result. For example, you would enter 70 because you need to earn at least that amount to pass the class.

 

The third field, By changing cell: , is where Goal Seek will place its answer. For example, we would choose cell B6 because we want to specify the score to be achieved in the final exercise.

4. When you're finished, click OK.

5. A dialog box will tell you whether Goal Seek was able to find the answer. Click OK.

6. The result will appear in the designated cell. In the example, Goal Seek calculated that a score of at least 90 points would be needed on the final assignment to pass the course.

Example 2 of how to use Goal Seek

Let's say you're planning an event and want to invite as many people as possible without exceeding your $500 budget. You can use Goal Seek to find out how many people to invite. In the example below, cell B5 contains the formula =B2+B3*B4 to calculate the total booking cost plus the cost per person.

1. Select the cell containing the value you want to change. For example, we would select cell B5.

 

2. From the Data tab , click the What-If Analysis command , then select Goal Seek from the drop-down menu.

3. A dialog box will appear with three fields. The first field, Set cell: , will contain the desired result. In this example, cell B5 has been selected.

The second field, To value: , is the desired result. For example, you would enter 500 because you only want to spend $500.

The third field, By changing cell: , is where Goal Seek will place its answer. For example, it would select cell B4 because it wants to know how many guests it can invite without spending more than $500.

4. When you're finished, click OK.

5. A dialog box will tell you whether Goal Seek was able to find the answer. Click OK.

6. The result will appear in the designated cell. In the example, Goal Seek calculated the answer to be approximately 18.62. In this case, the final answer needs to be an integer, so the answer needs to be rounded up or down. Since rounding up would exceed the budget, the example will round down to 18 guests.

As you can see in the example above, some situations will require the answer to be an integer. If Goal Seek gives you a decimal number, you will need to round up or down, depending on the situation.

Other types of what-if analysis

For more advanced projects, you might want to consider other types of hypothetical analysis: Scenarios and data tables. Instead of starting from the desired outcome and working backward, as with Goal Seek, these options allow you to test multiple values ​​and see how the results change.

Scenarios allow you to replace values ​​for multiple cells (up to 32) at once. You can create as many scenarios as you like and then compare them without manually changing the values. The example below uses scenarios to compare different locations for an upcoming event.

Data tables allow you to take one or two variables in a formula and replace them with as many different values ​​as you like, then view the results in a table. This option is particularly powerful because it displays multiple results at once, unlike scenarios or Goal Seek. In the example below, 24 possible results for a car loan can be viewed.

Related posts
Other Program articles
  • Excel 2019 (Part 26): Introducing PivotTables

    pivottables có thể giúp làm cho trang tính của bạn dễ quản lý hơn bằng cách tóm tắt dữ liệu và cho phép bạn thao tác nó theo những cách khác nhau.
  • Excel 2019 (Part 24): Comments and Co-authors

    excel cung cấp hai tính năng mạnh mẽ cho phép bạn làm việc với những người khác trên cùng một bảng tính: nhận xét và Đồng tác giả.
  • Excel 2019 (Part 23): Conditional Formatting

    tương tự như biểu đồ, định dạng có điều kiện cung cấp một cách để trực quan hóa dữ liệu và làm cho trang tính dễ hiểu hơn.
  • Excel 2019 (Part 22): Charts

    có thể hơi khó hiểu khi workbook excel chứa nhiều dữ liệu. biểu đồ cho phép bạn minh họa dữ liệu workbook bằng đồ thị, giúp dễ dàng hình dung các so sánh và xu hướng.
  • Excel 2019 (Part 20): Grouping and Subsummary

    excel có thể sắp xếp dữ liệu thành các nhóm, cho phép bạn dễ dàng hiển thị và ẩn những phần khác nhau của trang tính.
  • Excel 2019 (Part 19): Filtering Data

    bộ lọc có thể được sử dụng để thu hẹp dữ liệu trong trang tính, cho phép bạn chỉ xem thông tin bạn cần.
Category

System

Windows XP

Windows Server 2012

Windows 8

Windows 7

Windows 10

Wifi tips

Virus Removal - Spyware

Speed ​​up the computer

Server

Security solution

Mail Server

LAN - WAN

Ghost - Install Win

Fix computer error

Configure Router Switch

Computer wallpaper

Computer security

Mac OS X

Mac OS System software

Mac OS Security

Mac OS Office application

Mac OS Email Management

Mac OS Data - File

Mac hardware

Hardware

USB - Flash Drive

Speaker headset

Printer

PC hardware

Network equipment

Laptop hardware

Computer components

Advice Computer

Game

PC game

Online game

Mobile Game

Pokemon GO

information

Technology story

Technology comments

Quiz technology

New technology

British talent technology

Attack the network

Artificial intelligence

Technology

Smart watches

Raspberry Pi

Linux

Camera

Basic knowledge

Banking services

SEO tips

Science

Strange story

Space Science

Scientific invention

Science Story

Science photo

Science and technology

Medicine

Health Care

Fun science

Environment

Discover science

Discover nature

Archeology

Life

Travel Experience

Tips

Raise up child

Make up

Life skills

Home Care

Entertainment

DIY Handmade

Cuisine

Christmas

Application

Web Email

Website - Blog

Web browser

Support Download - Upload

Software conversion

Social Network

Simulator software

Online payment

Office information

Music Software

Map and Positioning

Installation - Uninstall

Graphic design

Free - Discount

Email reader

Edit video

Edit photo

Compress and Decompress

Chat, Text, Call

Archive - Share

Electric

Water heater

Washing machine

Television

Machine tool

Fridge

Fans

Air conditioning

Program

Unix and Linux

SQL Server

SQL

Python

Programming C

PHP

NodeJS

MongoDB

jQuery

JavaScript

HTTP

HTML

Git

Database

Data structure and algorithm

CSS and CSS3

C ++

C #

AngularJS

Mobile

Wallpapers and Ringtones

Tricks application

Take and process photos

Storage - Sync

Security and Virus Removal

Personalized

Online Social Network

Map

Manage and edit Video

Data

Chat - Call - Text

Browser and Add-on

Basic setup