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: Selecting Noncontiguous Ranges with the Keyboard.

Selecting Noncontiguous Ranges with the Keyboard

Written by Allen Wyatt (last updated May 10, 2022)
This tip applies to Excel 97, 2000, 2002, and 2003


Most people know that you can select a noncontiguous range of cells by using the mouse. All you need to do is click the first cell in the range and then hold down the Ctrl key as you click other cells in the range. (This is often referred to as creating a selection set of cells.)

Some folks don't like using the mouse that much. If you are in that camp, you may wonder if there is a way to select a noncontiguous range simply by using the keyboard. Fortunately there is, but very few folks know about it. Provided that you know the addresses of the cells you want in the range, follow these steps:

  1. Press F5. Excel displays the Go To dialog box. (See Figure 1.)
  2. Figure 1. The Go To dialog box.

  3. In the Reference box at the bottom of the dialog box, type the address of the first cell or range you want selected.
  4. Type a comma, followed by an additional range.
  5. Repeat step 3 for each additional cell or range you want in the selection set.
  6. Click OK (or press Enter). Excel selects all the cells and ranges you entered in the Reference box.

As an example, if you wanted your noncontiguous range to include cells A7, B2, F14 through G22, and T18, you would enter the following into the Reference box:

A7,B2,F14:G22,T18

Clicking OK then selects all these cells. In addition, the last cell that you entered is the "active cell" in the selected range.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2401) 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: Selecting Noncontiguous Ranges with the Keyboard.

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

Flipping Landscape Orientation when Printing

When printing a worksheet, you may want to rotate the output on the page to fit a certain orientation. Excel doesn't ...

Discover More

Changing Revision Bar Thickness

Ever wonder how to customize the way the Track Changes feature displays revision bars at the side of changed material? ...

Discover More

Using the REPT Function

Excel includes a handy function that allows you to repeat characters or strings of characters. How you use the REPT ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (menu)

Nifty Zooming

If you are using a mouse that has a center wheel, you can use the wheel to zoom in and out of your work. This tip shows ...

Discover More

Saving Changes in the Personal Workbook

The Personal workbook is a special place used to store information and macros that you can access from all the other ...

Discover More

Arranging Workbook Windows

If you find yourself working with a number of different workbooks at the same time, you may want to arrange your desktop ...

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 nine minus 5?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


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.