One-Variable Data Table (Sensitivity)

Excel Formulas › Analysis

All versionsData Table

See how one result reacts as a single input sweeps across a range — a loan payment at many rates, profit at many volumes. A Data Table recalculates the model for each input in one structured block.


Quick formula: list inputs down a column, put the formula one row up and one column right, then:
Data → What-If Analysis → Data Table → Column input cell: [the input]
Excel fills the table by plugging each listed input into your model and recording the result — all at once.

Functions used (tap for the full reference guide):

The example

Monthly payment on a $25,000 loan at several rates.

AB
1RatePayment
25.0%$471.78
36.0%$483.32
47.0%$495.03

The formula

The model formula sits at the head of the input column:

Inputs (rates) down a column; formula =PMT(rate/12,60,-25000) top-right Data Table → Column input cell = the rate cell // one payment per rate

How it works

A Data Table sweeps one input automatically:

  1. List the input values you want to test down a column.
  2. Put your model formula one row above the first input and one column to the right.
  3. Select the block (inputs + formula), then Data → What-If Analysis → Data Table.
  4. Set Column input cell to the model’s input cell. Excel computes the result for every listed value.

No Data Table? Use a plain formula. Often you can just write the model formula referencing the input cell in each row — =PMT(A2/12,60,-25000) filled down a rate column does the same thing and is easier to audit. Data Tables shine when the model is complex and you don’t want to rewrite it per row.

Try it: interactive demo

Live demo

Loan payment across rates (25k, 60 mo).

Variations

Plain formula column

Often simpler:

=PMT(A2/12, 60, -25000)

Row orientation

Inputs across a row → Row input cell.

Multiple outputs

Add more formula columns to the table head.

Pitfalls & errors

Formula placement is precise. For a column table, the formula goes one row up and one column right of the inputs — misplacing it breaks the table.

Column vs Row input cell. Inputs down a column use Column input cell; across a row use Row input cell. Mixing them gives wrong results.

Data Tables recalc a lot. Big tables slow the workbook; consider manual recalc or a plain formula column.

Practice workbook

📊
Download the free One-Variable Data Table (Sensitivity) practice workbook
A sensitivity sheet with a payment-vs-rate column (formula form), plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I make a one-variable data table in Excel?
List the inputs down a column, put the model formula one row up and one column to the right, select the block, then Data → What-If Analysis → Data Table and set the Column input cell to your input.
Where exactly does the formula go?
For a column-oriented data table, the formula sits one row above the first input and one column to the right of the input list.
Is there a simpler alternative?
Yes — write the model formula referencing the input cell and fill it down the input column, e.g. =PMT(A2/12,60,-25000). It's easier to audit than a Data Table.

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related formulas: Two-variable data table · Goal Seek · Loan payment sensitivity

Function references: PMT