Knowing how to use 3D references across multiple sheets in Excel lets one formula calculate the same cell or range on a whole stack of tabs. Instead of clicking through January, February and March to build a long chain of additions, select the first and last tab and let Excel handle everything in between. The steps below show exactly how to do it.
Key Takeaways
- A 3D reference follows this pattern: =SUM(Jan:Mar!B3).
- To build one, start the formula, click the first sheet tab, hold Shift, click the last tab, select the cell and press Enter.
- Every sheet positioned between the two end tabs is included in the result.
- The data should sit in the same cell or range on each sheet.
- Functions such as SUM, AVERAGE, COUNT, MAX and MIN accept 3D references, while SUMIF and COUNTIF do not.
Step-by-Step Guide: How to Use 3D References Across Multiple Sheets
Prepare the Sheet Tabs
- Step 1: Open the workbook and check that each sheet uses the same layout. If January keeps total sales in B3, February and March need it in B3 too.
- Step 2: Drag the sheet tabs so the ones to be calculated sit side by side. Think of the first and last tabs as bookends, because everything standing between them gets counted.
- Step 3: Place the summary sheet outside those bookends, either before the first data tab or after the last one.
Enter the 3D Formula
- Step 4: On the summary sheet, click the cell where the result should appear.
- Step 5: Type an equal sign, the function name and an opening parenthesis, such as =SUM(
- Step 6: Click the tab of the first sheet in the group, for example Jan.
- Step 7: Hold down the Shift key and click the tab of the last sheet, for example Mar.
- Step 8: Click the cell to calculate, such as B3, or drag across a range such as B3:B10.
- Step 9: Type the closing parenthesis and press Enter. The finished formula looks like =SUM(Jan:Mar!B3).

Tip: Check the result once against a manual addition, such as =Jan!B3+Feb!B3+Mar!B3. Matching totals confirm that the right tabs are inside the range.
Type the Reference Manually
Typing works well when the sheet names are short and easy to remember. The key is to separate the first and last sheet names with a colon, then add an exclamation point before the cell address.
- Step 1: Click the result cell on the summary sheet.
- Step 2: Type the formula, such as =AVERAGE(Jan:Dec!C5).
- Step 3: If either sheet name contains a space, wrap both names together in one pair of single quotes, as in =SUM(‘North Region:South Region’!B3).
- Step 4: Press Enter.
Choose a Supported Function
Swap SUM for whichever calculation the summary needs. These common options work with 3D references:
- SUM, AVERAGE and AVERAGEA
- COUNT and COUNTA
- MAX, MAXA, MIN and MINA
- PRODUCT
- STDEV, STDEVA, STDEVP and STDEVPA
- VAR, VARA, VARP and VARPA
- VSTACK and HSTACK in Microsoft 365
Copy the Formula to Other Cells
One formula can fill an entire summary table. Select the result cell, then drag the fill handle down or across. Relative cell addresses shift as usual, so B3 becomes B4 in the next row, while the sheet range Jan:Mar stays the same. To keep every copy pointed at one cell, use an absolute address such as =SUM(Jan:Mar!$B$3).
Name a 3D Reference for Reuse
This works best when the same group of cells feeds several formulas.
- Step 1: On the Formulas tab, select Define Name.
- Step 2: In the Name box, enter a name such as QuarterSales.
- Step 3: Clear the Refers to box and type an equal sign.
- Step 4: Click the first sheet tab, hold Shift and click the last sheet tab.
- Step 5: Select the cell or range, then select OK.
- Step 6: Use the name in a formula, such as =SUM(QuarterSales).
Add or Remove Sheets From the Calculation
The reference depends on tab position. A new sheet inserted or moved between the two end tabs joins the calculation automatically. Drag a middle sheet outside the bookends, and its values drop out. Moving or deleting an end tab also changes which sheets are covered, so review the formula after doing either.
Tip: Create two blank sheets named Start and End, then use a formula such as =SUM(Start:End!B3). Adding a new month becomes as simple as dragging its tab between those two markers.
Common Problems and Fixes
The Total Is Too High or Too Low
An extra tab is probably sitting between the end sheets, or a needed one has been left outside. Review the tab order from the first sheet to the last. Hidden sheets inside the range also count, so unhide tabs and check them.
The Formula Returns #VALUE!
This often happens when a 3D reference is placed inside a function that does not support it, such as SUMIF, COUNTIF or AVERAGEIF. Use a supported function from the list above for the cross-sheet calculation.
Excel Will Not Accept the Formula
Check the punctuation. Sheet names need a colon between them and an exclamation point after them. Names with spaces need single quotes around the full pair, such as ‘Week 1:Week 4’!D2.
A File Selection Window or #REF! Error Appears
A mistyped sheet name can make Excel search for something that is not in the workbook. Cancel any file window, then rebuild the reference by clicking the tabs instead of typing their names.
The Formula Returns #DIV/0!
AVERAGE shows this error when the referenced cells contain no numbers. Confirm that the formula points to the correct cell and that the values are stored as numbers rather than text.
A New Sheet Is Not Included
The new tab is likely positioned after the last sheet or before the first one. Drag it between the two end tabs, and the result updates.
Frequently Asked Questions
What is the correct syntax for a 3D reference?
Enter the first sheet name, a colon, the last sheet name, an exclamation point and the cell address inside a supported function, such as =SUM(Jan:Mar!B3).
Can a 3D reference include a range of cells?
Yes. A formula such as =SUM(Jan:Mar!B3:B10) adds that entire range on every sheet from Jan through Mar.
Can sheets that are not next to each other be referenced?
A single 3D reference covers one continuous block of tabs. Move the required sheets together, or list separate references, such as =SUM(Jan!B3,Mar!B3,Jun!B3).
Do 3D references work with SUMIF or COUNTIF?
No. SUMIF and COUNTIF do not accept 3D references and typically return a #VALUE! error.
Does a newly inserted sheet get included automatically?
Yes, as long as the new sheet sits between the first and last tabs named in the formula.
What happens if a sheet inside the range is deleted?
Excel removes the values on that sheet from the calculation. Deleting an end sheet also removes its values and changes the span of the reference.
Are quotes needed around sheet names?
Single quotes are needed when sheet names contain spaces or certain special characters. Place one pair around both names, such as ‘East Sales:West Sales’!B3.
Does every sheet need the same layout?
The values being calculated should be in the same cell or range on each sheet. A different layout can pull the wrong data into the result without showing an error.
