How to Use What If Analysis in Excel

What-if analysis is a powerful Excel tool used to analyze the effect of changing variables on outcomes. It is essentially the reverse of standard formulas. While formulas take known inputs to calculate an output, what-if analysis allows you to find the necessary input to achieve a particular result.

You can use what-if analysis for many applications, such as planning your budget, finding investment returns, or estimating monthly savings needed to meet retirement goals. One of the most popular what-if analysis tools in Excel is Goal Seek.

Monthly EMI calculation

Suppose a person takes a loan for $25,000 from a bank at the interest rate of 20% per annum and he agrees to pay off the loan in one and a half years (18 months).

All remaining data including monthly loan payment, monthly payment towards principal, monthly interest payment and remaining balance to be paid each month are calculated using financial formulas.

What IF Analysis Data

In this case, the person has to pay an amount of $1619.08 every month for 18 months to complete the loan. Assume that the person is capable of paying $2500 every month so that he can pay off the loan faster. So, how can we find out in how many months the person will be able to complete the loan if he pays $2500 monthly. Here comes the Goal Seek function into play.

Perform What-if analysis

Open Excel, copy the data shown above and save your file as What-if analysis.xlsx. Go to Data (main menu) > What-if analysis (in the Data Tools group) and select Goal Seek.

See also  How to use Power Query in Excel

What IF Analysis Goal Seek Ribbon

You will see a window like this:

What IF Analysis Goal Seek

Click in the textbox next to Set cell and click the cell E1 as we need to analyze the result by changing the monthly payment. In the To value: textbox, enter 2500 as this is our new value. After clicking in the By changing cell: textbox, click the cell B2 as we want to find out the change in number of payments (number of months).

What IF Analysis Goal Seek Set Cell

Excel will recalculate and tell you how many months it will take to pay off the loan at $2,500 per month.

What IF Analysis Data Set Cell

If you analyze the value in cell B2, you could find that it is 11.03. It means that you can complete the loan in less than a year (in 11.03 months) if you make a payment of $2,500 per month.

Notes average calculations

Suppose you are a student who plans to score an average of 80 in your semester exam. You scored 82, 70, 83 and 76 in the subjects English, Mathematics, Computer Science and Mechanics respectively. You have Statistics exam remaining and you want to calculate the marks you need to score in Statistics to achieve an average of 80.

What IF Analysis Students Notes

Select the Goal Seek function to open the window. Click in the textbox next to Set cell: and click the cell that contains the average score (here the cell containing the value 77.5). In the To value: textbox, enter 80 as this is your target average.

After clicking in the By changing cell textbox, click the cell that will contain the score of Statistics (here the cell just above the cell with 77.5).

See also  How to Geocode a Map Using 3D Maps (Previously Power Maps)

What IF Analysis Students Notes Average

From this data, it is clear that you have to score 89 in Statistics to achieve an overall average of 80. Similarly, you can use Goal Seek function in many different scenarios to analyze what input should be given in order to get a specific output.