Excel F5: Go To and Special Functions Explained
In this article
Pressing F5 in Excel opens the Go To dialog, which lets you jump to any cell, named range, or formula result, and its Special button opens the Go To Special menu for selecting cells by type (formulas, blanks, constants, visible cells, and more). On many laptops you need to press Fn+F5 because the function keys are set to media or brightness by default. The steps below show both the basic jump and the most useful Special selections, plus what to do when the key does nothing.
What You'll Need
- Excel for Windows or Mac (the F5 shortcut is Windows-only; Mac users use the Go To menu or Control+G).
- A workbook open with at least one sheet and some data or formulas.
- If your keyboard has a Fn key, be ready to press Fn+F5.
Step-by-Step
- Open the Go To dialog. Press F5 on a full-size keyboard. On a laptop where the top row controls volume or brightness, hold Fn and press F5. You can also use Ctrl+G, or on the Home tab click Find & Select > Go To. The dialog has a Reference box and a Special button. Menu labels can differ slightly by Excel version and region.
- Jump to a cell or range. Type a reference such as
D100orA1:C20in the Reference box and press Enter. Excel selects that cell or range and closes the dialog. This is faster than scrolling on large sheets. - Jump to a named range. If you have defined names (Formulas > Define Name), type the name in the Reference box and press Enter. The name appears in the Go To list once it has been used.
- Return to a previous selection. The Go To dialog keeps a list of recent references under the Reference box. Click one and press Enter to go back. This is handy when you are auditing a sheet and keep jumping between distant areas.
- Select special cells. Press F5, then click Special. The Go To Special dialog opens with options such as Comments, Constants, Formulas, Blanks, Current region, Current array, Objects, and Visible cells only. Pick one and click OK. Excel selects every matching cell on the sheet.
- Use Formulas to find calculated cells. In Go To Special, choose Formulas, then tick the subtypes you want (Numbers, Text, Logicals, Errors). For example, tick Errors to select every cell containing #N/A, #VALUE!, or other error values so you can review or delete them.
- Use Blanks to fill gaps. Choose Blanks and click OK. Excel selects empty cells within the used range. You can then type a value and press Ctrl+Enter to fill all selected blanks at once. Be careful: this overwrites nothing in filled cells, but it does add data to every blank in the selection.
- Use Visible cells only. After filtering a table, open Go To Special and choose Visible cells only. This selects only the rows you can see, so copying and pasting skips hidden rows. Without this step, Excel copies hidden rows too.
- Use Current region. Choose Current region to select the block of data around the active cell, stopping at blank rows and columns. This is a quick way to select a whole table before sorting or formatting.
- Close and repeat. Press Esc or click Cancel to close any dialog without changing the selection. F5 and Ctrl+G both reopen the same dialog, so you can repeat a jump quickly.
Common Mistakes
- Pressing F5 and nothing happens. On laptops the Fn lock or media keys take over the top row. Press Fn+F5, or change the keyboard's function-key mode in the manufacturer's settings.
- Typing a reference with a space or missing sheet name. Use
Sheet2!A1for another sheet. A space where a colon belongs causes an error. - Assuming Go To Special searches the whole workbook. It works on the active sheet only. Repeat on each sheet or group sheets first.
- Deleting blanks without checking. Selecting Blanks and pressing Delete removes nothing visible, but if you then type and press Ctrl+Enter you overwrite every selected blank. Undo with Ctrl+Z if needed.
- Copying filtered data without Visible cells only. Pasting then includes hidden rows, which corrupts summaries.
Tips
- Ctrl+G does the same thing as F5 on Windows, which helps on keyboards where F5 is remapped.
- After using Go To Special, the selection stays active. Press Ctrl+C to copy, or start typing to replace the first cell.
- Use Formulas > Errors in Go To Special before sending a workbook to someone else; it highlights broken links and #REF! cells quickly.
- Combine Go To Special > Visible cells only with Alt+; (semicolon) on Windows, which is the direct shortcut for selecting visible cells in a filtered range.
- Named ranges make the Reference box more useful: define names for key areas, then F5 becomes a navigation menu.
Troubleshooting
- The dialog opens but the reference is rejected. Check for typos, missing exclamation marks before sheet names, and that the sheet exists. Ranges must use a colon, not a dash.
- Go To Special is greyed out. This happens when the workbook is protected or a cell is in edit mode. Press Esc, unprotect the sheet (Review > Unprotect Sheet), and try again.
- F5 opens a different app. Some keyboards and utilities assign F5 to another program. Use Ctrl+G instead, or reassign the key in the keyboard software.
- Mac users see no F5 behaviour. The Go To dialog is available from the Edit menu or with Control+G; the F5 key is not the standard shortcut on Mac.
- Selections look wrong after filtering. Reapply the filter, then repeat Go To Special > Visible cells only. Hidden rows are excluded only while the filter is active.
Frequently Asked Questions
What does F5 do in Excel?
It opens the Go To dialog, which lets you jump to a cell, range, or named range, and access Go To Special for selecting cells by type.
Why does F5 not work on my laptop?
Many laptops map the top row to media keys. Press Fn+F5, or use Ctrl+G, which opens the same dialog.
Does F5 work on Excel for Mac?
The Go To dialog exists on Mac, but the usual shortcut is Control+G or the Edit menu; the F5 key is not the standard shortcut there.
Can Go To Special find all formulas on a sheet?
Yes. Choose Formulas in Go To Special and tick the subtypes you want, such as Numbers, Text, Logicals, or Errors. It selects matching cells on the active sheet only.
How do I select only visible cells after filtering?
Open Go To Special and choose Visible cells only, or press Alt+; on Windows. Copying then skips hidden rows.
Is F5 the same as Ctrl+G?
On Windows, both open the Go To dialog. Ctrl+G is the safer choice when function keys are remapped.