What-If Analysis Tools in Excel: "Ovidius" University of Constanta, Faculty of Economic Sciences
What-If Analysis Tools in Excel: "Ovidius" University of Constanta, Faculty of Economic Sciences
Cosma Emil
"Ovidius" University of Constanta, Faculty of Economic Sciences
[email protected]
Abstract
What-If Analysis tools are available in Excel and they can be used for a variety of purposes.
This paper is concerned with their description, as well as a few examples of their applications in
financial models. For this reason, two types of data tables are taken into account: one-variable
data tables and two-variable data tables. We will look at how these can be structured in order to
show us the effect that a loan could have on our yearly budget, by experimenting with different
values for the interest rate and total number of payments. We will also employ the use of PMT and
IPMT functions.
1. Introduction
When a formula already exists, Data Tables help us see how it is affected by variables (in this
case, we will use one or two variables). So, suppose that we have a formula in which one or two
variables were included, or perhaps a larger number of formulas that have one variable in common.
A What-If Analysis Data Table would make it easy for us to analyze a variety of possible
outcomes, as they are all gathered in one place, in the form of a table, which is straightforward and
readable. Moreover, data can be continuously updated. As long as the workbook enables automatic
recalculations, the results will be updated as well.
Tables retrieve input data from rows and columns, use them in formulas and then display them in
tabular form. The main idea behind their design is represented by defining a formula which is only
written once, but applied multiple times. In order to create a two variables data table, you have to
execute the following steps:
a. You apply the formula for two variables (I 1 and I 2 ), located in two cells (the row input cell
and the column input cell respectively):
Figure no. 1. Screenshot
I1 I2
Formula V1
Results
V2
240
“Ovidius” University Annals, Economic Sciences Series
Volume XVIII, Issue 2 /2018
b. Fill in the input values, for which the same formula is applied, thus:
• on the right of the formula, on the same row: input values V 1 of type I 1 ;
• under the formula, on the same column: input values V 2 of type I 2 ;
c. Select the cells which will make up the table (the selection begins with the formula and it
includes input values V 1 and V 2 );
d. On the Data tab, click on What-If Analysis, option Data Table;
e. In the Data Table window, fill in Row input cell and Column input cell – the addresses of the
input cells for rows and columns (they include values I 1 and I 2 ).
3. Data table basics
Create either one-variable or two-variable data tables, depending on the number of variables and
formulas that you need to test.
Example: Calculate the expression a+2*b b for different values of a and b (Figures no. 2 – 6).
a) In two cells type the input values (for example 4 and 3) and reference the input cells as a
and b, respectively:
b) In a different cell on the worksheet, enter the formula that refers to the two input cells,
a, b (=a+2*b):
Figure no. 3. Screenshot
241
“Ovidius” University Annals, Economic Sciences Series
Volume XVIII, Issue 2 /2018
input cell boxes (a – the row input cell, for values of type a; b – the column input cell,
for values of type b). Click .
e) The table displays the output values derived according to the formula – {=Table(C1;D1)}:
Figure no. 6. Screenshot
What-If Analysis has numerous applications in finance (for instance, Rate – Interest rate and
Nper – Number of payments)
In the following example we use a data table to vary the interest rate and term length that are
used in a loan to determine possible monthly payment amounts (Figures no. 7).
Example: Suppose that we have a $32,000 loan over a period of 5 years, with an annual interest
rate of 10%. We would like to see how the values for monthly payments would change for
different total numbers of payments (in this case, 3, 6, and 4 years) and for different values of
the annual interest rate (keeping in mind that 11% is the maximum value).
242
“Ovidius” University Annals, Economic Sciences Series
Volume XVIII, Issue 2 /2018
One-variable Data Tables are a particular case of two-variable Data Tables - explained before
(Figures no. 8 - 11).
Example: Suppose that we have a $32,000 loan over a period of 5 years, with an annual interest
rate of 10%. We would like to see how the values for monthly payments would change for
different values of the annual interest rate (keeping in mind that 11% is the maximum value).
We will also calculate the interest payment for each case.
a) Create a spreadsheet similar to the one in the image below (cells D3, D4, D5 contain
data of numeric data types):
Figure no. 8. Screenshot
b) In cells C8 and D8, write the desired formulas using the PMT and IPMT functions:
=PMT(D5/12;D4*12;D3) , =IPMT(D5/12;D4*12;D4*12;D3):
243
“Ovidius” University Annals, Economic Sciences Series
Volume XVIII, Issue 2 /2018
c) Select the data table, the cells ranging from B8:D14 (it contains the two cells in which
the two formulas were typed and the interest rate column). We have only one input
cell, on the column (D5):
Figure no. 10. Screenshot
244
“Ovidius” University Annals, Economic Sciences Series
Volume XVIII, Issue 2 /2018
5. Conclusions
By employing the use of What-If Analysis in Excel, it is possible to explore a variety of results,
derived from distinctive sets of values included in one or more formulas. A real-life financial
situation in which What-If Analysis would prove useful is when you want to create two different
budgets, each of them based on a different level of revenue. You could try another approach as
well: perhaps you already have a resulting value, and you would like to know which input values
would lead to that result. Excel is endowed for a wide range of purposes, depending on what you
are looking to achieve.
6. References
245