Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, and 2016. 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.
by Allen Wyatt
(last updated July 18, 2018)
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 almost the same as Ctrl+*, meaning that it selects the data range, minus any headers. If you press Ctrl+A a second time then Excel expands the selection to include any headers. Press it a third time (or press it a single time if you have a cell outside of a data range selected) and Excel selects the entire worksheet.
There is another difference between Ctrl+* and Ctrl+A: 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.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8966) applies to Microsoft Excel 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Excel here: Shortcut for Selecting a Data Range.
Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!
There are many different ways you may need to enter data in a worksheet. For instance, you might want to enter data in ...Discover More
When you are copying a cell from one place to another (perhaps even to a different worksheet), you may not want to copy ...Discover More
Importing data into Excel that was generated in other programs can have some interesting side effects. For instance, you ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.