Sub topic 12
Selecting special cells with Go To Special
This chapter assumes you can select ranges, copy and paste, and enter simple formulas. Go To Special selects cells by what they contain or how they behave, instead of where they sit. It saves you from hunting for blanks, formulas, or errors by eye.
Opening Go To Special
- Select the range you want to search. If you select only one cell, Excel searches the whole worksheet.
- Press F5 or Ctrl+G to open the Go To dialog.
- Choose Special... to open the Go To Special dialog.
- Pick an option and select OK.
Excel selects every matching cell, even if the cells are far apart. If nothing matches, Excel shows the message "No cells were found."
You can also open it from the ribbon: Home > Find & Select > Go To Special.
Useful options
| Option | What it selects | Typical use |
|---|---|---|
| Constants | Cells with typed values, not formulas. You can limit them to numbers, text, logicals, or errors. | Clear input cells and keep formulas. |
| Formulas | Cells that contain formulas, again limited by result type. | Check or protect calculated cells. |
| Blanks | Empty cells in the selected range. | Fill gaps or delete empty rows. |
| Row differences | Cells in each row that differ from the active cell in that row. | Spot inconsistent formulas. |
| Visible cells only | Cells not hidden by filters, hidden rows, or hidden columns. | Copy only what you can see. |
Worked example: fill blank cells
A report lists a region name once, then leaves cells below it empty. This layout blocks sorting and filtering. Go To Special fixes it quickly.
Suppose A2:A9 holds this data:
A2: North
A3: (blank)
A4: (blank)
A5: South
A6: (blank)
A7: East
A8: (blank)
A9: (blank)- Select A2:A9.
- Open Go To Special, choose Blanks, and select OK. Only the empty cells are selected, and the active cell is the first blank, A3.
- Type
=and press the Up Arrow. The formula bar shows=A2. - Press Ctrl+Enter, not Enter. This enters the formula in every selected cell.
Each blank now holds a formula that points to the cell above it. A3 contains =A2, A4 contains =A3, and A6 contains =A5. The references are relative, so each one shifts as you learned in the chapter on references.
To make the values permanent, select A2:A9, copy, and use Paste Special > Values over the same cells. Without this step, sorting the list can break the formulas.
Other practical uses
- Clear inputs safely. Select the input area, choose Constants with only Numbers ticked, then press Delete. Formulas stay intact.
- Delete empty rows. Select the data, choose Blanks, then use Home > Delete > Delete Sheet Rows. Check first that a blank in one column does not sit in a row with data in other columns, or you will delete real records.
- Find errors. Choose Formulas with only Errors ticked to jump to every
#N/Aor#DIV/0!. - Copy visible cells. In a filtered list, select the range, choose Visible cells only, then copy. Hidden rows stay out of the paste. The shortcut is Alt+; (semicolon).
Common errors
- Searching the whole sheet by accident. Select your range before opening the dialog.
- Pressing Enter instead of Ctrl+Enter. Enter fills only the active cell.
- Deleting rows that contain data elsewhere. Blanks selects cells, not rows. Deleting entire rows removes everything in them.
- Leaving formulas where you need values. Convert them with Paste Special > Values.
Exercise
A column has numbers in A2:A20, and some cells are empty. You want every empty cell to show 0. List the steps.
Show answer
Select A2:A20. Press F5, choose Special, select Blanks, and select OK. Type 0 and press Ctrl+Enter. Every selected blank cell now contains 0.
Exercise
A sheet mixes typed inputs in B2:D10 with formulas in the same block. How do you clear only the inputs?
Show answer
Select B2:D10. Open Go To Special, choose Constants, and select OK. Press Delete. Formulas are not selected, so they remain.