ThisCalculator

Everyday

Excel 3D Reference Formula: How to Use It

Updated · Standard formula, shown below

Average pace 5.00 min/km
Average speed
12.00 km/h
Result
Finish time
50 min
You entered
Distance
10 km
You entered

An Excel 3D reference lets you sum, average, or count the same cell or range across multiple worksheets in one formula. You enter the first and last sheet names separated by a colon, then the cell address, like =SUM(Jan:Mar!B5). This article explains exactly how to build and troubleshoot 3D references, with examples you can try.

Formula

A 3D reference has two parts: a sheet range and a cell reference. The general syntax is FirstSheet:LastSheet!Cell. For example, Jan:Mar!B5 refers to cell B5 on every sheet between Jan and Mar, inclusive. You can use it with functions like SUM, AVERAGE, COUNT, MIN, MAX, and COUNTA. The formula =SUM(Jan:Mar!B5) adds the values in B5 from January, February, and March.

When you type the reference directly, Excel treats it as a single argument, so you can also use it in formulas like =SUM(Jan:Mar!B5:C10) to sum a rectangle across all sheets. The colon between sheet names is the same operator used for ranges on one sheet, but here it spans worksheets.

Worked Example

Suppose you have three sheets named Jan, Feb, and Mar. Each has a value in cell B5: Jan has 10, Feb has 15, Mar has 20. To total them, you would write:

  1. Select the cell where you want the total, say B7.
  2. Type =SUM(.
  3. Click the Jan sheet tab, then hold Shift and click the Mar sheet tab. This selects the group.
  4. Click cell B5. Excel inserts Jan:Mar!B5.
  5. Type ) and press Enter. The result is 45.

The formula bar shows =SUM(Jan:Mar!B5), and the result is 45 because 10 + 15 + 20 = 45. If you change any of those sheet values, the total updates automatically.

How to Create a 3D Reference

You can type the reference manually, but pointing is safer and less error-prone. To point:

  • Start typing a function like =SUM(.
  • Click the first sheet tab you want to include.
  • Hold Shift and click the last sheet tab. This selects all sheets in between.
  • Click the cell or drag to select a range on the active sheet.
  • Press Enter to finish. Excel adds the closing parenthesis automatically.

If the sheet names contain spaces or special characters, enclose them in single quotes: ='North Region:South Region'!B5. The quotes are required only when the name has a space, hyphen, or other non-alphanumeric character.

When to Use (and Not Use) 3D References

3D references are ideal for identical layouts across sheets, such as monthly budgets, weekly sales reports, or department totals. They work best when every sheet has the same structure, and you want to summarize the same cell or range across all of them.

They are not suitable for:

  • Sheets with different layouts – you would get wrong or #REF! errors.
  • Non-contiguous sheets – you cannot skip a sheet in a 3D reference; you must use a separate formula or SUMIF.
  • Summarizing across different workbooks – 3D references only work within one workbook.
  • When you need to exclude one sheet in the middle – you would have to use two references or a different approach.

Common Problems and Mistakes

The most frequent issues with 3D references are:

  • #REF! error – The sheet range is invalid, or one of the sheets was deleted or renamed. Check that the first and last sheet names still exist.
  • Wrong results because of sheet order – The reference includes every sheet between the first and last, regardless of their tab order. If you move a sheet, the range changes.
  • Quotes missing – If a sheet name has a space, you must use single quotes. Without them, Excel may interpret the reference as a range of cells.
  • Using 3D with functions that don’t support it – Not all functions accept 3D references. For example, VLOOKUP does not. Stick to SUM, AVERAGE, COUNT, MIN, MAX, COUNTA, and similar aggregate functions.

Another common mistake is using a 3D reference in a formula that requires a single value, like an IF condition. The reference returns an array of values, so you need to wrap it in an aggregator like SUM.

How to Read the Result

The result of a 3D reference formula is a single number that aggregates the specified cell across all sheets. For example, =AVERAGE(Jan:Mar!B5) returns the average of the three values, not a list. If you need to see the individual values, you would have to reference each sheet separately.

When you add or remove sheets within the range, the formula automatically includes or excludes them. For instance, if you insert a sheet between Jan and Mar, it becomes part of the reference. This is powerful but can be surprising if you forget.

Alternatives to 3D References

If 3D references do not fit your situation, consider these alternatives:

  • Consolidate – Use the Consolidate feature (Data > Consolidate) to combine data from multiple sheets into one summary sheet.
  • Individual references – Write =SUM(Jan!B5+Feb!B5+Mar!B5) for a small number of sheets.
  • Power Query – Combine multiple sheets into one table for more flexible analysis.
  • PivotTable – Use the PivotTable wizard to summarize data from multiple ranges.

Each method has trade-offs. 3D references are simple and dynamic, but they require identical layouts. Consolidation and Power Query are more flexible but require more setup.

Frequently Asked Questions

Can I use a 3D reference in a chart? No, chart data ranges cannot use 3D references. You must create a summary table on one sheet first, then chart that.

How do I include all sheets except one? There is no direct way. You can either move the excluded sheet outside the range, or use a formula like =SUM(Jan:Mar!B5)-Feb!B5 to subtract it.

What happens if I insert a new sheet in the middle of the range? The new sheet is automatically included in the reference, because the range is defined by the first and last sheet names, not by a fixed list.

Can I use 3D references with conditional formatting? No, conditional formatting rules do not support 3D references. You would need to apply formatting to each sheet individually.

Why does my 3D reference show a #VALUE! error? This usually happens when the referenced cells contain text or errors. The aggregate function cannot handle non-numeric data. Check the cells for text or errors.

Does a 3D reference work in Google Sheets? No, Google Sheets does not support 3D references. You would need to use a different method, such as INDIRECT with a list of sheet names.

Related

Formula used
in t | Finish time | min | 50 | 0
in d | Distance | km | 10 | 0
out pace | Average pace | min/km | t / d | 2
out speed | Average speed | km/h | d / (t / 60) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.