Advanced Data Analysis What-If Analysis With Data Tables PDF
Advanced Data Analysis What-If Analysis With Data Tables PDF
With a Data Table in Excel, you can easily vary one or two inputs and perform What-if analysis. A Data Table is a range of cells in which
you can change values in some of the cells and come up with different answers to a problem.
If you have more than two variables in your analysis problem, you need to use Scenario Manager Tool of Excel. For details, refer to the
chapter – What-If Analysis with Scenario Manager in this tutorial.
Example
There is a loan of 5,000,000 for a tenure of 30 years. You want to know the monthly payments (EMI) for varied interest rates. You also
might be interested in knowing the amount of interest and Principal that is paid in the second year.
Name the cells containing the values, so that the formulas will have names instead of cell references.
Set the calculations for EMI, Cumulative Interest and Cumulative Principal with the Excel functions – PMT, CUMIPMT and CUMPRINC
respectively.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_data_tables.htm 1/7
9/7/2017 Advanced Data Analysis What-If Analysis with Data Tables
You can see that the cells in column C are named as given in the corresponding cells in column D.
Type the list of values i.e. interest rates that you want to substitute in the input cell down the column E as follows −
As you observe, there is an empty row above the Interest Rate values. This row is for the formulas that you want to use.
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 right of the first function.
Now, the two rows above the Interest Rate values look as follows −
Step 3: Do the analysis with the What-If Analysis Data Table Tool
Select the range of cells that contains the formulas and values that you want to substitute, i.e. select the range – E2:H13.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_data_tables.htm 2/7
9/7/2017 Advanced Data Analysis What-If Analysis with Data Tables
You can see that the Column input cell is taken as $C$2. Click OK.
The Data Table is filled with the calculated results for each of the input values as shown below −
If you can pay an EMI of 54,000, you can observe that the interest rate of 12.6% is suitable for you.
Example
There is a loan of 50,000,000. You want to know how different combinations of interest rates and loan tenures will affect the monthly
payment (EMI).
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_data_tables.htm 3/7
9/7/2017 Advanced Data Analysis What-If Analysis with Data Tables
Name the cells containing the values, so that the formula will have names instead of cell references.
Set the calculation for EMI with the Excel function – PMT.
You can see that the cells in the column C are named as given in the corresponding cells in the column D.
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.
Select the range of cells that contains the formula and the two sets of values that you want to substitute, i.e. select the range –
F2:L13.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_data_tables.htm 4/7
9/7/2017 Advanced Data Analysis What-If Analysis with Data Tables
You will see that the Row input cell is taken as $C$3 and the Column input cell is taken as $C$2. Click OK.
The Data Table gets filled with the calculated results for each combination of the two input values −
If you can pay an EMI of 54,000, the interest rate of 12.2% and 288 EMIs are suitable for you. This means the tenure of the loan would be
24 years.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_data_tables.htm 5/7
9/7/2017 Advanced Data Analysis What-If Analysis with Data Tables
Select the option Automatic except for data tables under Workbook Calculation in the Calculation options section. Click OK.
Advertisements
New
New New
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_data_tables.htm 6/7
9/7/2017 Advanced Data Analysis What-If Analysis with Data Tables
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_data_tables.htm 7/7