# What-if Analysis in Excel | Easy Excel Tips | Excel Tutorial | Free Excel Help | Excel IF | Easy Excel No 1 Excel tutorial on the internet (2023)

In Excel, What-if analysis is a process of changing cells’ values to see how those changes will affect the worksheet’s outcome. You can use several different sets of values to explore all the different results in one or more formulas.

What-if Excel is used by almost every data analyst and especially middle to higher management professionals to make better, faster and more accurate decisions based on data. What-if analysis is useful in many situations, such as:

• You can propose different budgets based on revenue.
• You can predict the future values based on the given historical values.
• If you expect a certain value due to a formula, you can find different sets of input values that produce the desired result.

To enable the what-if analysis tool go to the Data menu tab and click on the What-If Analysis option under the Forecast section. Now click on the What-If Analysis. Excel has the following What-if analysis tools that can be used based on the data analysis needs:

• Scenario Manager
• Goal Seek
• Data Tables Data Tables and Scenarios take sets of input values and project forward to determine possible results. Goal seek differs from Data Tables and Scenarios in that it takes a result and projects backward to determine possible input values that produce that result.

1. Scenario Manager

A scenario is a set of values that Excel saves and can substitute automatically in cells on a worksheet. Below are the following key features, such as:

• You can create and save different groups of values on a worksheet and then switch to any of these new scenarios to view different results.
• A scenario can have multiple variables, but it can accommodate only up to 32 values.
• You can also create a scenario summary report, which combines all the scenarios on one worksheet. For example, you can create several different budget scenarios that compare various possible income levels and expenses, and then create a report that lets you compare the scenarios side-by-side.
• Scenario Manager is a dialog box that allows you to save the values as a scenario and name the scenario.

2. Goal Seek

Goal Seek is useful if you want to know the formula’s result but unsure what input value the formula needs to get that result. For example, if you want to borrow a loan and know the loan amount, tenure of loan and the EMI that you can pay, you can use Goal Seek to find the interest rate at which you can avail of the loan.

Goal Seek can be used only with one variable input value. If you have more than one variable for input values, you can use the Solver add-in.

3. Data Table

A Data Table is a range of cells where you can change values in some of the cells and answer different answers to a problem. For example, you might want to know how much loan you can afford for a home by analyzing different loan amounts and interest rates. You can put these different values and the PMT function in a Data Table and get the desired result.

A Data Table works only with one or two variables, but it can accept many different values for those variables.

### What-If Analysis Scenario Manager

Scenario Manager is one of the What-if Analysis tools in Excel. Scenario Manager is useful in a case where you have more than two variables in the sensitivity analysis. Scenario Manager creates scenarios for each set of the input values for the variables under consideration. Scenarios help you to explore a set of possible outcomes, supporting the following:

• Varying as many as 32 input sets.
• Merging the scenarios from several different worksheets or workbooks.

If you want to analyze more than 32 input sets, and the values represent only one or two variables, you can use Data Tables.

Initial Values for Scenarios

Before you create several different scenarios, you need to define a set of initial values on which the scenarios will be based. Consider an example of a company that wants to buy Metals for their needs. Due to the scarcity of funds, the company wants to understand how much cost will happen for different buying possibilities.

In these cases, we can use the scenario manager for applying different scenarios to understand the results and make the decision accordingly. Now below are the following steps for setting up the initial values for Scenarios:

Step 1: Define the cells that contain the input values.

Step 2: Name the cells Metals_name and Cost.

Step 3: Define the cells that contain the results.

Step 4: Name the result cell Total_cost.

(Video) What-If Analysis (Goal Seek, Scenario Manager and Data Table) in Excel | Step by Step tutorial

Step 5: place the formula in the result cell.

Step 6: Below is the created table. To create an analysis report with Scenario Manager, follow the following steps, such as:

Step 1: Click the Data tab.

Step2: Go to the What-If Analysis button and click on the Scenario Manager from the dropdown list. Step 3: Now a scenario manager dialog box appears, click on the Add button to create a scenario. Step 4: Create the scenario, name the scenario, enter the value for each changing input cell for that scenario, and then click the Ok button. Step 5: Now, B3, B4, B5, B6, and B7 appear in the cells box. Step 6: Now, change the value of B3to 500 and click the Add button. Step 7: After clicking on the Add button, the add scenario dialog box appears again.

• In the scenario name box, create scenario 2.
• Select the prevent changes.
• And click on the Ok Step 8: Again appears scenario values box with the changed value of B3 cell. Step 9: Change the value of B5 to 20000 and click the Ok button. Step 10: Similarly, create Scenario 3 and click the Ok button. Step 11: Again, appears scenario values box with a changed value of the B5 cell.

(Video) Excel What-If Analysis Data Table | Easy to Use Once you Learn This☝️ Step 12: Change the value of B7 to 10000 and click the Ok button. The Scenario Manager Dialog box appears. In the box under Scenarios, You will find the names of all the scenarios that you have created. Step 13: Now, click on the Summary button. The Scenario Summary dialog box appears. Excel provides two types of Scenario Summary reports:

1. Scenario summary.
2. Scenario PivotTable report.

Step 14: Select Scenario summary under Report type and click Ok. Scenario Summary report appears in a new worksheet. You will get the following Scenario summary report. You can observe the following in the Scenario Summary report:

• Changing Cells: Enlists all the cells used as changing cells.
• Result Cells: Displays the result cell specified.
• Current Values: It is the first column and enlists the values of that scenario selected in the Scenario Manager Dialog box before creating the summary report.
• For all the scenarios you have created, the changing cells will be highlighted in gray.
• In the \$C\$9 row, the result values for each scenario will be displayed.

### What-If Analysis Goal Seek

Goal Seek is a What-If Analysis tool that helps you to find the input value that results in a target value that you want. Goal Seek requires a formula that uses the input value to give the result in the target value. Then, by varying the formula’s input value, Goal Seek tries to solve the input value.

Goal Seek works only with one variable input value. If you have more than one input value to be determined, you have to use the Solver add-in. Below are the following steps to use the Goal Seek feature in Excel.

Step 1: On the Data tab, go What-If Analysis and click on the Goal Seek option. Step 2: The Goal Seek dialog box appears. Step 3: Type C9 in the Set cell box. This box is the reference for the cell that contains the formula that you want to resolve.

Step 4: Type 57000 in the To value box. Here, you get the formula result.

Step 5: Type B9 in the By changing cell box. This box has the reference of the cell that contains the value you want to adjust.

Step 6: This cell that the formula must reference goal Seek changes in the cell that you specified in the Set cell box. Click Ok. Step 7: Goal Seek box produces the following result. (Video) IF Function in Excel Tutorial

As you can observe, Goal Seek found the solution using B9, and it returns 0 in the B9 cell because the target value and current value are the same.

### What-If Analysis Data Tables

With a Data Table in Excel, you can easily vary one or two inputs and perform a What-if analysis. A Data Table is a range of cells where you can change values in some of the cells and answer different answers to a problem. There are two types of Data Tables, such as:

1. One-variable data tables
2. Two-variable data tables

If you have more than two variables in your analysis problem, you need to use the Excel Scenario Manager Tool.

One-variable Data Tables

A one-variable Data Table can be used to see how different values of one variable in one or more formulas will change those formulas’ results. In other words, with a one-variable Data Table, you can determine how changing one input changes any number of outputs. Below is an example of creating a one-variable data table.

A good example of a data table employs the PMT function with different loan amounts and interest rates to calculate the loan.

There is a loan of 1 00,000 for a tenure of 5 years. You want to know the monthly payments (EMI) for varied interest rates. You also want to know the amount of interest and Principal that is paid in the second year.

Step 1: Create the required table.

• Assume that the interest rate is 10%.
• List all the required values.
• Name the cells containing the values.
• Set the calculation for EMI, Cumulative Interest and Cumulative Principal with the Excel functions PMT, CUMIPMT and CUMPRINC, respectively.
• Below is the created table. Step 2: Type the list of interest rate values that you want to substitute in the input cell. As you observe, there is an empty row above the Interest Rate values. This row is for the formulas.

Step 3: Type the first function (PMT) in the cell one row above and one cell to the right of the column of values. Type the other functions (CUMIPMT and CUMPRINC) in the cells to the first function’s right. Step 4: The Data Table looks as given below. Step 5: Select the range of cells that contains the formulas and values that you want to substitute, E2:H13. Step 6: Go to the Data tab, select What-if Analysis and click on the Data Table tool in the dropdown list.

Step 7: Data Table dialog box appears.

• Click in the Column input cell box.
• And click on the Interest_Rate cell, which is C2. You can see that the Column input cell is taken as \$C\$2.

Step 8: Click on the Ok button. (Video) Excel Tutorial: Using the WHAT-IF Analysis in Excel

The Data Table is filled with the calculated results for each input value.

Two-variable Data Tables

A two-variable Data Table can be used to see how different values of two variables in a formula will change that formula’s results. In other words, with a two-variable Data Table, you can determine how changing two inputs changes a single output.

For example, a loan of 100000, and you want to know how different combinations of interest rates will affect the monthly payment.

Step 1: Create the following table. Step 2: Now create the Data Table

• Write =EMI in F2 cell.
• Type the first list of input values, i.e., interest rates, down the column F, starting with the cell below the formula, i.e., F3.
• Type the second list of input values, i.e., number of payments across row 2, starting with the cell to the right of the formula, i.e., G2.
• The Data Table looks as follows. Step 3: Select the range of cells that contains the formula and the two sets of values that you want to substitute, i.e., F2:L13. Step 4: Go to the Data tab, click What-if Analysis and select Data Table from the dropdown list.

Step 5: Data Table dialog box appears. Step 6: Click in the Row input cell box.

• Click on the NPER cell, which is C3.
• Again, click in the Column input cell box.
• Click the Interest_Rate cell, which is C2. You will see that the Row input cell is taken as \$C\$3, and the Column input cell is taken as \$C\$2.

Step 7: Click on the Ok button.

The Data Table gets filled with the calculated results for each combination of the two input values.

Data Table Calculations

Data Tables are recalculated each time the worksheet containing them is recalculated, even if they have not changed.

To speed up the calculations in a worksheet that contains a Data Table, you need to change the calculation options to Automatically Recalculate the worksheet but not the Data Tables.

Next TopicHow To Insert Checkbox in MS Excel

## FAQs

### What is the easiest way to Analyse data in Excel? ›

Simply select a cell in a data range > select the Analyze Data button on the Home tab. Analyze Data in Excel will analyze your data, and return interesting visuals about it in a task pane.

What are the steps in Excel for what if analysis? ›

Step 1 - Click 'What If Analysis' from the Data tab and select Scenario Manager. Step 2 - Click 'Add' from the Scenario Manager pop-up window. Step 3 - Name this scenario “Original” and enter the cell references of all cells with constant values that you may consider changing in other scenarios (maximum 32 cells).

How do you get what if analysis in Excel Online? ›

Go to the Data option from the toolbar and select the Excel What-if Analysis option from the Forecast Ribbon, as shown below. A dialog box will appear on the screen with empty scenarios. To add a scenario, select add option as shown below.

What are the 5 basic Excel skills? ›

Now that you have an idea of what Excel is all about, here are five basic skills that you can use to your advantage right away.
• Using Excel to Sort Data. ...
• Eliminate Duplicates. ...
• Use Excel Instead of a Calculator. ...
• Freeze Columns for Better Visibility. ...
• Find Data in Large Lists.

What is the easiest way to analyze data? ›

Data analysis tools, like Excel, Google Sheets, and Airtable, and business intelligence tools, like Tableau and Google Data Studio, are excellent for crunching numbers. They allow you to plug in your quantitative data and create comprehensive visualizations, charts, and graphs.

How do you analyze data easily? ›

How to analyze data
1. Establish a goal. First, determine the purpose and key objectives of your data analysis. ...
2. Determine the type of data analytics to use. Identify the type of data that can answer your questions. ...
3. Determine a plan to produce the data. ...
4. Collect the data. ...
5. Clean the data. ...
6. Evaluate the data. ...
7. Visualize the data.
Feb 3, 2023

What is a real world example in which you would use what-if analysis? ›

Let's say you sell bread at a market. You charge \$2 per loaf of bread, and you sell 100 loafs a day. An example of what-if analysis would be to ask: what would happen to my revenue if I charged more for each loaf of bread?

What is the most common task performed with Excel? ›

SUM functions. Probably the most frequently used function in Excel (or any other spreadsheet program), =SUM does just that: It sums a column, row, or range of numbers—but it doesn't just sum.

What is the purpose of a model in what-if analysis? ›

What-if analysis is used by companies to model different scenarios in order to make better business decisions. The analysis allows companies to explore the possible outcomes of a given situation and to determine the effects of different decisions.

What-if there is no data analysis in Excel? ›

If the Data Analysis command is not available in your version of Excel, you need to load the Analysis ToolPak add-in program. These instructions apply to Excel 2010, Excel 2013 and Excel 2016. Click the File tab, click Options, and then click the Add-Ins category.

### What is an IF function in Excel? ›

The IF function is one of the most popular functions in Excel, and it allows you to make logical comparisons between a value and what you expect. So an IF statement can have two results. The first result is if your comparison is True, the second if your comparison is False.

Why i don't have What-If analysis in Excel? ›

In the Manage box, select Excel Add-ins and then click Go. If you're using Excel for Mac, in the file menu go to Tools > Excel Add-ins. In the Add-Ins box, check the Analysis ToolPak check box, and then click OK. If Analysis ToolPak is not listed in the Add-Ins available box, click Browse to locate it.

What are beginner skills in Excel? ›

Beginner users navigate calculations, add columns and rows, and can do other basic functions. You must also know how to navigate cell references, different styles, and various keyboard shortcuts. Basic Excel users must know the difference between a formula and a function.

Does Excel have a data analysis tool? ›

Microsoft Excel allows you to clean and explore data, as well as add advanced data analytics capabilities, through data analysis tools like Power Query, Auto Filter, Power Pivot and Power Maps.

Where can I practice Excel for data analysis? ›

Tags
• Best Excel Data Analysis Courses.
• Coursera.
• DataCamp.
• ed2go.
• Edureka.
• edX.
• Excel Courses.
• Excel Data Analysis Courses.
Oct 8, 2022

Is Excel best for data analysis? ›

Excel is a popular choice for data analysis due to its ease of use and learning, with a familiar interface and a variety of functions and features.

## Videos

1. Excel Data Tables - Easy What-if Analysis for Multiple Variables
(MyOnlineTrainingHub)
2. What-If analysis in Excel with a Data Table by Chris Menard
(Chris Menard)
3. Excel IF Formula: Simple to Advanced (multiple criteria, nested IF, AND, OR functions)
(Leila Gharani)
4. Unlock Excel VBA and Excel Macros | Automate Complex Tasks with Excel VBA & Excel Macros | Lesson 1
(UniMLearning)
5. Fix column widths and row heights fast in Excel! #excel #exceltutor
(Easy Sheets)
6. How to use the IF function in Excel
(TechOnTheNet)
Top Articles
Latest Posts
Article information

Author: Annamae Dooley

Last Updated: 12/10/2023

Views: 5755

Rating: 4.4 / 5 (65 voted)

Author information

Name: Annamae Dooley

Birthday: 2001-07-26