bottom
Great ExcelTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > ExcelTips Home > General > Selecting Noncontiguous Ranges with the Keyboard

Selecting Noncontiguous Ranges with the Keyboard

Summary: It’s easy to select non-contiguous ranges using the mouse, but may seem more daunting if you are simply using the keyboard. Here’s how you can do it, using just the Go To dialog box. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, Excel 2003, and Excel 2007.)

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. (Click here to see a related figure.)
  2. In the Reference box at the bottom of the dialog box, type the address of the first cell or range you want selected.
  3. Type a comma, followed by an additional range.
  4. Repeat step 3 for each additional cell or range you want in the selection set.
  5. 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.

Tip #2401 applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003 | 2007


Got the Time? Understanding the ins and outs of working with times and dates can be confusing. Remove the confusion--ExcelTips: Times and Dates is an invaluable resource for learning how best to work with times and dates.
 
Check out ExcelTips: Times and Dates today!

Helpful Links

Ask an Excel Question
Make a Comment

Tips.Net Home
Vital News Home

ExcelTips FAQ
ExcelTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
ExcelTips Site

 

Great Info!

Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)