Wednesday, March 10, 2021

Find and select cells that meet specific conditions

Use the Go To command to quickly find and select all cells that contain specific types of data, such as formulas. Also, use Go To to find only the cells that meet specific criteria,—such as the last cell on the worksheet that contains data or formatting.

Follow these steps:

  1. Begin by doing either of the following:

    • To search the entire worksheet for specific cells, click any cell.

    • To search for specific cells within a defined area, select the range, rows, or columns that you want. For more information, see Select cells, ranges, rows, or columns on a worksheet.

      Tip: To cancel a selection of cells, click any cell on the worksheet.

  2. On the Home tab, click Find & Select > Go To (in the Editing group).

    Excel Ribbon Image

    Keyboard shortcut:  Press CTRL+G.

  3. Click Special.

  4. In the Go To Special dialog box, click one of the following options.

Click

To select

Comments

Cells that contain comments.

Constants

Cells that contain constants.

Formulas

Cells that contain formulas.

Note: The check boxes below Formulas define the type of formula.

Blanks

Blank cells.

Current region

The current region, such as an entire list.

Current array

An entire array if the active cell is contained in an array.

Objects

Graphical objects, including charts and buttons, on the worksheet and in text boxes.

Row differences

All cells that differ from the active cell in a selected row. There is always one active cell in a selection—whether this is a range, row, or column. By pressing the Enter or Tab key, you can change the location of the active cell, which by default is the first cell in a row.

If more than one row is selected, the comparison is done for each individual row of that selection, and the cell that is used in the comparison for each additional row is located in the same column as the active cell.

Column differences

All cells that differ from the active cell in a selected column. There is always one active cell in a selection, whether this is a range, row, or column. By pressing the Enter or Tab key, you can change the location of the active cell—which by default is the first cell in a column.

When selecting more than one column, the comparison is done for each individual column of that selection. The cell that is used in the comparison for each additional column is located in the same row as the active cell.

Precedents

Cells that are referenced by the formula in the active cell. Under Dependents, do either of the following:

  • Click Direct only to find only cells that are directly referenced by formulas.

  • Click All levels to find all cells that are directly or indirectly referenced by the cells in the selection.

Dependents

Cells with formulas that refer to the active cell. Do either of the following:

  • Click Direct only to find only cells with formulas that refer directly to the active cell.

  • Click All levels to find all cells that directly or indirectly refer to the active cell.

Last cell

The last cell on the worksheet that contains data or formatting.

Visible cells only

Only cells that are visible in a range that crosses hidden rows or columns.

Conditional formats

Only cells that have conditional formats applied. Under Data validation, do either of the following:

  • Click All to find all cells that have conditional formats applied.

  • Click Same to find cells that have the same conditional formats as the currently selected cell.

Data validation

Only cells that have data validation rules applied. Do either of the following:

  • Click All to find all cells that have data validation applied.

  • Click Same to find cells that have the same data validation as the currently selected cell.

Need more help?

You can always ask an expert in the Excel Tech Community, get support in the Answers community, or suggest a new feature or improvement on Excel User Voice.

No comments:

Post a Comment