Data Tables Excel Analysis: Scenario Testing Guide

Learn how to evaluate multiple inputs.

The CFO stopped mid-sentence. He'd spotted something in the revenue projection: a number that held steady across three different growth assumptions, which is physically impossible if your model is working correctly. That was the day a circular reference made it into a board presentation on my watch, and I've never trusted a single output cell since. What-if analysis using data tables in Excel became non-negotiable for me after that room went quiet.

A data table doesn't just recalculate your formula once. It recalculates it across a defined range of inputs and hands you every result at once — no manual swapping, no copy-paste errors, no forgetting what value you tested three versions ago. That's the job. And once you've built even one, going back to manually overwriting your input cell feels like navigating by stars.


What You Can Test — and What to Set Up Before You Run a Data Table in Excel

A one-variable data table tests one input against one or more formulas. A two-variable data table tests two inputs against exactly one formula. That's the full menu: Excel caps you there by design. If you need three or more variables, Scenario Manager is where you go next (more on that below).

Before you touch the Data tab, you need one thing in place: a working formula that references a specific input cell. Not a hardcoded number inside the formula. An actual cell reference. If your formula reads =B3*1.08 and 1.08 is your growth rate, that rate needs to live in its own cell (say, B2) so the data table has somewhere to plug its test values.

I color my input cells blue and calculation cells black. It's a convention I picked up early in my FP&A career, and it makes the data table setup almost self-explanatory to anyone else opening the file.

The one model requirement data tables can't work without

Your formula must reference the input cell directly, or through a chain that traces back to it. If your sensitivity variable is buried inside a named range that points somewhere else, the data table will silently return wrong results. Test this first: change the input cell manually and confirm your formula moves. If it does, you're ready.


Step 1: Build a One-Variable Data Table to See How a Single Input Drives Your Formula Results

With your formula and input cell confirmed, the one-variable data table comes together in about two minutes. This is the version that answers questions like: "What does net income look like if revenue growth runs anywhere from 2% to 14%?"

How to lay out the input values and point Excel to your formula

  1. Pick an empty area of the sheet — not inside your main model, but close enough to read alongside it.
  2. List your test values in a single column, such as D5:D12. These are the values Excel will substitute into your input cell one at a time.
  3. In the cell one row above and one column to the right of your first test value (so E4 if your values start at D5), enter a reference to your output formula cell. Not the formula itself: a reference to the cell that holds it, like =B15.
  4. Select the full table range: D4:E12 in this example. That block includes the formula reference cell, the input values, and the empty results area.

Running the data table and reading what comes back

  1. Go to Data → What-If Analysis → Data Table.
  2. Leave Row input cell blank. In Column input cell, enter the address of your input cell.
  3. Click OK.

Excel fills E5:E12 with results. Each row shows what your formula produces when the input equals the value to its left. Read it top to bottom and you'll see exactly where the output inflects. That's the point: not the individual numbers, but the shape of the range.

For a deeper look at how to structure the underlying data before running this kind of analysis, the guide on preparing data for analysis in Excel covers the groundwork well.


Step 2: Expand to a Two-Variable Data Table in Excel When You Need to Test Two Inputs at Once

Once you've confirmed the one-variable version works, expanding to two variables follows the same logic — but the layout rotates one input set onto the top row, and this is where people get tangled. I used to mix up the row and column input cell fields constantly until I drilled a simple rule: rows go in the row field, columns go in the column field, and the formula sits at their corner.

Positioning both input ranges so Excel doesn't misread your layout

  1. Place your first set of test values down a column — say, D5:D12.
  2. Place your second set of test values across a row — E4:I4.
  3. At the intersection of those two ranges (cell D4), enter a direct reference to your output formula cell.
  4. Select the full block: D4:I12.
  5. Go to Data → What-If Analysis → Data Table.
  6. In Row input cell, enter the input cell that corresponds to your row values (E4:I4). In Column input cell, enter the input cell for your column values (D5:D12).
  7. Click OK.

The grid fills in. Every cell in the interior shows what your formula returns at that specific combination of the two inputs. This is sensitivity analysis as Corporate Finance Institute defines it — and it's the format I run every time I'm stress-testing a forecast before it goes to leadership.


Step 3: Interpret the Output and Decide When to Bring In Scenario Manager Instead

A filled data table is not an answer. It's a map. Your job is to find the inflection points: the combinations where outcomes shift from acceptable to problematic, or from projected to aspirational.

In my FP&A work, I pay more attention to the receivables collection period than most people expect. A collection window ranging from 15 to 90 days produces more cash position variance than the revenue growth rate does in many models. Run that as one of your two variables and the table will probably surprise you.

Data tables are hard-capped at two inputs. If you're modeling three assumptions simultaneously — revenue growth, operating margin, and collection period, for example — Scenario Manager handles named scenario sets with as many changing cells as you need.

The tradeoff with Scenario Manager: it doesn't produce a grid. You see one scenario at a time. For visual comparison across a range of inputs, the data table wins. For discrete named scenarios with more than two moving parts, Scenario Manager is the right call.


Common Mistakes That Break Excel Data Tables (Including the One That Makes Every Cell Show the Same Number)

If every cell in your output range shows the same number, you've pointed the input cell field at the wrong cell. Excel substituted your test values into a cell your formula doesn't actually reference, so the formula never changed. Double-check that the cell address in the dialog matches the cell your formula genuinely pulls from.

The second failure mode is a misaligned formula position in a two-variable layout. The formula reference must sit at the exact corner where your row and column ranges meet (D4 in the example above). One cell off and the table either errors or returns garbage.

Results not updating? That's almost always manual calculation mode. Go to Formulas → Calculation Options → Automatic, or press F9 to force a recalculate. Excel deliberately excludes data tables from automatic recalculation when manual mode is on — useful in large workbooks, but disorienting if you don't know it's set.

Speaking of large workbooks: multiple data tables with wide input ranges will slow your file noticeably in Microsoft 365. The fix is the same area — switch to Automatic Except for Data Tables under Calculation Options. Tables recalculate only when you press F9, which keeps the workbook responsive while you're building and only refreshes the tables when you're ready.

Before I call any model production-ready, I run the input range through zeros, negatives, and intentionally large numbers. Edge cases break assumptions you didn't know you'd made. Do this with your data table ranges too — you want to know where the model behaves strangely before someone else finds it.

If you're newer to Excel and want to build foundational skills before going further, the Excel for beginners starter guide is a solid place to start. And if you're applying this kind of analysis to inventory or retail operations specifically, the walkthrough on data analysis in Excel for retail inventory shows how these tools translate to a real business context.


Frequently Asked Questions

Why is my Excel data table not updating automatically?

Your workbook is likely set to manual calculation mode, or to "Automatic Except for Data Tables" — a setting Excel uses to reduce recalculation load in large files. Go to Formulas → Calculation Options → Automatic to restore full auto-recalculation, or press F9 to manually refresh the table without changing the setting.

What is the difference between a data table and Scenario Manager in Excel?

A data table generates a grid of results across a continuous range of one or two inputs — ideal for sensitivity analysis where you want to see every combination at once. Scenario Manager stores named discrete scenarios with up to 32 changing cells, making it the better choice when you need to test three or more variables or present clearly labeled best/base/worst cases rather than a full grid.

Can Excel data tables handle more than two variables?

No — Excel data tables are hard-capped at two input variables. If your analysis requires three or more changing inputs, Scenario Manager is the correct tool. It doesn't produce a visual grid the way a data table does, but it handles multiple variables and lets you name and save each scenario for easy comparison.