In multi-branch companies, annual budgeting, or regional operations, data is commonly distributed across identical worksheets (e.g., 'Jan', 'Feb', 'Mar'... or 'Branch1', 'Branch2', 'Branch3'). Manually adding cells across 12 sheets ('=Jan!B2 + Feb!B2 + ...') is slow and error-prone. 3D Formulas and the Consolidate tool provide instant multi-sheet rollups.
1. 3D Formulas: Piercing Through Worksheets
A 3D Formula refers to the exact same cell or range across a continuous stack of worksheets using a colon (':') between the first and last sheet tab names:
1Syntax:
2=SUM(FirstSheet:LastSheet!CellAddress)
Practical 3D Examples:
Total Annual Revenue in cell B5:
1 =SUM('Jan:Dec'!B5)
(Sums cell B5 across Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, and Dec simultaneously!)
Company-Wide Average Headcount:
1 =AVERAGE('Branch1:Branch50'!C10)
The Sandwich Rule of 3D Formulas:
Any new worksheet dragged inside the sheet tabs between 'Jan' and 'Dec' is automatically included in the 3D calculation! If you drag a sheet outside the boundary tabs, it is instantly excluded.
Click to Zoom
3D Formulas and Data Consolidation
2. The Consolidate Tool (Data Tab)
What if the branch worksheets do not have identical layouts (e.g., Branch 1 lists 'Salaries' on row 4, but Branch 2 lists 'Salaries' on row 9)? 3D formulas fail when cell coordinates differ. The Consolidate tool resolves this by aggregating based on row and column labels:
1
Open your master Consolidation worksheet.
2
Click cell A1.
3
Go to Data > Data Tools group > Consolidate.
4
In the Consolidate dialog:
Function: Choose Sum (or Average, Count, etc.).
Reference: Highlight the data range on Branch 1 (e.g., 'Branch1!$A$1:$D$50') and click Add.
Repeat for Branch 2, Branch 3, etc.
Use labels in: Check both Top row and Left column.
Create links to source data: Check this box if you want the master sheet to update dynamically when branch sheets change!
1
Click OK.
Excel merges all sheets, matching categories by label name regardless of row position!
Interactive Quiz• Knowledge Check
Multiple Choice Questions
Question 1
What does the 3D formula '=SUM('Jan:Dec'!B4)' do?
Question 2
What happens if an analyst inserts a new sheet named 'MidYearReview' between the 'Jan' and 'Dec' tabs?
Question 3
When should you use the 'Consolidate' tool instead of a 3D formula?
Question 4
What does checking 'Create links to source data' in the Consolidate dialog do?
Question 5
Which of the following functions supports 3D referencing across multiple worksheets?
Next Lesson
Formula Auditing (Trace Precedents, Dependents & Error Checking)
Continue learning with hands-on practice, examples, and exercises in the upcoming topic.