Содержание
- Select cell contents in Excel
- Select one or more cells
- Select one or more rows and columns
- Select table, list or worksheet
- Need more help?
- How to Select All Cells With Values in Excel
- Select All Cells With Values
- Select cell contents in Excel
- Select one or more cells
- Select one or more rows and columns
- Select table, list or worksheet
- Need more help?
- Selecting all the content in your Excel spreadsheet
- 7 Easy Ways to Select Multiple Cells in Excel
- Select Multiple Cells (that are all contiguous)
- Select Rows/Columns
- Select a Single Row/Column
- Select Multiple Rows/Columns
- Select Multiple Non-Adjacent Rows/Columns
- Select All the Cells in the Current Table/Data
- Select All the Cells in the Worksheet
- Select Multiple Non-Contiguous Cells
- Select Cells Using Name Box
- Select a Named Range
Select cell contents in Excel
In Excel, you can select cell contents of one or more cells, rows and columns.
Note: If a worksheet has been protected, you might not be able to select cells or their contents on a worksheet.
Select one or more cells
Click on a cell to select it. Or use the keyboard to navigate to it and select it.
To select a range, select a cell, then with the left mouse button pressed, drag over the other cells.
Or use the Shift + arrow keys to select the range.
To select non-adjacent cells and cell ranges, hold Ctrl and select the cells.
Select one or more rows and columns
Select the letter at the top to select the entire column. Or click on any cell in the column and then press Ctrl + Space.
Select the row number to select the entire row. Or click on any cell in the row and then press Shift + Space.
To select non-adjacent rows or columns, hold Ctrl and select the row or column numbers.
Select table, list or worksheet
To select a list or table, select a cell in the list or table and press Ctrl + A.
To select the entire worksheet, click the Select All button at the top left corner.
Note: In some cases, selecting a cell may result in the selection of multiple adjacent cells as well. For tips on how to resolve this issue, see this post How do I stop Excel from highlighting two cells at once? in the community.
Click the cell, or press the arrow keys to move to the cell.
A range of cells
Click the first cell in the range, and then drag to the last cell, or hold down SHIFT while you press the arrow keys to extend the selection.
You can also select the first cell in the range, and then press F8 to extend the selection by using the arrow keys. To stop extending the selection, press F8 again.
A large range of cells
Click the first cell in the range, and then hold down SHIFT while you click the last cell in the range. You can scroll to make the last cell visible.
All cells on a worksheet
Click the Select All button.
To select the entire worksheet, you can also press CTRL+A.
Note: If the worksheet contains data, CTRL+A selects the current region. Pressing CTRL+A a second time selects the entire worksheet.
Nonadjacent cells or cell ranges
Select the first cell or range of cells, and then hold down CTRL while you select the other cells or ranges.
You can also select the first cell or range of cells, and then press SHIFT+F8 to add another nonadjacent cell or range to the selection. To stop adding cells or ranges to the selection, press SHIFT+F8 again.
Note: You cannot cancel the selection of a cell or range of cells in a nonadjacent selection without canceling the entire selection.
An entire row or column
Click the row or column heading.
2. Column heading
You can also select cells in a row or column by selecting the first cell and then pressing CTRL+SHIFT+ARROW key (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN ARROW for columns).
Note: If the row or column contains data, CTRL+SHIFT+ARROW key selects the row or column to the last used cell. Pressing CTRL+SHIFT+ARROW key a second time selects the entire row or column.
Adjacent rows or columns
Drag across the row or column headings. Or select the first row or column; then hold down SHIFT while you select the last row or column.
Nonadjacent rows or columns
Click the column or row heading of the first row or column in your selection; then hold down CTRL while you click the column or row headings of other rows or columns that you want to add to the selection.
The first or last cell in a row or column
Select a cell in the row or column, and then press CTRL+ARROW key (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN ARROW for columns).
The first or last cell on a worksheet or in a Microsoft Office Excel table
Press CTRL+HOME to select the first cell on the worksheet or in an Excel list.
Press CTRL+END to select the last cell on the worksheet or in an Excel list that contains data or formatting.
Cells to the last used cell on the worksheet (lower-right corner)
Select the first cell, and then press CTRL+SHIFT+END to extend the selection of cells to the last used cell on the worksheet (lower-right corner).
Cells to the beginning of the worksheet
Select the first cell, and then press CTRL+SHIFT+HOME to extend the selection of cells to the beginning of the worksheet.
More or fewer cells than the active selection
Hold down SHIFT while you click the last cell that you want to include in the new selection. The rectangular range between the active cell and the cell that you click becomes the new selection.
Need more help?
You can always ask an expert in the Excel Tech Community or get support in the Answers community.
Источник
How to Select All Cells With Values in Excel
In this tutorial, you will learn how to select all cells with values in Excel.
Select All Cells With Values
In Excel, it’s easy to select all cells in a sheet or range, but it’s also possible to select all cells containing values at once with just a little more work. Say you have the data set below, with some values missing for Sales Amount (Column D). The following example will show how to select all cells in the range at once, excluding those without values.
- Select the entire range (e.g., B3:D12) and in the Ribbon, go to Home > Find & Select > Go To Special.
- In the Go To Special window, select Constants and click OK.
When you select Constants, Numbers, Text, Logicals, and Errors are all checked by default. This means that all four types of data will be selected. If there are some types you don’t want to include, uncheck them.
As a result, cells that are not empty are selected, while empty cells (D5, D7, D9, and D10) are not.
Источник
Select cell contents in Excel
In Excel, you can select cell contents of one or more cells, rows and columns.
Note: If a worksheet has been protected, you might not be able to select cells or their contents on a worksheet.
Select one or more cells
Click on a cell to select it. Or use the keyboard to navigate to it and select it.
To select a range, select a cell, then with the left mouse button pressed, drag over the other cells.
Or use the Shift + arrow keys to select the range.
To select non-adjacent cells and cell ranges, hold Ctrl and select the cells.
Select one or more rows and columns
Select the letter at the top to select the entire column. Or click on any cell in the column and then press Ctrl + Space.
Select the row number to select the entire row. Or click on any cell in the row and then press Shift + Space.
To select non-adjacent rows or columns, hold Ctrl and select the row or column numbers.
Select table, list or worksheet
To select a list or table, select a cell in the list or table and press Ctrl + A.
To select the entire worksheet, click the Select All button at the top left corner.
Note: In some cases, selecting a cell may result in the selection of multiple adjacent cells as well. For tips on how to resolve this issue, see this post How do I stop Excel from highlighting two cells at once? in the community.
Click the cell, or press the arrow keys to move to the cell.
A range of cells
Click the first cell in the range, and then drag to the last cell, or hold down SHIFT while you press the arrow keys to extend the selection.
You can also select the first cell in the range, and then press F8 to extend the selection by using the arrow keys. To stop extending the selection, press F8 again.
A large range of cells
Click the first cell in the range, and then hold down SHIFT while you click the last cell in the range. You can scroll to make the last cell visible.
All cells on a worksheet
Click the Select All button.
To select the entire worksheet, you can also press CTRL+A.
Note: If the worksheet contains data, CTRL+A selects the current region. Pressing CTRL+A a second time selects the entire worksheet.
Nonadjacent cells or cell ranges
Select the first cell or range of cells, and then hold down CTRL while you select the other cells or ranges.
You can also select the first cell or range of cells, and then press SHIFT+F8 to add another nonadjacent cell or range to the selection. To stop adding cells or ranges to the selection, press SHIFT+F8 again.
Note: You cannot cancel the selection of a cell or range of cells in a nonadjacent selection without canceling the entire selection.
An entire row or column
Click the row or column heading.
2. Column heading
You can also select cells in a row or column by selecting the first cell and then pressing CTRL+SHIFT+ARROW key (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN ARROW for columns).
Note: If the row or column contains data, CTRL+SHIFT+ARROW key selects the row or column to the last used cell. Pressing CTRL+SHIFT+ARROW key a second time selects the entire row or column.
Adjacent rows or columns
Drag across the row or column headings. Or select the first row or column; then hold down SHIFT while you select the last row or column.
Nonadjacent rows or columns
Click the column or row heading of the first row or column in your selection; then hold down CTRL while you click the column or row headings of other rows or columns that you want to add to the selection.
The first or last cell in a row or column
Select a cell in the row or column, and then press CTRL+ARROW key (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN ARROW for columns).
The first or last cell on a worksheet or in a Microsoft Office Excel table
Press CTRL+HOME to select the first cell on the worksheet or in an Excel list.
Press CTRL+END to select the last cell on the worksheet or in an Excel list that contains data or formatting.
Cells to the last used cell on the worksheet (lower-right corner)
Select the first cell, and then press CTRL+SHIFT+END to extend the selection of cells to the last used cell on the worksheet (lower-right corner).
Cells to the beginning of the worksheet
Select the first cell, and then press CTRL+SHIFT+HOME to extend the selection of cells to the beginning of the worksheet.
More or fewer cells than the active selection
Hold down SHIFT while you click the last cell that you want to include in the new selection. The rectangular range between the active cell and the cell that you click becomes the new selection.
Need more help?
You can always ask an expert in the Excel Tech Community or get support in the Answers community.
Источник
Selecting all the content in your Excel spreadsheet
Not being an Excel guru, I tend to do things manually instead of using features that can make things a LOT faster… such as selecting all the data in an Excel spreadsheet. I’ve been known to do a lot of scrolling to find the end points and dragging to select everything. It’s a lot easier just to use the CTRL-A keyboard shortcut!
In this example spreadsheet, I want to select just the cells with data in them. I need to select one of the cells that has data (in this case, A5), and press CTRL-A:
When I do that, Excel automatically selects just the range of cells that contain data:
However, if I click CTRL-A again, Excel selects ALL the cells in the worksheet (if you need that for some reason):
By remembering this keyboard shortcut, you can save a ton of time trying to select just the data instead of searching for it.
Источник
7 Easy Ways to Select Multiple Cells in Excel
Selecting a cell is one of the most basic things users do in Excel.
There are many different ways to select a cell in Excel – such as using the mouse or the keyboard (or a combination of both).
In this article, I would show you how to select multiple cells in Excel. These cells could all be together (contiguous) or separated (non-contiguous)
While this is quite simple, I’m sure you’ll pick up a couple of new tricks to help you speed up your work and be more efficient.
So let’s get started!
This Tutorial Covers:
Select Multiple Cells (that are all contiguous)
If you know how to select one cell in Excel, I’m sure you also know how to select multiple cells.
But let me still cover this anyway.
Suppose you want to select cells A1:D10.
Below are the steps to do this:
- Place the cursor on cell A1
- Select cell A1 (by using the left mouse button). Keep the mouse button pressed.
- Drag the cursor till cell D10 (so that it covers all the cells between A1 and D10)
- Leave the mouse button
Now let’s see some more cases.
Select Rows/Columns
A lot of times, you will be required to select an entire row or column (or even multiple rows or columns). These could be to hide or delete these rows/columns, move it around in the worksheet, highlight it, etc.
Just like you can select a cell in Excel by placing the cursor and clicking the mouse, you can also select a row or a column by simply clicking on the row number or column alphabet.
Let’s go through each of these cases.
Select a Single Row/Column
Here is how you can select an entire row in Excel:
- Bring the cursor over the row number of the row that you want to select
- Use the left mouse-click to select the entire row
When you select the entire row, you will see that the color of that selection changes (it becomes a bit darker as compared to the rest of the cell in the worksheet).
Just like we have selected a row in Excel, you can also select a column (where instead of clicking on the row number, you have to click on the column alphabet, which is at the top of the column).
Select Multiple Rows/Columns
Now, what if you don’t want to select just one row.
What if you want to select multiple rows?
For example, let’s say that you want to select row number 2, 3, and 4 at the same time.
Here is how to do that:
- Place the cursor over row number 2 in the worksheet
- Press the mouse left button while your cursor is on row number two (keep the mouse button pressed)
- Keep the mouse left-button still pressed and drag the cursor down till row 4
- Leave the mouse button
You’ll see that this would select three adjacent rows that you covered through your mouse.
Just like we have selected three adjacent rows, you can follow the same steps to select multiple columns as well.
Select Multiple Non-Adjacent Rows/Columns
What if you want to select multiple rows, but these are not-adjacent.
For example, you may want to select row numbers 2, 4, 7.
In such a case you cannot use the mouse drag technique covered above because it would select all the rows in between.
To do this, you will have to use a combination of keyboard and mouse.
Here is how to select non-adjacent multiple rows in Excel:
- Place the cursor over row number 2 in the worksheet
- Hold the Control key on your keyboard
- Press the mouse left button while your cursor is on row number 2
- Leave the mouse button
- Place the cursor over the next row you want to select (row 4 in this case),
- Hold the Control key on your keyboard
- Press the mouse left button while your cursor is on row number 4. Once row 4 is also selected, leave the mouse button
- Repeat the same to select row 7 as well
- Leave the Control key
The above steps would select multiple non-adjacent rows in the worksheet.
You can use the same method to select multiple non-adjacent columns.
Select All the Cells in the Current Table/Data
Most of the time, when you have to select multiple cells in Excel, these would be the cells in a specific table or a dataset.
You can do this by using a simple keyboard shortcut.
Below are the steps to select all the cells in the current table:
- Select any cell within the data set
- Hold the Ctrl key and then press the A key
The above steps would select all the cells in the data set (where Excel considers this data set to extend until it encounters a blank row or column).
As soon as Excel encounters a blank row or blank column, it would consider this as the end of the data set (so anything beyond the blank row/column will not be selected)
Select All the Cells in the Worksheet
Another common task that is often done is to select all the cells in the worksheet.
I often work with data downloaded from different databases, and often this data is formatted in a certain way. And my first step as soon as I get this data is to select all the cells and remove all the formatting.
Here is how you can select all the cells in the active worksheet:
- Select the worksheet in which you want to select all the cells
- Click on the small inverted triangle at the top left part of the worksheet
This would instantly select all the cells in the entire worksheet (note that this would not select any object such as a chart or shape in the worksheet).
And if you are a keyboard shortcut aficionado, you can use the below shortcut:
If you have selected a blank cell that does not have any data around it, you don’t need to press the A key twice (just use Control-A).
Select Multiple Non-Contiguous Cells
The more you work with Excel, the more you would have a need to select multiple non-contiguous cells (such as A2, A4, A7, etc.)
Below I have an example where I only want to select the records for the US. And since these are not adjacent to each other, I somehow need to figure out how to select all these multiple cells at the same time.
Again, you can do this easily using a combination of keyboard and mouse.
Below are the steps to do this:
- Hold the Control key on the keyboard
- One by one, select all the non-contiguous cells (or range of cells) that you want to remain selected
- When done, leave the Control key
The above technique also works when you want to select non-contiguous rows or columns. You can simply hold the Control key and select the non-adjacent rows/columns.
Select Cells Using Name Box
So far we have seen examples where we could manually select the cells because they were close by.
But in some cases, you may have to select multiple cells or rows/columns that are far off in the worksheet.
Of course, you can do that manually, but you’ll soon realize that it’s time-consuming and error-prone.
If it’s something you have to do quite often (that is, select the same cells or rows/columns), you can use the Name Box to do it a lot faster.
Name Box is the small field that you have on the left of the formula bar in Excel.
When you type a cell reference (or a range reference) in the name box, it selects all the specified cells.
For example, let’s say I want to select cell A1, K3, and M20
Since these are quite far off, if I try and select these using the mouse, I would have to scroll a little bit.
This may be justified if you only have to do it once in a while, but in case you have to say select the same cells often, you can use the name box instead.
Below are the steps to select multiple cells using the name box:
- Click on the name box
- Enter the cell references that you want to select (separated by comma)
- Hit the enter key
The above steps would instantly select all the cells that you have entered in the name box.
Of these selected cells, one would be the active cell (and the cell reference of the active cell would now be visible in the name box).
Select a Named Range
If you have created a named range in Excel, you can also use the Name Box to refer to the entire named range (instead of using the cell references as shown in the method above)
If you don’t know what a Named Range is, it’s when you assign a name to a cell or a range of cells and then use the name instead of the cell reference in formulas.
Below are the steps to quickly create a Named Range in Excel:
- Select the cells that you want to be included in the Named Range
- Click on the Name box (which is the field adjacent to the formula bar)
- Enter the name that you want to assign to the selected range of cells (you can’t have spaces in the name)
- Hit the Enter key
The above steps would create a Named Range for the cells that you selected.
Now, if you want to quickly select these same cells, instead of doing that manually you can simply go to the Name box and enter the name of the named range (or click on the dropdown icon and select the name from there)
This would instantly select all the cells that are part of that Named Range.
So, these are some of the methods that you can use to select multiple cells in Excel.
I hope you found this tutorial useful.
Other Excel tutorials you may like:
Источник
I have some data in an Excel Worksheet. I would like to select all the cells which contain data.
For example, for a worksheet with data in cells A1, A2, A3, B1, B2, B3, C1, C2, and C3, how can I select just this 3×3 grid, and not the entire sheet?
I am looking for something like ActiveSheet.SelectUsedCells
.
Brett Donald
5,3774 gold badges22 silver badges51 bronze badges
asked Apr 30, 2009 at 8:43
1
Here you go:
Range("A1").Select
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
Or if you don’t necessarily start at A1:
Range("C6").Select ' Select a cell that you know you populated'
Selection.End(xlUp).Select
Selection.End(xlToLeft).Select
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
answered Apr 30, 2009 at 9:00
RichieHindleRichieHindle
269k47 gold badges356 silver badges398 bronze badges
You might also want to look at the CurrentRegion
property. This will select a contiguous range that is bounded by empty cells, so might be a more elegant way of doing this, depending on the format of your worksheet.
For example:
Range("A1").CurrentRegion.Select
cyberponk
1,51617 silver badges19 bronze badges
answered Apr 30, 2009 at 9:52
LunatikLunatik
3,8286 gold badges37 silver badges52 bronze badges
In this article, we will learn how to select an entire column in excel and how to select whole row or a table using keyboard shortcut keys. While preparing reports and dashboard in Excel, it’s time-consuming to select an entire column using the mouse. These excel shortcuts are useful to save time and help you do your work faster using the keyboard shortcut keys. How to select row with the Excel shortcut?
Selecting cells is a very common function in Excel. It performs many tasks like addition, deletion and width adjustment of multiple rows and columns while applying the formula on data in Excel. Shortcut keys to select all rows and columns can provide an easier and quicker method of using MS Excel 2016. We have a data set here, let’s understand with the example.
How to Select Column in Excel Using Keyboard Shortcuts (CTRL+SPACE)
While navigating on an excel sheet with large data, excel column selection is very basic yet important task. Let’s see how easy is selecting columns in excel.
- Select any cell in any column.
- Press Ctrl + Space shortcut keys on the keyboard. The whole column will be highlighted in excel to show the selected column, as shown below in the picture. You can also say that this is a shortcut to highlight column in excel.
If you wish to select the adjacent columns with the selected column, use Shift + Left/Right arrow key(s) to select entire columns left or right of that column. You can go either way but can’t select both sides of column.
Let’s Select Entire Columns C to E
- To Select Column C:E, Select any cell of the 3rd column.
- Use Ctrl + Space shortcut keys from your keyboard to select column E (Leave the keys if the column is selected).
- Now use Shift + Right (twice) arrow keys to select columns D and E, simultaneously.
- You can select columns C:A by using shortcut Shift + Left (twice) arrow keys.
- You can select columns to the end of sheet using Ctrl+Shift + Left shortcut.
- To select to end of column from a cell, use excel shortcut Ctrl+Shift + Down arrow.
You can’t select columns A:E if you start from any column in between. I am repeating, you can only select entire columns in Excel from left or right of initial column.
How to Select Entire Row Using Keyboard Shortcuts in Excel (SHIFT+SPACE)
This command is used for selecting rows in excel. This is also a shortcut to highlight a row in excel.
- Select the cell in the row you wish to select.
- Press Shift+ Space key to select the row on the selected cell (release the keys, if the row is selected).
- If you wish to select the adjacent rows with the selected row, press Shift+ Up/down arrow key(s) to select the UP or DOWN to that row. You can go either way but can’t access both sides of it.
Selecting 3rd to 5th whole rows of the sheet can be done in two ways:
- Select any cell of the 3rd row, press Shift + Space key to select the row.
- Now use Shift + Down(twice) arrow key to select the 4th and the 5th row.
- Or you could go another way from 5th to 3rd row but you won’t be able to select 3rd and 5th row both, starting from the 4th row.
Select multiple rows and columns of a table with shortcut keys and perform your tasks efficiently.
Frequently Asked Question:
How to apply formula to entire column?
Easy, write a formula in the first cell of column and press CTRL + SPACE to select entire column and then CTRL+D to apply formula to entire column.
How to select all in excel?
To select all data press CTRL+A.
How to highlight a row in excel?
Just select any cell in the row you want to highlight and Press Shift+ Space.
How to select multiple cells in Excel mac?
Hold down the command key and scroll over the cells to select. If the cells are not adjacent then click on the cells while holding the command key.
Hope you understood how to select columns and rows with shortcuts in Excel. You can perform these tasks in 2013 and 2010. Explore more links on shortcut keys here. If you have any query, please mention in the comment box below. We will help you.
If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook.
We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at info@exceltip.com
I have an Excel data table (not just a plain worksheet) and I want select all data (not the header and not the rows below the data table) in a column. What’s the easiest way to do this? I use mouse at the moment but it gets inconvenient when the table has many rows.
asked Oct 5, 2015 at 20:44
Borek BernardBorek Bernard
13.8k31 gold badges79 silver badges93 bronze badges
6
@Borek another easiest way is by using keyboard shortcut ctrl
+ space
. It will select the whole column.
answered Oct 6, 2015 at 5:32
2
When you hover over the top border of the header cell, the cursor turns to a down arrow. (Same as when you hover over the column letter.) Click once and it selects the content of the table column. Click a second time and it adds the header cell.
Roy
answered Oct 6, 2015 at 2:07
Roy42Roy42
212 bronze badges
1