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

Changing Axis Tick Marks

Create a chart in Excel, and you may find that the tick marks shown on the axes in the chart aren't to your liking. It is ...

Discover More

Unlocking a Worksheet with an Unknown Password

It is not unusual, in a corporate world, to be handed a worksheet whose source you don't know. If that worksheet is ...

Discover More

Changing the Document Inspector's Comment Name

The Document Inspector can be a great tool when you want to prepare your document to be shared with others and you want ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (menu)

Entering Numbers in Excel

Enter information into a cell, and Excel needs to figure out what type of information it is. Here's how Excel interprets ...

Discover More

Synchronizing Lists

Two lists of similar data can be challenging to synchronize. Here are some ways that you can align data in two different ...

Discover More

Deleting Old Data from a Worksheet

If you keep on-going data in a worksheet, some of your dataâ€"over timeâ€"may need to be deleted. If you have an ...

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 2 + 2?

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.