Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Ranges on Multiple Worksheets.

Ranges on Multiple Worksheets

by Allen Wyatt
(last updated July 27, 2019)

3

Most everyone knows that if you want to refer to a range of cells, you simply specify the beginning and ending point of the range and then separate those points by a colon. For instance, the following formula would return the sum of all cells in the range A1 through C4:

=SUM(A1:C4)

You may not know, however, how you can refer to the same cell or range of cells on a range of multiple worksheets in your workbook. For instance, you may want a cell to return the sum of each cell A1 on the first three worksheets in your workbook. If the worksheets are named Sheet1, Sheet2, and Sheet3, then the formula would appear as follows:

=SUM(Sheet1:Sheet3!A1)

Similarly, if you wanted the sum of all cells in the range A1 through C4 on each of the same worksheets, you would use the following formula:

=SUM(Sheet1:Sheet3!A1:C4)

At times this notation can be a bit difficult to remember. You can easily use the mouse to build such a range by following these steps:

  1. Select the cell in which you want to enter your formula.
  2. Enter the equal sign and the first part of the function, followed by the opening parenthesis. In the examples given above, you would enter =SUM(.
  3. Click on the sheet tab of the first sheet in the range.
  4. Hold down the Shift key as you click on the sheet tab of the last sheet in the range.
  5. Use the mouse to select all the cells in the range on the visible worksheet.
  6. Press Enter.

Your formula should now be complete, with the desired range in place.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2104) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Ranges on Multiple Worksheets.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Discovering the RGB Value of a Custom Text Color

Word allows you to easily change the color of the text in your document. If you get a document from someone else, you may ...

Discover More

Checking Up On Numbers

When do you use digits in your prose and when do you spell out the numbers? Why not let Word help you make the decision? ...

Discover More

Preventing Changes to Styles in Documents

Have you ever created a template only to have the styles within it changed as they were used within a document? Here are ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (menu)

Switching Editing Location

Excel allows you to edit the contents of a cell in two places—the cell itself or in the Formula bar. If you want to ...

Discover More

Combining Multiple Rows in a Column

Do you need to concatenate the contents of a range of cells in the same column? Here's a formula and a handy macro to ...

Discover More

Displaying a Hidden First Row

If you hide the first rows of a worksheet, you may have a hard time getting those rows visible again. Here's a simple way ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 4?

2019-12-20 17:44:25

Amanda

Wonderful tips here, THANK YOU for sharing them. What if I want to use a CountIFs formula across multiple sheets, for the same column in each sheet, but there are blank cells within those columns? I'm getting a #VALUE error and unable to figure it out.


2019-10-25 04:49:10

Alan Elston

@Matt
Based on Allen Wyatt’s notes above, my guess would be that something like this should work:
=SUM(Sheet1:Sheet2!A1:A4,Sheet1:Sheet2!C1:C4)
I am not aware of a further simplification possibility to that.
It might be worth just emphasising what you are doing with this example formula: You are summing across all the Worksheets from Sheet1 to Sheet2. If you have English Excel and have left the Worksheet tab names at default, then you will be summing just the first two worksheets. But if, for example, you have added another worksheet in between those sheets with tab names Sheet1 and Sheet, then the ranges in that added worksheet will also be included in the summation, regardless of the tab name of the added worksheet.
So for example, applying that formula to the situation of the screenshot will sum the ranges in the three worksheets with the tab names of Sheet1, Tabelle3, and Sheet2

Alan Elston

(see Figure 1 below)

Figure 1. 


2019-10-24 22:42:09

Matt

How do you add multiple ranges across multiple sheets? So like adding A1:A4 and C1:C4 all together across Sheet 1 and 2?


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.