11.3 One-variable Data Table
Compare a whole list of values for one model input
The fictional delivery store has a break-even estimate. Its manager now wants to see the actual modeled result at several volumes below and above that threshold. A single threshold does not tell her how large the loss is at 400 daily orders, or how much modeled headroom the plan gains at 550. Typing every value into the model by hand can work. A one-variable Excel Data Table asks the worksheet to repeat the same calculation for a whole list and collect the results in one place.
This lesson uses two fictional grocery examples. In the short model you compare monthly orders using ₹18 contribution per order and ₹27,000 monthly fixed cost. In the larger Wakad model you compare daily order counts and then change delivery cost while monitoring two outputs. The difference between the two tables is the input the table varies. It remains one variable even when two or three different result formulas are displayed beside each candidate.
List the candidates, link the result formulas and point the dialog to the original model input. Verify one candidate by hand before relying on the whole output block.
Separate the four jobs in a sensitivity sheet
- Model input. An editable cell used by the workbook, such as Model B2 for daily orders.
- Candidate list. Numeric values to substitute into that input, such as 350, 400 and 450.
- Formula link. A reference such as
=B13to the verified result, placed in the correct header position. - Generated results. Excel's What-If Data Table values for every tested candidate and the linked outputs, arranged in the workbook.
A standard Excel Table organizes rows and columns with headers, formatting and optional filters. It is an appropriate place to store data and does not create a sensitivity calculation on its own. The What-If Analysis command creates a special Data Table result. The two Excel features share part of a name. Begin with an ordinary worksheet range for the candidates in this lesson. You will use the appropriate Data Table dialogue after setting up the formula and original input.
Describe sensitivity in terms of what stayed fixed
A result of ₹38,400 at 550 daily orders means “with these other inputs kept as entered.” It answers how the profit formula responds to a change in volume. It does not establish that the store's average basket stays the same when volume grows. If you expect packaging or staffing cost to increase with volume, include a model rule or keep the existing assumption explicit. A sensitivity list makes some effects easy to observe and highlights assumptions you should challenge before using a result.
One input can also have more than one output consequence. Raising order volume increases modeled revenue, gross margin amount and modeled delivery cost. Those are different measures of the same candidate. The workbook can show them side by side so a reader understands why an increase in revenue does not necessarily eliminate a loss. Start from a model that gives reproducible results, then choose which formula outputs actually answer the decision.
Separate a known range from an arbitrary set of trials. In a quick planning review the team might request five evenly spaced daily counts. A later decision could warrant several candidates within one or two orders of the modeled boundary. Test choices with realistic units and clearly label those that lie outside capacity. A result that is useful as a comparison on paper may be infeasible as an operational plan.
Lab 1. Build a vertical table over the short monthly model
Confirm the model and baseline
Make a new practice sheet named MiniSweep. Enter 1200 in B1 for monthly orders, 18 in B2 for modeled contribution per order and 27000 in B3 for monthly fixed cost. Put =B1*B2-B3 in B4. With the original inputs it shows −₹5,400. If Goal Seek left a previous workbook at 1,500 orders, restore the baseline or create this clean sheet so you can tell what the separate inputs represent.
On the same MiniSweep sheet enter 1000, 1250, 1500, 1750 and 2000 in D2:D6. Leave D1 as the blank top-left corner of the selected test rectangle. In E1 type =B4. E1 is one row above the first candidate and one column to its right. D2:D6 is the candidate list. E2:E6 is where Excel will place results. Put explanatory labels outside the selected body, such as D8 “Monthly orders” and E8 “Modeled monthly result in rupees,” or in a caption above a different starting row.
- Select the full rectangle. Choose D1:E6, including the corner, candidates, formula header and result space. Selecting just the empty result column leaves Excel without the candidates.
- Open the supported Data Table command. In desktop Excel look under Data → What-If Analysis → Data Table. Menu grouping and available controls depend on client and version.
- Bind the original input. Leave Row input cell blank. Enter B1 in Column input cell because the values in D2:D6 go down a column.
- Generate and inspect. Excel supplies the result for every candidate. Check E2 for −₹9,000 and E4 for ₹0. Expect E6 to show ₹9,000.
- Check your baseline. B1 still represents the working monthly assumption, 1,200 in this test. A Data Table tests the alternate inputs against the model. Verify the original cells and B4 after creating it.
| Candidate orders per month | Modeled monthly result ₹ |
|---|---|
| 1000 | -9000 |
| 1250 | -4500 |
| 1500 | 0 |
| 1750 | 4500 |
| 2000 | 9000 |
For a manual check compute 1250 times ₹18 = ₹22,500. After ₹27,000 fixed cost the result is −₹4,500. Neighbor candidates in this table differ by 250 orders, so outcomes improve by 250 times ₹18, or ₹4,500 per row. At 1,500, total contribution equals the included fixed cost. Repeating one exact row and one expected difference confirms more of the calculation than glancing at a green number.
Where the formula bar represents result cells with a special TABLE array formula, let the Data Table command create it. The exact display can vary. If you need to remove or rebuild a test range, select the applicable generated result block together in a practice copy rather than trying to type over a single output. Keep the candidate and formula inputs for regeneration. Change the candidates or run a new sweep when the decision changes.
Move the same example across a row to understand the other field
On a clear area of MiniSweep put 1000 through 2000 across I10:M10 using the same five values. Type =B4 in H11, one column to the left of the first candidate and one row below it. H10 is the blank corner. Select H10:M11. In the Data Table dialog put B1 in Row input cell and leave Column input cell empty. The expected results run across I11:M11, in the same logical order as the earlier vertical version.
An additional output for a horizontal version belongs below the previous formula in the left formula column. For example in H12 put =B1*B2 to return total before monthly fixed cost. Select H10:M12 and apply the Row input cell B1 to the whole rectangle using the supported command. At candidate 1,000 the contribution is ₹18,000 and modeled result is −₹9,000. At 1,500 contribution matches ₹27,000 and result is zero. This is still one varied input. The two output formulas answer two related questions.
Trace three independent parts of a test range
In the vertical version D2 is the first hypothetical candidate, not a location that gets overwritten permanently. B1 is the original assumption that B4 reads. E1 points at the output. Suppose you choose E1 as the input instead of B1. The Data Table would lack the intended relationship between candidates and the monthly order count. If you point E1 at B3, it will read fixed costs instead of the target result. Begin with the input, the output formula and one verified substitution before reopening a dialogue that failed.
Test the same Data Table after changing only the working monthly count from 1200 to 1300. B4 becomes −₹3,600, and the header E1 shows the current model output. The five candidate results still describe the same five explicitly tested monthly volumes with contribution and fixed costs unchanged. A candidate's result is determined by the hypothetical substitution. The current model output can differ from every row. If the current count is included as a candidate and the other settings match, its row should agree with the formula.
Try a mistake on a replaceable copy. Put a result heading such as “Modeled result” in E1 in place of the formula reference. The text label provides no linked numeric model result. Restore =B4 in E1, put the descriptive text outside the selected rectangle and build the Data Table anew. Labels can go above or below the setup if they stay outside the formula and candidate cells. Describe why the visual heading alone does not make it an output link.
Know which cells you keep when extending the range
Suppose the reader asks for a candidate of 1,600 between 1,500 and 1,750. Save the existing data or make a separate test block, include all desired inputs and choose a result range tall enough to hold the new row. If Excel treats the previous result cells as a special table, work with the entire output block. A regular formula copied down from one generated cell is not an accurate recreation of the What-If calculation. Rebuild and confirm the new 1,600 row returns ₹1,800. Then check that the two original endpoints still match.
Use the larger model to compare daily orders
Enter the first original Wakad candidate range
Return to the Model worksheet with B2 daily orders 400, B3 basket ₹320, B4 days 30, B5 margin 18%, B6 delivery ₹28 and B7 fixed ₹4,50,000. B9 is =B2*B4, B10 =B9*B3, B11 =B10*B5, B12 =B9*B6 and B13 =B11-B12-B7. Verify −₹94,800. If you last showed Diwali or a margin scenario, reset all assumptions, not only the daily order count.
On Model put 350, 400, 450, 500 and 550 in D3:D7. In E2 place =B13 and leave D2 as the corner. Select D2:E7 and set Column input cell to B2. Both the selected tested values and the original input are on Model. Keep that layout for the practice. Building a grid elsewhere without a correctly connected local input can cause an invalid cell reference or a table that cannot change the intended model.
| Candidate daily orders | Monthly result ₹ | Optional revenue check ₹ |
|---|---|---|
| 350 | -139200 | 3360000 |
| 400 | -94800 | 3840000 |
| 450 | -50400 | 4320000 |
| 500 | -6000 | 4800000 |
| 550 | 38400 | 5280000 |
At 450 orders per day, there are 13,500 orders in the month. Each contributes ₹29.60 after delivery assumptions. The contribution is ₹3,99,600 before ₹4,50,000 fixed cost, giving −₹50,400. The next candidate adds 50 daily orders. Monthly improvement is 50 times 30 times ₹29.60, or ₹44,400. Every row here follows the same linear model.
To add another dependent result, put =B10 in F2 and use the full D2:F7 range and the same B2 column input. In the sweep B10 changes because monthly revenue uses orders. B13 changes because gross amount and delivery expenses use orders. If both results are present you can verify that revenue at 400 is ₹38,40,000 alongside the expected loss of ₹94,800. A rising revenue series does not mean the model stays above break-even. Use units for both results.
Follow the 450-order candidate
Find it in the list
450 is one of five tested daily values in D3:D7, not the original B2 input.
Bind the input
The column binding evaluates the model using 450 in daily orders for that candidate.
Read held assumptions
Basket ₹320, days 30, margin 18%, delivery ₹28 and fixed cost ₹4,50,000 stay the same.
Check the two outputs
13,500 monthly orders at ₹320 give ₹43,20,000 revenue. At ₹29.60 contribution after delivery the modeled result is −₹50,400.
Narrow the volume sweep near break-even
The five original order candidates show negative result at 500 and positive result at 550. They establish a crossing between those candidates under the stated linear model. A fixed daily capacity of 500 means none of the tested choices within that cap achieves the target. If your goal is to identify the smallest whole candidate that reaches zero or more, build a short additional sweep with 505, 506, 507 and 508. Their modeled results are −₹1,560, −₹672, +₹216 and +₹1,104. A positive result at 507 supports that whole-number conclusion if the model and capacity allow it.
Compare this with Goal Seek in the previous lesson. Goal Seek solves for a continuous input close to the target. The Data Table checks the exact specified alternatives and can show the consequence of rounding. You can use both methods in one decision, saving the fractional root as evidence and confirming the practical neighboring values. Restore the baseline typed B2 of 400 after any accepted Goal Seek result. A sensitivity calculation over another input uses that baseline other input.
Be clear about whether the fixed inputs include operating days, historical estimates or a policy. At 500 orders a 26-day month has 13,000 orders. At the same per-order contribution that gives ₹3,84,800 before fixed cost and a ₹65,200 loss. The 30-day result at 500 was a loss of ₹6,000. If a Data Table still reads the old row after changing B4, ask whether it recalculated. If it updated, check the known changed value and revise the shared assumption label.
Lab 2. Change delivery cost and read both outputs
Build the original extension with a new input binding
Leave B2 at 400 and B6 at the starting ₹28. Put candidate costs ₹20, ₹24, ₹28, ₹32, ₹36 and ₹40 in D11:D16, and leave D10 as a corner. Put =B13 in E10 and =B10+0*B6 in F10. Select D10:F16. In the dialog use Column input cell B6, and leave the row input empty. The original daily volume no longer changes in this table. Check one candidate and both outputs against the fixed order count.
| Delivery cost per order ₹ | Modeled result ₹ | Revenue ₹ |
|---|---|---|
| 20 | 1200 | 3840000 |
| 24 | -46800 | 3840000 |
| 28 | -94800 | 3840000 |
| 32 | -142800 | 3840000 |
| 36 | -190800 | 3840000 |
| 40 | -238800 | 3840000 |
Revenue stays fixed at ₹38,40,000 because B10 does not depend on delivery cost in this model. That constant result is meaningful. The delivery costs still change profit because B12 deducts them. Microsoft describes additional formulas referring to the same varied input. The added zero times B6 keeps that reference explicit in the revenue check while leaving the verified numeric result unchanged. An ordinary cell formula outside the table can read B10 directly as a separate check. To see two responses that vary meaningfully with B6, add B12 for modeled total delivery expense. Verify the actual outputs you present.
Calculate the exact slope independently. There are 12,000 monthly orders. A ₹4 increase in the delivery candidate reduces the modeled result by ₹48,000. At ₹20 the result is ₹1,200. At ₹24 it is −₹46,800. A constant revenue column alongside the changing profit is expected, while a constant profit column needs diagnosis. Do not assume every number must change to prove that Excel substituted the input.
At 400 daily orders, baseline gross margin amount is ₹6,91,200. After subtracting ₹4,50,000 fixed cost, ₹2,41,200 remains to pay delivery costs. Dividing by 12,000 gives ₹20.10 per order. Add candidates around it in a separate rebuilt range if you want a nearer contrast: ₹20.09 gives ₹120 surplus, ₹20.10 gives zero and ₹20.11 gives ₹120 loss. The original ₹4 interval shows the broad direction and does not include the exact threshold.
Test a second baseline volume without changing the swept variable
On a copy set baseline daily orders to 500, leaving delivery candidates unchanged. Under the same basket, margin and fixed costs, total revenue becomes ₹48,00,000 for all delivery cost candidates. The result at a ₹24 cost is ₹54,000. At ₹28 it is −₹6,000 and at ₹32 it is −₹66,000. Every ₹4 change now alters monthly result by ₹60,000 because volume is 15,000 monthly orders. The direction remains the same and the size of sensitivity changes.
With 500 orders the cost limit to break even at fixed margin and basket is ₹27.60. Compare it with ₹20.10 at 400. More orders spread fixed costs across more volume, so the model allows a larger per-order delivery cost at break-even. That relationship assumes a fixed basket, margin and monthly overhead. It does not measure how a change in actual operating volume would alter those estimates. Record which orders/day baseline the cost sweep uses before taking a screenshot.
Add a stepwise expense to see what a sweep can reveal
Use a safe copy and an illustrative cost rule already introduced in 11.1: add ₹60,000 of monthly staffing cost when daily volume is above 500. Put the extra if-condition into the output formula and build a new mini sweep. At 500 the result is −₹6,000. At 525 it falls to −₹43,800 after the cost activates. At 550 the result is −₹21,600 and at 575 it becomes +₹600. An increase in orders can temporarily worsen the result at the staffing boundary even though each additional order within a cost band has positive contribution.
This example shows why you should read the model as well as the sequence. A straight line through a few widely spaced sampled points can conceal a discontinuity. Include the threshold itself and candidates on both sides when the actual rules change there. If you plot a chart of exact tested candidates, explain that the line between markers is an aid to reading and may disguise a step. Inspect the 500 and 501 test values to confirm how the increased cost is applied. A legitimate drop near a cost step should prompt a model explanation before it prompts a repair.
Diagnose a result that looks all the same or out of date
Check dependencies and orientation in order
- Results never change. Test the reference formula with a manual edit to the intended input. If the formula has no dependency, constant values may be expected. If it should depend, inspect the original input link and orientation.
- The dialog says the input cannot be used. Verify the original single model cell. Keep the tested range and input together for this exercise, with the input outside the selected rectangle. Check that you chose a single editable assumption.
- Values are all one row out of place. Count where the top formula sits relative to the first candidate. Include the exact candidate list and output rectangle in the selection.
- Some results show stale values. Inspect Application or workbook calculation settings in your supported client. Recalculate the Data Table as needed and test a known baseline row again.
- A duplicate copy is static. Check whether the copied range has been pasted as values. A snapshot can be useful with clear labels. Regenerate a functioning table in its own location if needed.
Sometimes the model being referenced is a single formula or a bounded workbook. A large Data Table can trigger many evaluations of a calculation chain. Microsoft documents a calculation mode, Automatic Except for Data Tables, in supported desktop clients. A user may choose it while editing a large workbook, but an old table stays misleading until one intentionally recalculates and verifies it. Desktop calculation changes can affect other open workbooks, so recognize the settings' scope. Use a modest candidate set and keep the tied assumptions and values visible.
Use a formula that provides an independent control when the Data Table dialogue is unavailable. With the same Wakad model on Model and the daily candidate in D3, =D3*$B$4*($B$3*$B$5-$B$6)-$B$7 computes the same modeled result and can be filled down. It reproduces the simple linear relationship rather than substituting a cell in an arbitrary workbook. This workaround compares known candidates directly. Label the ordinary range accordingly if you share it with someone who needs to edit or recreate the exercise.
Understand which table or calculation a colleague is opening
You might keep a clean Model worksheet and add a separate sensitivity tab. One workable pattern is to put an actual editable assumption on the same worksheet as the sensitivity Data Table, then have the main model read that assumption through a deliberate cell reference. The table's output formula can refer to the main model result. Test the response path before building the table. For example on a small workbook copy place the daily input in SweepLocal B2, set Model B2 to =SweepLocal!B2, and put =Model!B13 in the formula header on SweepLocal. The input link used by the table is SweepLocal B2. The baseline examples keep the layout together on Model to avoid unnecessary dependencies.
When using a separate input sheet, label which sheet owns the editable value. If someone later types a number over Model B2, the primary result loses its link to SweepLocal B2. The table may recalculate to the same value in every row. Restore the verified reference and test a known candidate. An apparently broken table can be correctly evaluating a worksheet that no longer reads its selected input.
The core calculation can be checked even without a supported dialogue. If you use the manual formula extension, preserve the fixed-cell addresses when copying. In the profit check candidate D3 changes to D4 and D5 down the list. The held assumptions have dollar signs to stay in their current cells. If you copy without fixing the assumptions, a row might begin reading a margin or cost from another address. Reconcile at least the baseline and one end of the candidate range.
Measure performance using a small reproducible test
Begin with five candidates and one or two outputs. If you need a much larger table, decide which values could change the decision rather than generating hundreds automatically. Microsoft explains that Excel Data Tables perform repeated recalculation and that they can run single-threaded. A large workbook can therefore feel slow when it updates a big sensitivity range. Try fewer candidates near the decision area before changing calculation settings, and check results before sharing if some table updates are manual.
Microsoft's calculation guidance includes a Calculate Now path to recalculate open worksheets including data tables in desktop Excel. Use the supported method in your build and verify the results directly. If you change a workbook-wide or application-wide setting during a practice exercise, note it and restore the setting used by the recipient as appropriate to your environment. After recalculation, inspect a known row with the exact held assumptions. Do not infer successful refresh because the status bar disappeared.
Use an explicit review check for the original workbook
Save the original scenario and a changed sensitivity result under clear names. On the original daily model review 400 gives loss ₹94,800 and revenue ₹38,40,000. On the alternate delivery sweep check the cost 28 row returns those same outputs. In that sweep the header and title should say delivery cost varies and daily orders are 400. Both tables can reproduce the baseline for different reasons. Recompute one other candidate for each so you can detect an accidentally swapped input cell.
Ask a colleague to take a labeled result cell and find the tested candidate, original editable input and formula header. Have them compare the row to the manually reproduced amount. Ask which result is held constant by design and where the fixed assumptions are recorded. Their independent explanation signals that the model can be maintained rather than merely viewed. Keep the known limits close to the table so the reader can distinguish a conditional output from a recommendation.
Try a percentage input with a different unit of change
Create a separate three-row sensitivity test for margin at 15%, 18% and 21%, using actual numeric fractions and the original 400 daily volume. Bind the column to B5. Each outcome reflects the same projected revenue ₹38,40,000. At 15% gross margin is ₹5,76,000 and the result is −₹2,10,000. At 18% profit is −₹94,800. At 21% gross margin is ₹8,06,400 and the result is ₹20,400. The 18-to-21 change is three percentage points. Each point adds ₹38,400 under this exact original revenue assumption.
Write candidate values as 15%, 18% and 21%, or use the numeric values 0.15, 0.18 and 0.21 and format them. A text numeral may display similarly but can cause unexpected coercion or fail a numeric formula. Validate the intended list with numeric type checks and supported data entry controls. Avoid empty candidate cells within the selected list. If a blank is accidental, close the intended range before building the Data Table. Run a deliberate tested zero if zero has a valid documented business meaning.
You can explain sensitivity in a sentence by naming the measurement and change. At 400 daily orders a ₹1 change in delivery expense per order moves monthly profit by the opposite ₹12,000. A ₹1 change in AOV holding fixed margin and volume moves monthly profit by ₹2,160, because 18% of ₹1 applied to 12,000 orders is ₹2,160. One percentage point of margin moves it by ₹38,400. Those are three different input units. Do not rank “sensitivity” simply by the largest number until you decide which input changes are plausible.
Include an explanatory label when a result spans several tested assumptions
Give each result area a descriptive caption. Use “Modeled result at 400 daily orders, delivery cost varies” on the cost table. On the volume table use “Order volume varies, ₹28 delivery per order.” A reader taking a screenshot should still know which input values define the comparison. If a graph highlights break-even, retain the date basis and note whether the tested candidate exactly reaches the target or crosses into a positive amount.
Prepare a simple next-step check after the one-variable exercise. The manager might need the combined effects of lower daily orders and higher delivery cost. Keeping one fixed at a baseline silently excludes part of that question. Use a two-variable test over separate model inputs next, with one clearly linked formula. If you instead want named proposed bundles supported by a team, place those input sets together in Scenario Manager. Choose a view that answers the question in its current form.
For a final handoff, provide both the displayed results and the smallest example needed to reproduce them. A colleague should be able to enter one candidate, calculate the held-order contribution and compare the generated number. If your workbook uses a separate review sheet, note which original input the table references and how the formulas are connected. If the recipient only needs the conditional results in a slide, export a compact static table with the baseline assumptions and date. Avoid labeling the fixed values as currently calculated after the workbook assumptions change.
Check your understanding
Five practice questions with answers
Why use B1 as Column input cell in the short table?
The tested monthly counts are in a column and B1 is the original editable monthly count read by the model. Their list cells do not replace that reference.
Where does the output formula link go in column orientation?
One row above the first candidate and one column to its right. In the short table D2 starts the list, so E1 identifies the result formula.
How many inputs does a table with two output columns change?
One for a one-variable table. The output formulas can provide two different measurements for the same tested candidate.
Why is revenue unchanged when delivery varies?
Revenue depends on monthly orders and AOV in this model. Delivery cost affects the profitability calculation. A flat known control can be correct.
Where is break-even in the cost example?
At ₹20.10 per order with the original 400 daily volume and other assumptions. The original ₹4 steps show the direction but do not include ₹20.10.
Five interview questions with worked answers
When do you use a one-variable Data Table rather than Goal Seek?
I choose it to compare the output across a set of given inputs. Goal Seek helps find one input for a known target.
How would you confirm the input bindings?
I identify the model's real input cell, inspect where the candidates run and test a known input manually. Then I verify two generated results.
How can you display profit and revenue from the same sweep?
I place both result links in the formula row or column appropriate to the orientation and use the one shared model input. I verify whether both outputs are expected to respond.
Why might a large data table appear stale?
Excel may have calculation settings that skip automatic table updates. A copied result can also be a static snapshot. I verify the actual range and recompute before release.
What does the table show about real demand?
It evaluates a model for selected inputs. I label the kept assumptions and check which candidates are realistic before interpreting them as possible plans.
Revision cards
- One input. Use one changing model assumption per trial.
- Column layout. List down, result links across the row above.
- Row layout. List across, result links down the column to its left.
- Range. Include corner, candidates, links and result space.
- Manual proof. Calculate an exact expected result independently.
- Precision. Keep units, baseline assumptions and current calculation evident.
Continue to a two-variable Data Table or visit the Excel Task Hub to practise alternate worksheet models.
Microsoft references
- One-variable orientation and adding formula outputs
- Compare What-If Analysis tools
- Data Table recalculation and precision
- Data Table calculation behavior and performance
- Range.Table row and column input roles
- Use stable model references and worksheet formulas
- Structured Excel Tables as a separate feature