Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Totaling Across Worksheets.
Written by Allen Wyatt (last updated March 28, 2026)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365
Referring to ranges of cells is one of the very basic skills necessary to effectively use Excel. As you start to create ever-more-complex formulas, you may wonder if there is a way to refer, in a range reference, to a "stack" of cells on multiple worksheets, the same as you can refer to rows or columns on the current worksheet. For instance, the following formula is a way to refer to all cells in column B:
=SUM(B:B)
Note that you don't have to provide a starting or ending row; you just have to provide the column name. You can likewise do the same thing for row references. The following refers to the range of all cells in row 3:
=SUM(3:3)
The problem with referencing all the cells in a set position across a range of worksheets is that there is no unique "collection name" to apply to cells in that position. For instance, rows have numbers and columns have letters. "Stacks" of cells across worksheets don't have a comparable name.
The only way, then, that you can refer to the same cell across a range of worksheets is the rather explicit way that Microsoft dictates. For instance, the following refers to the range at cell D5 across three sheets:
=SUM(Sheet1:Sheet3!D5)
Understanding that sheets must be named in the range, you can include an ever-expanding range by simply making sure that you only add new worksheets between the beginning and ending sheets specified in your formula.
As an example, let's assume that you have a template for an invoice, and that your workbook contains all the invoices you have created this year. Further, each invoice has a total at cell F15. If you want a summary worksheet that shows a total for all invoices, all you need to do is make sure that your first invoice is the first worksheet in your workbook, that your invoice template is the second to last, and that your summary worksheet is the last one in the workbook. In this way, your formula could be something like:
=SUM(Inv01001:InvTemplate!F15)
Whenever you need to add a new invoice, simply make sure it is added immediately before the invoice template. Your invoices remain in order, and your formula always returns the correct total.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9047) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Totaling Across Worksheets.
Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel Data Analysis and Business Modeling today!
When you add a named range to a worksheet, you can specify if you want that named range to apply to the workbook or only ...
Discover MoreIf you have a range of numbers that contain both integers and decimal numbers, you may have a need to determine the ...
Discover MoreThe FIND and SEARCH functions are great for finding the initial occurrence of a character in a text string, but what if ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2026-04-01 10:50:15
J. Woolley
A common contiguous range on sequential worksheets in any single workbook (like 'Sheet1:Sheet3'!D5 or 'Sheet1:Sheet3'!A1:D5) is often called a 3D range. The following Excel functions work with 3D ranges:
SUM, AVERAGE, COUNT, MAX, and MIN.
But these functions do not work with 3D ranges:
SUMIF, AVERAGEIF, COUNTIF, and COUNTBLANK.
My Excel Toolbox includes the following functions that support 3D ranges:
SUMIF3D, AVERAGEIF3D, COUNTIF3D, and COUNTBLANK3D.
My Excel Toolbox also includes MAXIF, MINIF, MAXIF3D, and MINIF3D.
MAXIF and MINIF are not available in Excel. MAXIFS and MINIFS (Excel 2019) are alternatives, but they do not support 3D ranges.
See https://sites.google.com/view/MyExcelToolbox/
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2026 Sharon Parq Associates, Inc.
Comments