Excel Data Tables
Master Excel What-If Analysis with Data Tables
What-If Analysis Tools Overview
Data Tables
Show the range of effects of one or two different variables on a formula. Perfect for scenario analysis and forecasting.
Goal Seek
Works backwards from a desired result to find the input value needed. Useful for target-based calculations.
Mortgage Example Parameters
The Excel PMT function calculates monthly payments by dividing the annual interest rate by 12 for monthly periods, using 360 total payments for a 30-year mortgage term.
Interest Rate Scenarios for Data Table
Creating a One-Variable Data Table
Select the Complete Data Table
Include both the formula and all variable interest rates in your selection. Avoid partial selections that exclude either component.
Access Data Table Function
Navigate to Data tab, click Forecast group dropdown, and select Data Table to open the dialog box.
Configure Input Parameters
Identify if variables are in rows or columns, then specify the cell location that contains the value to be replaced in the original formula.
Execute Calculation
Click OK to let Excel automatically substitute the original value with each variable and calculate all scenarios.
Investment Growth Example
One-Variable vs Two-Variable Data Tables
| Feature | One-Variable | Two-Variable |
|---|---|---|
| Variables Tested | Single input | Two inputs simultaneously |
| Input Configuration | Column OR Row input cell | Both Column AND Row input cells |
| Results Display | Linear list format | Grid/matrix format |
| Use Case | Interest rate scenarios | Investment amount + return rate |
Investment Amount Variables
Annual Return Rate Variables
When copying formulas for data tables, copy from inside the cell to maintain proper cell referencing. This ensures the data table correctly identifies which values to replace in calculations.
Two-Variable Data Table Setup
Maintains proper cell references for variable substitution
Ensures complete coverage of scenarios and proper result placement
Tells Excel which original values to replace with table variables
Confirms successful data table creation and calculation completion
Data tables show the range of effects of one or two different variables on a formula
Key Takeaways