Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Select All Rows Shortcut: Quick Guide

· 6 min read · Home Automation

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

The fastest way to select every row in an Excel worksheet is to press Ctrl + A (Windows) or Command + A (Mac) once, then press it again. The first press selects the current data region; the second press selects the entire sheet, which includes all rows and columns. If you want to select all rows without selecting empty columns, click any cell in your data and press Ctrl + A once — Excel will highlight the whole contiguous block of rows and columns that contains data. For a guaranteed full-sheet selection, Ctrl + A twice is the standard shortcut. You can also click the small triangle at the top-left corner of the grid (the intersection of the row and column headers) to select everything. No special setup is required beyond having a worksheet open.

What You'll Need

  • Microsoft Excel for Windows or Mac (desktop version). The shortcuts below work in Excel 2016 and later, including Microsoft 365. Web and mobile versions have limited keyboard support.
  • A worksheet with or without data — the shortcuts work either way.
  • Your cursor placed inside the data range if you want the first press to select only the data block.

Step-by-Step

  1. Open your workbook and click any cell inside the table or data range you want to work with. This ensures the first shortcut press targets the right area.
  2. Press Ctrl + A (Windows) or Command + A (Mac) once. Excel selects the current region — the contiguous block of rows and columns around your active cell. If your data has blank rows or columns, the selection stops at the first blank.
  3. Press Ctrl + A again to expand the selection to the entire worksheet. This selects all rows and all columns, including empty ones. On Mac, use Command + A twice.
  4. Verify the selection. The row headers (numbers on the left) should appear highlighted, and the column headers (letters at the top) should also be highlighted. The Name Box (top-left, left of the formula bar) will show the full sheet range if everything is selected.
  5. To select only rows and not columns, click the row header of the first row you want, then hold Shift and click the row header of the last row. For all rows, click the triangle at the top-left corner of the grid — this selects the entire sheet, same as Ctrl + A twice.
  6. To select all rows in a specific table, click any cell in the table and press Ctrl + A once. If the table is part of a larger data block, press Ctrl + A again to include the whole block, or use the table's own select-all behavior by clicking the table's top-left corner handle.
  7. Release the selection by clicking any single cell, or press Esc to cancel the highlighted range without changing data.

Common Mistakes

  • Pressing Ctrl + A only once and assuming all rows are selected. The first press selects only the current data region. If your data has gaps, some rows may be excluded. Always press twice for the full sheet.
  • Using Ctrl + A while editing a cell. If you are in edit mode (cursor blinking inside the cell), Ctrl + A selects text inside the cell, not rows. Press Enter or Esc first to exit edit mode.
  • Confusing Ctrl + A with Ctrl + Space. Ctrl + Space selects the entire column of the active cell, not all rows. To select all rows, use Ctrl + A twice or click the corner triangle.
  • Expecting the shortcut to work in Excel Online or mobile apps. Keyboard shortcuts are limited in the browser and mobile versions. Use the corner triangle or the Select All option in the ribbon instead.
  • Selecting all rows when you only need a few. Selecting the entire sheet can slow down formatting or deletion operations on large workbooks. Use Shift + click on row headers for a specific range.

Tips

  • Use Ctrl + Shift + End to select from the active cell to the last used cell in the worksheet — useful when you want all rows that contain data without selecting empty columns.
  • Press Ctrl + A three times in a row to cycle through: current region, entire sheet, and back to current region (behavior can vary by Excel version).
  • To select all rows below a certain point, click the first row header, then press Ctrl + Shift + Down Arrow to extend the selection to the last row with data.
  • If you need to copy all rows, select them with Ctrl + A twice, then press Ctrl + C. Pasting into a new sheet will include all rows and columns.
  • On Mac, the Command key replaces Ctrl for most shortcuts. Command + A works the same way as Ctrl + A in Windows Excel.

Troubleshooting

  • The shortcut does nothing. Make sure Excel is the active window and you are not editing a cell. Click a cell first, then try again. If you are using a laptop with a function key row, some keyboards require Fn or a different modifier — check your keyboard layout.
  • Only part of the data is selected. Your data likely has blank rows or columns. Press Ctrl + A a second time to expand to the whole sheet, or manually select the range with Shift + click on row headers.
  • The selection includes hidden rows. Ctrl + A selects all rows, including hidden ones. To select only visible rows, use Alt + ; (Windows) after selecting the range, which selects visible cells only.
  • Excel freezes or lags when selecting all rows. Very large worksheets with many formulas can slow down when the entire sheet is selected. Try selecting only the used range with Ctrl + Shift + End instead.
  • Shortcut conflicts with other software. Some screen readers or macro tools intercept Ctrl + A. Close other applications or check your add-ins in File > Options > Add-ins.

Frequently Asked Questions

What is the shortcut to select all rows in Excel?

Press Ctrl + A (Windows) or Command + A (Mac) twice. The first press selects the current data region; the second selects the entire worksheet, including all rows.

How do I select all rows but not columns?

Click the row header of the first row, then hold Shift and click the row header of the last row. For all rows, click the triangle at the top-left corner of the grid — this selects the whole sheet, so rows and columns are both included. There is no built-in shortcut to select only rows without columns.

Why does Ctrl + A select only part of my data?

Excel treats contiguous blocks of data as a region. If there are blank rows or columns, the first Ctrl + A stops at the gap. Press Ctrl + A again to select the entire sheet.

Does Ctrl + A work in Excel Online?

Excel Online supports some keyboard shortcuts, but Ctrl + A may not select all rows reliably. Use the triangle at the top-left corner of the grid or the Select All option in the ribbon instead.

How do I select all rows except the header?

Click the row header for the first data row (e.g., row 2), then press Ctrl + Shift + Down Arrow to extend to the last row with data. This excludes the header row.

Can I select all rows with a mouse?

Yes. Click the small triangle at the intersection of the row and column headers (top-left corner of the grid). This selects the entire worksheet, which includes all rows.