×

What if Analysis Data Table in Excel

What is What-If Analysis?

Suppose you have a cell A15 which is formula driven i.e. has a formula and the formula is based on values in different cells (A1, A2, A3, A4), what-if analysis helps us in understanding the changes to A10 when values in cells A1, A2, A3 or A4 are altered.

Let’s say person ABC has bought a car which is worth $40,000. Now ABC gave 19% of this amount as a down-payment and agreed to 48 months’ loan term at an interest rate of 5%. These 4 variables (Purchase Price, Down payment, Loan Term and Interest Rate) will have direct impact on the following variables (dependent variables) –

  • Loan Amount – If the customer paid 19% as down-payment, it implies that he took loan for remaining 90%
  • Monthly Payments – Monthly EMI costs based on loan taken, interest rates and loan term
  • Total Interest – A monthly payment is a combination of interest payments and the actual loan amount – this variable tells us how much interest rate we are paying on the loan amount
  • Total Payments – Interest rate plus loan amount

Now you can use formulas to calculate last 4 variables – make sure to give cell location rather than individual values. So, for example, Purchase Price is in cell A6 and Down Payment is in A7, to calculate ‘Loan Amount’ you can use the formula A6*(1-A7) rather than 80000*(0.8).

Similarly, you can calculate rest of the fields. Once this is done, using the following steps, you can incorporate ‘What-if Analysis’ in your work –

  • Go to Data Tab and click on What-if Analysis and then select Scenario Manager
  • Click on Add and a new pop-up will appear – put a Scenario name such that you can easily understand what it stands for
  • Next is changing cells i.e. which cells you want to change to see the impact on ‘Loan Amount’, ‘Monthly Payments’, ‘Total Interest’ and ‘Total Payments’ – let’s say we want to see the impact of changes to down-payment on these 4 variables
  • I have put Scenario Name as DP 20% which is current scenario
  • In ‘Add Scenario’ – I select the cell consisting of the value corresponding to Down Payment
  • And click on OK – a prompt will appear in which excel asks for the value you want to see – currently it is 0.2 – click on OK
  • Add 2 more scenarios DP 30% and DP 40% following the same process and corresponding values will be 0.3 and 0.4 and then click on OK
  • Now you can see 3 different scenarios – you can select anyone and see the difference it leads to the 4 values ‘Loan Amount’, ‘Monthly Payments’, ‘Total Interest’ and ‘Total Payments’

Now what if you want to see the impact of these changes to Down Payments in one table itself side-by-side? For this, we will introduce a new functionality ‘Data Tables’.

What is a Data Table?

A data-table is a range of cells which give us values of formula driven cells (dependent variables) when values in input cells are changed. In our example, input cells are Purchase Price, Down payment, Loan Term and Interest Rate.

One Variable Data Table

A data table which gives different values of dependent cells corresponding to different values of 1 input variable. In our example, let’s say, we want to look at the changes to dependent variables when we use different values of down-payment. Do note that a data table is different from a normal table -

  • To create a One Variable Data Table, write different values of down-payment (input variable) in a column
  • Use equal to operator to get the values of dependent variables as a header for this new table as shown in the diagram below
  • Once done, select the entire table and go to ‘Data’ tab and then ‘What-if Analysis’ and then select ‘Data Table’
  • A new pop-up will appear – since the different values of down-payment are in a column, select ‘Column Input Cell’ and give the location of the Down-Payment value in the original table – let the ‘Row Input Cell’ remain empty and click on OK
  • All the values will be populated in the table and now you can easily compare how the 4 dependent variables will change with changing down payment value

Two Variable Data Table

Similar to One Variable Data Table, just that in here we can see the impact on only 1 dependent variable (instead of many) when we make changes to 2 different input variables at the same time - 

  • Put different values of input variable in a row and for the second input variable in a column
  • Use the equal to variable to get value of dependent variable on top corner of the table

Select the table and click on ‘Data Table’ and for Row, select the value corresponding to input variable in the first table and for column select the value corresponding to second input variable and click on OK


Related Topics

How to print titles in Excel

In Microsoft Excel, if a particular task is completed in the worksheet, the user wants to print the worksheet. While performing this job, the row and column headings will display...

3 minutes read.

Check Marks in Excel

What is a Check Mark? Among various characters checkmark is one of the characters used to indicate that the item or product in the list is correct, chosen or selected. A...

5 minutes read.

Excel FIND() Function

The FIND() function in excel finds one text value within another. It is a case-sensitive function. Syntax FIND (find_text, within_text, [start_num]) Parameter find_text (required)- This parameter represents the text to find. within_text (required)- This parameter represents...

1 minute read.

Decimals in Excel

Microsoft Excel is widely used for calculation purposes for various applications. The calculation consists of numbers which include whole numbers, decimals, integers etc. To perform quick calculations, the numbers should...

5 minutes read.

Excel COUNTA() Function

Excel COUNTA() Function The COUNTA() function counts the number of cells in a range that are not empty. Syntax COUNTA([value1], [value [2], ...) Parameter value1(required)- This parameter represents the first cell in the range. value2, …(optional)- It represents...

1 minute read.

Application Interface and Key Components

The essential key components of Excel are as follows: Ribbon TabQuick Access ToolbarFormula BarActive CellColumnsRows Name BoxSheet TabsZoom ControlStatus Bar Ribbon Tab: The ribbon includes tabs labeled Home, Insert, Page Layout, Formulas, Data, Review,...

3 minutes read.

Goal Seek in Excel

Goal Seek in Excel The Goal Seek Excel function in Excel facilitates an automatic solving approach by adjusting a few pointers to reach a required output. Goal seeking is used when you have a value in...

3 minutes read.

Excel MID() Function

The MID() function in excel is used to return a specific number of characters from a text string starting at the position you specify. One can change the start of the string, thus...

1 minute read.

Excel Unique Values

The Unique function in Excel filters the list of unique values from the given data like range or array. The data presented is either number, text, date, time etc. This...

3 minutes read.

Converting Units in Excel

The numeric values present in Excel consist of various types such as constant, integer, decimal etc. For calculation purposes, the values present in the data need to be converted to...

4 minutes read.

How to apply Data Protection to the Worksheet?

What do we mean by Data Protection? Data Protection in excel involves in protecting your file/data from some other user and also prevents the following accidents – Accidentally deleting or changing the formulas in...

3 minutes read.

Gauge Chart in Excel

A Gauge Chart in Microsoft Excel is considered the meter type chart of a group dial chart, which is eventually similar to the speedometer that has the pointer towards the...

7 minutes read.

Unique Values in Excel

The Unique function in Excel filters the list of unique values from the given data like range or array. The data presented is either number, text, date, time etc. This...

3 minutes read.

How to remove duplicate values from excel?

Remove duplicate values from excel Duplicate values occur when the same date or set of values is repeated in your Excel sheet. While working with Excel sheets many a time, the...

5 minutes read.

Excel ROUNDUP() Function

Excel ROUNDUP() Function The ROUNDUP() function in excel returns a number rounded up to the nearest possible value and away from zero. Syntax ROUNDUP(Number, num_digits) Parameter Number(required)- This parameter represents the number which you want to...

1 minute read.

Excel ROUND() Function

Excel ROUND() Function The ROUND() function in excel rounds the numbers to specified digits. Syntax ROUND(Number,num_digits) Parameter Number(required)- This parameter represents the number which you want to round up. num_digits(required)- This parameter represents the number of decimal places to which...

1 minute read.

Excel Axes

What is Excel Axes? Axes are a horizontal or vertical line containing units of measure. There are two types of axes X and Y axes. X is a horizontal and Y...

3 minutes read.

Excel Nested IF’s Function

Excel Nested IF’s Function This function in excel helps in checking multiple conditions together by using IF conditions within the IF condition. Syntax if(Logical_Test, [value_if_true], if(Logical_Test, [value_if_true] , [value_if_false])) Parameter Logical_Test (required)- This parameter represents the condition which...

2 minutes read.

Dependent Drop-down List in Excel

Excel forms are used to fetch data from the end user. When we have to give choices, we often use the drop-down feature of Excel. In this tutorial, we won’t...

7 minutes read.

Excel WEEKDAY() Function

The WEEKDAY () function in excel returns number from 1 (Sunday) to 7 (Saturday) identifying the day of the week based on its date. This function Default return is - Sunday would be...

1 minute read.