Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Shortcut for Selecting a Data Range.

Shortcut for Selecting a Data Range

Written by Allen Wyatt (last updated January 25, 2025)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365


1

The quickest way to select a range of data on your worksheet is to use Ctrl+Shift+8. (This is the same as Ctrl+*.) This selects, using the currently selected cell as the starting point, the contiguous cells that contain data. The selection stops when a blank row or a blank column is reached. The shortcut also results in the upper-left cell of the range being the active cell.

To see how the shortcut works, suppose you have data in the range A1:A325, and more data in the range C1:E190. If you start with cell A7 selected and then press Ctrl+Shift+8, then A1:A325 is selected. (The other data range isn't selected because column B is blank.) If you start with cell D12 selected and press Ctrl+Shift+8, then the range C1:E190 is selected. Again, the selection doesn't extend to column A because column B is blank.

There is another keyboard shortcut that will also select a data range: Ctrl+A. In most Windows-based programs, Ctrl+A stands for "select all," meaning everything in whatever file the program is working on. Not so in Excel. If you have a cell selected within a data range, pressing Ctrl+A once will function the same as Ctrl+*. If you press Ctrl+A a second time, then Excel selects the entire worksheet.

There is a difference between Ctrl+* and Ctrl+A, though: Pressing Ctrl+* not only selects the data range, it also makes the top-left cell in that data range the active cell. Pressing Ctrl+A to select the data range leaves the active cell unchanged.

You can get around this behavior a bit by remembering that once you have a range of cells selected, you can repeatedly press Ctrl+. (that's Ctrl and a period) to select the cells at the corners of the selected range. Thus, pressing Ctrl+A once and then pressing Ctrl+. is the same as pressing Ctrl+*.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8966) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Shortcut for Selecting a Data Range.

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

Contingent Validation Lists

Data validation can be used to create lists of choices for entry into a particular cell. Using the techniques in this tip ...

Discover More

Black and White Blues

Getting a chart looking its best on a black-and-white printer can be a challenge. This tip examines different ways you ...

Discover More

Checking the Scope of a Defined Name

When creating a macro to work with the names of defined ranges, you may need to know whether the scope of the name is for ...

Discover More

Dive Deep into Macros! Make Excel do things you thought were impossible, discover techniques you won't find anywhere else, and create powerful automated reports. Bill Jelen and Tracy Syrstad help you instantly visualize information to make it actionable. You�ll find step-by-step instructions, real-world case studies, and 50 workbooks packed with examples and solutions. Check out Microsoft Excel 2019 VBA and Macros today!

More ExcelTips (ribbon)

Moving and Selecting Rows

If you need to move down a row and then select that row, you may wonder if there is a shortcut to handle such a ...

Discover More

Searching for All

When you are working on a worksheet (particularly a large one), you may want to search for and possibly copy information ...

Discover More

Colors No Longer Work

It can be disconcerting if you are editing a workbook and can no longer change colors for cells in the workbook. This tip ...

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 two more than 9?

2025-01-25 05:30:12

Alex Blakenburg

Ctrl+A behaves differently with an Excel Table (ListObject) selected. While Ctrl+* still selects the Entire Table including the heading,
Pressing Ctrl+A
• Once -> Selects the Tables Data Range excluding the headings
• Twice -> Expands to include the headings (=Ctrl+*)
• Three times -> selects the Entire Worksheet


This Site

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

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.