Building a Multiplication Table
Apply mixed references to fill a grid from a single formula.
Building a Multiplication Table is a free Excel Formulas Academy lesson on CoddyKit — lesson 4 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Excel Formulas Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
The Classic Challenge
The multiplication table is the perfect proving ground for mixed references. The goal: write one formula, copy it across the whole grid, and have every cell show the right product.
If you understand this, you understand mixed references for good. Let's build it step by step.
Setting Up the Grid
First lay out the headers. Put the numbers 1 through 10 across the top in row 1, from B1 to K1. Put the numbers 1 through 10 down the side in column A, from A2 to A11.
The cell where row meets column, like B2, will hold the product of its row label and column header.
What Each Cell Needs
Take cell B2. It should multiply its row label in column A by its column header in row 1.
- The row label lives in
A2(always column A) - The column header lives in
B1(always row 1)
So B2 is A2 * B1, but we must lock the right parts so it copies correctly.
Locking the Row Label
The row label must always come from column A, but its row should follow each grid row. So we lock the column only:
$A2
Copy across and it stays in column A. Copy down and it walks from $A2 to $A3 to $A4, picking up each new row label.
=$A2Locking the Column Header
The column header must always come from row 1, but its column should follow each grid column. So we lock the row only:
B$1
Copy down and it stays in row 1. Copy across and it walks from B$1 to C$1 to D$1, picking up each new header.
=B$1The Master Formula
Combine the two locked references and you get one formula that fills the entire table. Type this into B2:
=$A2*B$1
That is it. One formula, copied to all 100 cells, produces the complete multiplication table.
=$A2*B$1Filling the Whole Grid
Select B2 and copy it. Then select the full grid B2:K11 and paste, or drag the fill handle right then down.
Every cell instantly fills with the correct product. No retyping, no manual math: the dollar signs do the work for all 100 cells at once.
Spot-Checking a Cell
Click on cell D5 to verify. Its formula reads:
=$A5*D$1
Column A walked down to row 5 (the label 4), and row 1 walked across to column D (the header 3). So 4 * 3 = 12. The mixed references aimed at exactly the right inputs.
=$A5*D$1What Goes Wrong Without Locks
Try the naive =A2*B1 with no dollar signs. Copy it across to C2 and it becomes =B2*C1: it now multiplies a grid cell by a header, which is nonsense.
The grid fills with wildly wrong values. The fix is always the same: lock the column on the row label and the row on the column header.
=A2*B1Verifying the Corners
A quick way to trust the whole grid is to check its corners. Cell B2 should be 1*1=1, and the far corner K11 should be 10*10=100.
Click K11 and its formula reads =$A11*K$1: column A reached row 11 (label 10) and row 1 reached column K (header 10). If the corners are right, the mixed references held across the entire table.
=$A11*K$1The Pattern Beyond Tables
This same trick builds any two-input grid: distance tables, pricing matrices by size and color, scoring rubrics, and currency conversion charts.
Whenever values pull from a fixed header row and a fixed label column, reach for $A2*B$1-style mixed references and fill the whole thing from one cell.
Quick Check
One final check on the multiplication table.
Recap
You built a full multiplication table from one formula: =$A2*B$1.
$A2locks the column so it always reads the row labelsB$1locks the row so it always reads the column headers- Copy once to fill the entire grid
This mixed-reference pattern powers any two-way grid. You've now mastered absolute, relative, and mixed references.
Frequently asked questions
Is the “Building a Multiplication Table” lesson free?
Yes — the full text of “Building a Multiplication Table” is free to read here on the web, and the Excel Formulas Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Excel Formulas Academy course, upgrade to CoddyKit PRO.
What will I learn in “Building a Multiplication Table”?
Apply mixed references to fill a grid from a single formula. You practise Excel Formulas Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Excel Formulas Academy?
No prior experience is required. Excel Formulas Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 4 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Building a Multiplication Table” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Excel Formulas Academy lesson?
Yes. Every Excel Formulas Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- What the Dollar Sign Does
- Locking a Single Cell With Absolute References
- Mixed References for Tables
- Building a Multiplication Table