Use values from other sheets
Mixed references and other sheets8 min
Builds on Add it up with SUM and Copy a formula down a column.
A regional sales manager in Valencia keeps one sheet per month, each laid out the same way, and a Summary sheet at the front that brings the figures together. Formulas can read cells on any sheet in the workbook, so the summary updates whenever a month changes.
How it works
To use a cell on another sheet, write the sheet's name, an exclamation mark and the address: =Jan!B7. You rarely need to type it. Type =, click the sheet's tab, click the cell and press Enter, and Excel writes the reference and takes you back.
When a sheet's name has a space or a symbol in it, the name goes in single quotation marks, as in ='North Region'!B7. Excel adds them when you click.
To add up the same cell on a run of sheets, give SUM a 3-D reference: the first and the last sheet with a colon between them, then the cell. =SUM( adds B7 on Jan, on Mar and on every sheet between them in the order of the tabs. AVERAGE, COUNT, MAX and MIN take a 3-D reference too.
Example
The Summary sheet needs the first quarter's travel costs. Each monthly sheet has its travel total in B7.
=SUM(Jan:Mar!B7)With €1,240.00 in January, €980.00 in February and €1,415.00 in March, it returns €3,635.00.
| Tab | Sheet | In =SUM(Jan:Mar!B7) |
|---|---|---|
| 1 | Summary | no |
| 2 | Jan | yes, the first |
| 3 | Feb | yes |
| 4 | Mar | yes, the last |
| 5 | Notes | no |
Common mistakes
=SUM(adds just two sheets and leaves out February. A colon between the sheet names takes in every sheet between them.Jan!B7, Mar!B7) =North Region!B7, without the quotation marks, isn't a reference Excel can read. Click the tab and the cell, and Excel writes='North Region'!B7for you.- A sheet name with a typing mistake makes Excel ask for a file to update the values from. Cancel, and check the name against the tab.
- Deleting a sheet that a formula reads turns the reference into
#REF!. Renaming one is safe: Excel updates every formula that names it.
In short
=Jan!B7reads B7 on the Jan sheet. Click the tab and the cell to let Excel write it.- A sheet name with a space goes in single quotation marks.
=SUM(adds B7 on every sheet from Jan to Mar, in tab order.Jan:Mar!B7)
Practice
4 exercises · free, no account needed