Ravindra BagaleCourses & study guides मराठी Track your progress

11. What-If Analysis

11.3 One-variable Data Table

One-variable Data Table with example — in 30 seconds

What: A Data Table runs your model for a list of input values and shows every result at once.

Why: Instead of one break-even number, the manager sees profit for five order levels side by side.

Tiny example: At 1,000 orders profit is -₹9,000; at 2,000 orders it is ₹9,000.

First look at the data (before → after):

One-variable Data Table with example: before and after tables, fictional FreshGo Maharashtra data

Expected result — Filled Data Table

D: Orders E: Profit (₹)
1,000 -9,000
1,250 -4,500
1,500 0
1,750 4,500
2,000 9,000

About this data: Teaching sample for a fictional shop “GreenField Dairy”. Figures and names (e.g. Rohan Patil) are made up for this lesson on one variable data table.

Before table and formula as text

Before — Input list in D2:D6, formula =B4 in E1

D: Orders E: Profit
1,000 —
1,250 —
1,500 —
1,750 —
2,000 —

About this data: Demo table only — not real customer or company data. Built to practise one variable data table.

Formula / click path

E1: =B4
Select D1:E6 › Data › What-If Analysis › Data Table…
Column input cell: B1

Do it step by step:

  1. Type the five order levels in D2:D6.
  2. In E1, type =B4 (the profit cell).
  3. Select D1:E6.
  4. Click Data › What-If Analysis › Data Table….
  5. Leave Row input cell empty, set Column input cell to B1, and click OK.

A Data Table shows the result for many values of one input at once (sensitivity table).

Steps in Excel – profit for different orders per day

  1. In D3:D7 type the input values: 350, 400, 450, 500, 550.
  2. In E2 (one row above and one column right of the first value) type =B13 (link to Profit).
  3. Select D2:E7.
  4. Data › Forecast › What-If Analysis › Data Table… › leave Row input cell empty › Column input cell: B2 › OK.
Orders/day Profit
350 -₹1,39,200
400 -₹94,800
450 -₹50,400
500 -₹6,000
550 ₹38,400

About this data: Made-up rows so you can copy the pattern for one variable data table. Currencies may use ₹, £, € or $.

The cells contain {=TABLE(,B2)} – you cannot edit a single cell of the result; select the whole result area to delete it.

Ravindra Bagale's Tip

Swapping the Row input cell and Column input cell in a Data Table is a classic mistake of many students, and then all the results come out the same. If the values are written downwards (in a column), use the Column input cell. And the input cell must be on the same sheet as the Data Table. A big data table makes the file slow – you can use Formulas › Calculation Options › Automatic Except for Data Tables.

Practice task

Build a one-variable data table of Profit for delivery costs ₹20 to ₹40 in steps of ₹4. Add a second result column for Revenue.

Loading practice tasks...

  1. Revenue at £18 (Easy): Revenue in row 2.
  2. Revenue at £28 (Easy): Revenue in row 7.
  3. Profit at £22 (Easy): Profit in row 4 using cost B8.
  4. All revenues (spill) (Medium): Revenue for rows 2 to 7 in one formula.
  5. All profits (spill) (Medium): Profit for rows 2 to 7 using cost B8.
  6. Highest revenue (Medium): Biggest revenue across rows 2 to 7.
  7. Highest profit (Medium): Biggest profit across rows 2 to 7.
  8. Best price for profit (Hard): The price in A2:A7 that gives the highest profit.
  9. Units lost from £18 to £28 (Hard): Units at £18 minus units at £28.
  10. Prices with profit above £14,000 (Hard): How many prices give profit above 14000?

Quick revision cards

Three standalone cards. Each one explains the idea with its own example. Scan the QR to open this lesson.

Revision card 1: What is One Variable Data Table?
Card 1: What is One Variable Data Table? · Download PNG
Revision card 2: Tiny example — One Variable Data Table
Card 2: Tiny example — One Variable Data Table · Download PNG
Revision card 3: Checklist — One Variable Data Table
Card 3: Checklist — One Variable Data Table · Download PNG