To select the entire row that contains the active cell in Excel, press Shift + Space. That is the direct answer for Windows and Mac. The active cell can be anywhere in the row; Excel highlights every cell from column A to the last used column. If you need to select several adjacent rows, hold Shift and press the Up or Down arrow after the first Shift + Space, or press Shift + Space and then extend the selection with Shift + Arrow keys. If you want the whole row including unused columns, press Ctrl + Space first to select the column, then Shift + Space to flip the selection to the full row, or use the Name Box method described below.
What You'll Need
- Microsoft Excel for Windows or Mac (desktop app). The shortcut works in Excel 2016 and later; the web version has limited keyboard support and may not respond to every combination.
- A worksheet with at least one row of data or a blank grid.
- A keyboard with a working Space bar and Shift key. On some compact laptops, the Fn key may be needed for function-key combinations, but Shift + Space does not require Fn.
- If you use a non-English keyboard layout, confirm that the Space bar is still the space character; it almost always is.
Step-by-Step
- Click any cell in the row you want to select. The cell does not need to contain data. For example, click cell C7 to work with row 7.
- Press Shift + Space. Hold Shift, tap the Space bar once, then release both keys. Excel selects the entire row and the row header (the number on the left) turns highlighted.
- Check the selection. The status bar at the bottom may show “Count” or “Sum” if the row contains numbers. The row number on the left edge is shaded, confirming the whole row is selected.
- To select multiple adjacent rows, keep Shift held and press the Down arrow or Up arrow. Each press adds one row to the selection. Alternatively, after Shift + Space, hold Shift and click the row number of the last row you want.
- To select non-adjacent rows, select the first row with Shift + Space, then hold Ctrl (Windows) or Command (Mac) and click each additional row number on the left. This works only when you click the row headers, not individual cells.
- To select the full row including empty columns beyond the used range, click the Name Box (the small box left of the formula bar), type the row reference such as
7:7, and press Enter. For a range, type7:12. This selects every column in those rows, not just the used range. - To act on the selection, press Ctrl + C to copy, Ctrl + X to cut, or right-click the row header and choose Insert or Delete. Deleting removes the entire row and shifts rows below up; inserting adds a blank row above.
Menu labels and the exact behavior of some commands can differ slightly by Excel version, device, and region. The Shift + Space shortcut itself has been stable for many versions.
Common Mistakes
- Pressing Space without Shift. That types a space into the active cell and may overwrite existing content if you then press Enter. Always hold Shift first.
- Using Ctrl + Space by mistake. Ctrl + Space selects the entire column, not the row. If the wrong direction is selected, press Esc and try again with Shift + Space.
- Expecting the whole row including empty columns. Shift + Space selects from column A to the last used column in the worksheet, not necessarily to the far-right edge. Use the Name Box method for the full row.
- Using the shortcut inside a cell edit. If you are typing in a cell (the cursor is blinking inside the cell), Shift + Space inserts a space character. Press Enter or Esc first to leave edit mode.
- Assuming it works the same in Excel for the web. The web app supports many shortcuts but not all; if Shift + Space does nothing, click the row header with the mouse instead.
- Forgetting that merged cells change behavior. If the row contains merged cells, the selection may highlight only the merged area or behave unpredictably. Unmerge cells first if the selection looks wrong.
Tips
- After selecting a row with Shift + Space, press Ctrl + “+” (plus) to insert a new row above, or Ctrl + “-” (minus) to delete the selected row. On Mac, use Command + “+” and Command + “-”.
- To jump to the last row of data quickly, press Ctrl + End, then use Shift + Space to select that row.
- Combine with Ctrl + Shift + Space to select the entire worksheet when the active cell is inside a data range; pressing it again expands to the whole sheet.
- If you often select full rows, add the row header click as a backup: clicking the row number selects the full row including empty columns, which is sometimes what you actually need.
- Use the Name Box for precise selections: typing
5:5selects row 5 entirely, and typing5:10selects rows 5 through 10. This is faster than dragging and avoids mistakes with large ranges.
Troubleshooting
- Nothing happens when you press Shift + Space. Click once on a cell to make sure Excel has focus, then try again. If you are in cell edit mode, press Esc first.
- A space appears in the cell. You pressed Space without Shift, or Shift was not registered. Undo with Ctrl + Z, then retry holding Shift firmly.
- The wrong row is selected. The active cell may be in a different row than you think. Look at the Name Box to confirm the cell reference, then click the correct cell.
- The selection stops at a blank column. Shift + Space selects to the last used column, not the full row. Use the Name Box with a row reference like
7:7for the complete row. - Shortcut does not work in Excel for the web or mobile. Keyboard shortcuts are limited in the browser and mobile apps. Use the row header click instead, or open the file in the desktop app.
- Another program intercepts the keys. Some keyboard utilities or accessibility tools remap Shift + Space. Disable them temporarily or test in a new Excel window.
Frequently Asked Questions
Does Shift + Space select the entire row or just the used range?
It selects from column A to the last used column in the worksheet. To select every column in the row, use the Name Box and type the row reference, such as 7:7.
What is the Mac shortcut to select a row in Excel?
Shift + Space works the same on Excel for Mac. If your Mac keyboard has a different layout, ensure you are pressing the actual Space bar, not a function key.
Can I select multiple non-adjacent rows with the keyboard?
Not directly with a single shortcut. Select the first row with Shift + Space, then hold Ctrl (Windows) or Command (Mac) and click additional row headers. Keyboard-only selection of non-adjacent rows is not supported in Excel.
Why does Shift + Space type a space instead of selecting the row?
You are likely in cell edit mode. Press Enter or Esc to exit editing, click a cell once, then try the shortcut again.
Is there a shortcut to select the entire worksheet?
Yes. Press Ctrl + A once to select the current data range, and again to select the whole sheet. Alternatively, click the square at the intersection of the row and column headers.
Does the shortcut work in Excel for the web?
Support varies. Many shortcuts work, but if Shift + Space does not respond, click the row header with the mouse or use the desktop app for full keyboard support.