Select an Entire Column or Row in Excel (Shortcuts)
By ExcelReady TeamUpdated 5 min read
The short answer
The shortcut to select an entire column in Excel is Ctrl+Space, and Shift+Space selects the entire row. Click any cell in the column or row first. On a Mac, Shift+Space works the same, and the column shortcut is Control+Space, though macOS may use it for switching keyboard language, so clicking the column letter is the safe option.
Key takeaways
- Ctrl+Space selects the whole column of the active cell; Shift+Space selects the whole row.
- Add Shift+Arrow afterwards to extend the selection to more columns or rows.
- Ctrl+Shift+Down (⌘⇧Down on a Mac) selects only down to the last filled cell, not the whole column.
- Inside an Excel Table, Ctrl+Space first selects the table column's data, not the whole sheet column.
- In formulas, B:B refers to the whole of column B and 2:2 to the whole of row 2.
On this page+
- Shortcuts to select columns, rows and the whole sheet
- How to select an entire column with Ctrl+Space
- How to select an entire row with Shift+Space
- How to select several columns or rows
- Entire column vs data only: which do you need?
- What to do after you select a column or row
- Whole column and row references in formulas
- Practise it
The select entire column Excel shortcut is Ctrl+Space, and the row shortcut is Shift+Space. Click any cell in the column or row, press the keys, and the whole thing is selected, ready to format, insert, delete or hide. This guide gives the Windows and Mac keys, shows how to select several columns at once, and explains when you want only the data instead of the full column.
Shortcuts to select columns, rows and the whole sheet#
Here are the shortcuts you need. Start by clicking a cell in the column or row you want.
| Select | Windows | Mac |
|---|---|---|
| Entire column | Ctrl+Space | Control+Space, or click the column letter |
| Entire row | Shift+Space | Shift+Space |
| Whole sheet | Ctrl+A (twice inside data) | ⌘A (twice inside data) |
| Column down to the last filled cell | Ctrl+Shift+Down | ⌘⇧Down |
| Row across to the last filled cell | Ctrl+Shift+Right | ⌘⇧Right |
With the mouse, click the column letter at the top of the grid or the row number on the left. That always works, on any computer.
How to select an entire column with Ctrl+Space#
- Click any cell in the column, for example C5.
- Press Ctrl+Space.
- All of column C is selected, from C1 to C1048576.
On a Mac, Excel lists Control+Space for this. But macOS often uses Control+Space to switch the keyboard language, so the shortcut may never reach Excel. If that happens, click the column letter, or change the shortcut in macOS System Settings under Keyboard. Some Windows language settings also use Ctrl+Space to switch input methods.
How to select an entire row with Shift+Space#
- Click any cell in the row, for example C5.
- Press Shift+Space.
- All of row 5 is selected, from A5 to XFD5.
Shift+Space works the same on Windows and Mac. One catch: if you are typing in a cell, Shift+Space types a space instead. Press Enter or Esc to leave the cell first.
How to select several columns or rows#
Select the first column or row, then extend the selection with Shift+Arrow:
- Columns C to E: click C1, press Ctrl+Space, then Shift+Right twice.
- Rows 4 to 8: click A4, press Shift+Space, then Shift+Down four times.
With the mouse, click the first column letter, hold Shift and click the last one. To pick columns that are not next to each other, hold Ctrl (⌘ on a Mac) and click each letter. For more ways to build a selection, read how to select ranges fast in Excel.
Entire column vs data only: which do you need?#
An entire column has over a million cells. That is right for formatting, inserting, deleting and hiding, but wrong for copying data or creating a chart.
To select only the filled cells, click the first data cell and press Ctrl+Shift+Down (⌘⇧Down on a Mac). Excel stops at the last filled cell before a blank. If the column has gaps, press it again to carry on.
Inside an Excel Table, Ctrl+Space works differently. The first press selects the data in that table column only. Press it again to widen the selection to the header and then to the whole sheet column. This makes tables safer to work with.
How to check what you selected#
Look at the status bar at the bottom of the window after you select. It shows the Count of filled cells, and the Sum and Average when the cells hold numbers. If you expected 18 orders and the Count says 19, the header is included. If it says 12, the selection stopped at a gap. The Name Box also shows the size while you drag, such as 5R x 3C for five rows and three columns.
What to do after you select a column or row#
Selecting a whole column or row is usually the first step of a bigger task:
| Next step | Windows | Mac |
|---|---|---|
| Insert a column or row | Ctrl+Shift+= | Control+Shift+= |
| Delete it | Ctrl+- | ⌘- |
| Make it bold | Ctrl+B | ⌘B |
| Fill a formula down a selection | Ctrl+D | ⌘D |
| Turn on filters for the data | Ctrl+Shift+L | ⌘⇧F |
The full method for inserting and deleting is in how to insert and delete rows and columns. For filling formulas, see Fill Down and Fill Right, and for filters, the Excel filter shortcut guide. If you delete the wrong column, undo it straight away with Ctrl+Z (⌘Z). The guide to editing cells with undo and redo has more.
Whole column and row references in formulas#
Formulas can refer to an entire column or row too. B:B means all of column B, and 2:2 means all of row 2. Whole-column references are handy when a list keeps growing:
=SUM(B:B)With monthly sales of 4,200, 3,900, 5,100, 4,650 and 5,300 in B2:B6, the result is 23,150. Add June in B7 and the total updates by itself. SUM skips the text header in B1.
Two cautions. Don't put this formula inside column B, or it will include itself and cause a circular reference. And on very large sheets, many whole-column formulas can slow Excel down, so a fixed range or an Excel Table is often the better choice.
You can also select by typing: click the Name Box left of the formula bar, type B:B or 2:5 and press Enter.
Practise it#
Shortcuts only stick when you use them. Open the select ranges with Shift lesson to practise Shift+Arrow, Ctrl+Shift+Arrow, Ctrl+A and whole-row and whole-column selection in a live spreadsheet. Each step is checked instantly, so you'll know the keys are in your fingers. Try the whole-column SUM exercise on this page first.
Try it yourself
This is a live spreadsheet. Type the formula in the green cell and press Enter.
A whole-column reference adds every number in the column, however long the list grows. Click D2, type =SUM(B:B) and press Enter.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Sales | Total | |||
| 2 | |||||
| 3 | |||||
| 4 | |||||
| 5 | |||||
| 6 | |||||
| 7 | |||||
| 8 | |||||
| 9 |
Tip: B:B means all of column B. SUM ignores the text header in B1.
Practise this in a lesson
Frequently asked questions
What is the shortcut to select an entire column in Excel?
Click any cell in the column and press Ctrl+Space. On a Mac, Excel uses Control+Space, but if macOS switches your keyboard language instead, click the column letter at the top of the grid.
How do I select an entire row in Excel?
Click any cell in the row and press Shift+Space. This works the same on Windows and Mac.
How do I select multiple columns with the keyboard?
Press Ctrl+Space to select the first column, then hold Shift and press the Right or Left arrow to add neighbouring columns.
Why doesn't Ctrl+Space select the column?
Another program or your language settings may use Ctrl+Space, for example to switch input methods. Change that setting, click the column letter instead, or type the column, like B:B, in the Name Box.
How do I select a column only to the end of the data?
Click the first cell and press Ctrl+Shift+Down (⌘⇧Down on a Mac). Excel selects down to the last filled cell before a blank, instead of all 1,048,576 rows.