LearnExcel.io
Menu

How to Select All in Excel

Written by ··Updated June 16, 2026
How to Select All in Excel

To select all cells in Excel, press Ctrl+A on Windows or Command+A on Mac while a cell in your data is active. Press the shortcut again to extend the selection to the entire worksheet, or click the gray triangle in the top-left corner where the row and column headers meet.

Microsoft Excel is a powerful application used by millions of people worldwide for various purposes. Selecting a range of cells is one of the most commonly used functions in Excel, and knowing how to select all cells quickly can significantly enhance efficiency for users, particularly when working with large datasets. While pressing Ctrl+A is a universally known method, there are other ways in Excel that users can select all cells without scrolling to the end of a worksheet. In this blog post, I will explain the different methods for selecting all in Excel to help users save valuable time and streamline their workflows. If you only need part of the sheet, see how to select a range of cells or select multiple cells instead.

Method 1: Ctrl+A for Windows and Command+A for Mac

The most obvious way to select all cells in Excel is by using the keyboard shortcut Ctrl+A if you are on Windows and Command+A if you are on a Mac. This keyboard shortcut will highlight all cells on the active sheet. To select all cells on the worksheet including hidden rows and columns, click on the first cell in the top-left corner of the worksheet then press Ctrl+A for Windows or Command+A for Mac.

Method 2: Use the Excel Ribbon

If you’re not a fan of keyboard shortcuts, another way to select all cells in Excel is by using the Excel Ribbon. Here’s how:

Step 1:

  • Select the Home tab on the Excel ribbon.

Step 2:

  • Click on the “Find and Select” button located at the far-right corner of the ribbon.

Step 3:

  • Choose “Select All” from the list of options. All cells will now be selected on the worksheet.

Method 3: Using Name Box

You can also use the Name Box option in Excel to select all cells. Here’s how:

Step 1:

  • Click on the Name Box located above column A and row 1, where the cell address appears.

Step 2:

  • Type A1 in the Name Box and press enter.

Step 3:

  • This will highlight the entire sheet, including hidden rows and columns.

Method 4: VBA Macro to Select All Cells

In Excel, you can write a VBA macro that selects all the cells in the active sheet. Here’s how:

Step 1:

  • Press Alt + F11 to open the VBA Editor.

Step 2:

  • Click on “Insert” and select “Module.”

Step 3:

  • Paste the following code into the editor:
Sub SelectAll()
    Cells.Select
End Sub

Step 4:

  • Press F5 or click on the “Play” button to run the macro. This will select all cells in the worksheet.

Now you know multiple ways to select all cells in Excel. Using the different methods outlined in this blog, you can improve your efficiency and save time working with large datasets.

What to Do When Selecting All Cells Takes Too Long?

If you have a large dataset with a lot of rows or columns, it can take a long time to select all cells using the methods described above, particularly if you have to scroll to the edges of your spreadsheet. If you run into this issue, follow these steps to speed things up:

Step 1:

  • Press Ctrl + Home (Windows) or Command + Home (Mac) to jump to cell A1, which is the top-left corner of your spreadsheet.

Step 2:

  • Press Ctrl + Shift + End (Windows) or Command + Shift + End (Mac) to select all cells from A1 to the bottom-right of your spreadsheet.

With this method, you can quickly select all cells in your dataset without having to scroll, making it a faster option for large datasets.

Keyboard Shortcuts You Should Know

Keyboard shortcuts are useful for navigating Excel and completing tasks efficiently. Here are some keyboard shortcuts that can help you work faster when using Excel:

  • Ctrl + Shift + Down Arrow: Selects all cells from the current cell down to the last used cell in the column.
  • Ctrl + Shift + Right Arrow: Selects all cells from the current cell to the last used cell in the row.
  • Ctrl + Spacebar: Selects the entire column of the active cell.
  • Shift + Spacebar: Selects the entire row of the active cell. (On Mac, both column and row shortcuts work the same way; if Ctrl+Spacebar is intercepted by your system input switcher, use Control+Spacebar.)

To pick out scattered cells that are not next to each other, hold Ctrl (Windows) or Command (Mac) while clicking each one — see the full guide to selecting non-adjacent cells. You can also select multiple rows or select multiple columns by dragging across their headers, and review the best Excel keyboard shortcuts for more time-savers. If you ever need to undo part of a selection, here is how to deselect cells in Excel.

By taking the time to learn these shortcuts, you can speed up various tasks and maximize your efficiency when working on excel.

Excel is a powerful tool, and knowing how to select all cells can save you time when working with large datasets. In this blog post, you learned all about the different methods you can use to select all cells in Excel, including keyboard shortcuts and using the Excel ribbon. You also learned how to speed up the process when working with large datasets. By following these tips and tricks, you can streamline your workflow and improve your efficiency when working with Excel.

FAQs

Here are answers to some common questions that you might have regarding selecting all cells in Excel:

Q: Can I select specific cells and then select all cells within that area?

A: Yes. Highlight a group of cells within your desired range, and then press Ctrl + A (or Command + A for Mac). Excel will select all cells in the area.

Q: What is the quickest way to select all cells in Excel?

A: Using the keyboard shortcut Ctrl + A (or Command + A for Mac) is the quickest way to select all cells on the active sheet, but if you want to select all cells on a worksheet, try using Method 2 or Method 3 as described in this blog post.

Q: How to select all cells in Excel with hidden rows and columns?

A: To select all cells on the worksheet including hidden rows and columns, use Method 2 described in this blog post. Go to the Home tab in the Excel ribbon, click on “Find and Select” and choose “Select All” from the list of options.

Q: Can I use the Name Box option to select all cells in multiple sheets at once?

A: No. You can use the Name Box option to select all cells on a single worksheet, but it does not apply to multiple sheets simultaneously. You need to use a more comprehensive VBA macro for that.

Q: How to deselect all cells in Excel after selecting all?

A: To deselect all cells after selecting all, you can press Ctrl + Shift + 8 or click on any cell outside the selected region.

Frequently Asked Questions

What is the shortcut to select an entire row in Excel?

Click any cell in the row and press Shift + Spacebar (same on Windows and Mac). To select several adjacent rows, hold Shift and press the Up or Down arrow, or drag across the row numbers on the left. See more on how to select multiple rows.

How do I select an entire column in Excel?

Click any cell in the column and press Ctrl + Spacebar on Windows or Control + Spacebar on Mac. Pressing the shortcut again from a single column extends the selection. For a full walkthrough, read how to select an entire column.

How do I select cells that are not next to each other?

Click the first cell or range, then hold Ctrl (Windows) or Command (Mac) and click each additional cell or range you want. This builds a non-adjacent selection without losing what you already picked — details in our guide to selecting non-adjacent cells.

How do I select all data down to the end of a column?

Click the first cell, then press Ctrl + Shift + Down Arrow (Windows) or Command + Shift + Down Arrow (Mac) to select everything to the last used cell. Use the Right Arrow instead to extend across a row, or Ctrl/Command + Shift + End to grab the whole used range at once.

What is the difference between Ctrl+A pressed once versus twice?

Pressing Ctrl + A (or Command + A) once selects the contiguous block of data around the active cell. Pressing it a second time expands the selection to the entire worksheet, including empty cells.

How do I deselect cells without starting over?

In current versions of Excel, hold Ctrl (Windows) or Command (Mac) and click or drag over the cells you want to remove from an existing selection. For step-by-step help, see how to deselect cells in Excel.

Related guides

How To

How to Select All Images in Excel

Learn how to quickly select all images in Microsoft Excel using simple keyboard shortcuts and graphical user interfaces. Streamline your work today!

May 20, 2023

View all How To guides →