To select all in an Excel spreadsheet, press Ctrl + A on Windows or Command + A on a Mac. If you are editing a cell, press it once to select the current data region, and press it again to select the entire worksheet. You can also click the small triangle at the top-left corner of the grid, between the column A header and the row 1 header. That triangle is the Select All button and works in every version of Excel.
What You'll Need
- A computer with Microsoft Excel installed (Windows or Mac). The steps also work in Excel for the web, though some shortcuts differ.
- A spreadsheet open, even a blank one.
- A keyboard with a working Ctrl key (Windows) or Command key (Mac).
Step-by-Step
- Click any cell in the worksheet to make sure Excel is active and no cell is in edit mode. If the cursor is blinking inside a cell, press Enter or Esc first.
- Press Ctrl + A (Windows) or Command + A (Mac). The first press selects the current data region — the block of cells around your active cell that contains data. If your data has no blank rows or columns, this often selects the whole block.
- Press the same shortcut again to select the entire worksheet, including empty cells. You will see the whole grid highlighted in grey.
- Alternatively, click the Select All triangle at the intersection of the row and column headers (top-left corner of the grid). This selects the entire sheet in one click, no matter where the active cell is.
- To select all cells in a specific range, click the first cell, then hold Shift and click the last cell. Or press Ctrl + Shift + End to extend the selection to the last used cell.
- To select an entire row or column, click the row number or column letter header. Drag across headers to select multiple rows or columns.
- To select all cells with data but not empty cells, click inside your data and press Ctrl + A once. If that selects the whole sheet, press Ctrl + A again to toggle back to the data region. The behavior depends on whether the active cell is adjacent to data.
- To deselect, click any single cell. The highlighting disappears and you are back to normal editing.
Note: Menu labels and shortcut behavior can differ slightly by Excel version, device, and region. On Excel for the web, Ctrl + A works similarly, but the Select All triangle is always available.
Common Mistakes
- Pressing Ctrl + A while editing a cell. This inserts the letter “a” or opens a dialog instead of selecting cells. Always exit edit mode first (press Enter or Esc).
- Expecting Ctrl + A to always select the whole sheet. The first press selects the current region; a second press selects all. Many people stop after one press and wonder why only part of the sheet is highlighted.
- Using Ctrl + A in a filtered list. It may select only visible cells, not hidden ones. To select all cells including hidden, use the Select All triangle.
- Confusing Select All with Select All Sheets. Right-clicking a sheet tab and choosing “Select All Sheets” groups sheets for editing, which is different from selecting cells.
- Forgetting that selecting all and then typing overwrites everything. If you start typing after selecting the whole sheet, Excel replaces the content of the active cell only, but pressing Delete clears all selected cells. Be careful with Delete.
Tips
- Use Ctrl + A twice quickly to select the entire sheet without reaching for the mouse.
- To select all cells from the active cell to the last used cell, press Ctrl + Shift + End. This is handy for copying a large block.
- To select all cells with data in a column, click the first cell and press Ctrl + Shift + Down Arrow. This stops at the last non-empty cell.
- If you need to select all cells with a specific format or value, use Find & Select > Go To Special (on the Home tab). For example, select blanks or formulas.
- When you select the entire sheet, the Name Box (left of the formula bar) shows the whole range, and you can type a name to create a named range for future use.
- On a Mac, the shortcut is Command + A. If that doesn’t work, try Command + Shift + Space, which also selects the entire sheet in some Excel versions.
Troubleshooting
- Ctrl + A does nothing: Make sure Excel is the active window and no cell is in edit mode. Click a cell first, then try again. If you are using a laptop with a function key, you may need to press Fn + Ctrl + A, though that is rare.
- Only part of the sheet is selected: Press Ctrl + A again. If it still selects only a region, your data may have blank rows or columns that break the region. Use the Select All triangle instead.
- The Select All triangle is hidden: It may be obscured if the workbook window is small. Maximize the Excel window or scroll to the top-left corner.
- Shortcut conflicts: Some add-ins or other software may capture Ctrl + A. Try the triangle method or disable add-ins temporarily via File > Options > Add-ins.
- On Excel for the web: The shortcut works, but if not, use the triangle. Some keyboard shortcuts are handled by the browser; try clicking inside the grid first.
- If you accidentally delete data after selecting all: Press Ctrl + Z immediately to undo. To avoid this, avoid pressing Delete unless you intend to clear everything.
Frequently Asked Questions
How do I select all cells in a column without scrolling?
Click the column header letter. That selects the entire column, including empty cells. To select only the data region in that column, click the first cell and press Ctrl + Shift + Down Arrow.
Can I select all sheets at once?
Right-click any sheet tab and choose “Select All Sheets.” This groups the sheets so that changes you make apply to all selected sheets. To ungroup, right-click a tab and choose “Ungroup Sheets.”
Why does Ctrl + A select only part of my data?
Excel’s Ctrl + A first selects the current data region (a contiguous block of cells with data). If your data has blank rows or columns, the region stops at the blank. Press Ctrl + A again to select the entire worksheet.
Is there a way to select all cells with data but skip empty ones?
Yes. Click inside your data and press Ctrl + A once. If that selects the whole sheet, press Ctrl + A again to toggle back to the data region. Alternatively, use Find & Select > Go To Special > Constants or Formulas to select only cells with content.
What is the Select All button?
It is the small triangle at the top-left corner of the grid, between the column A header and the row 1 header. Clicking it selects the entire worksheet.
Does Ctrl + A work in Excel for Mac?
Yes, but the shortcut is Command + A. In some versions, Command + Shift + Space also selects the entire sheet.