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

Written by Allen Wyatt (last updated July 27, 2019)
This tip applies to Excel 97, 2000, 2002, and 2003


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

Understanding Picas

Word can understand many different measurement units. One common unit understood by Word is the pica, described in this tip.

Discover More

Removing a Directory

Your macro, in the course of doing some processing, may create a directory that you later need to delete. Here's how to ...

Discover More

Printing to a PDF File in Windows 10

Want to easily create a PDF file from your favorite program? Windows 10 makes it easy with a built-in PDF printer driver. ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (menu)

Limiting Number of Characters in a Cell

Need to limit the number of characters that can be entered into a cell? One easy way to do it is through the use of Data ...

Discover More

Zooming In On Your Worksheet

If you have trouble seeing the information presented in a worksheet, you can use Excel's zooming capabilities to ease the ...

Discover More

Turning Off Insert Options

When you insert rows, columns, or cells in a worksheet, does the resulting Insert Options icon bother you? Here's how to ...

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}] (all 7 characters, in the sequence shown) 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 four minus 0?

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.