Excel Function Keys: What F1 to F12 Do
By ExcelReady TeamUpdated 5 min read
The short answer
Excel's function keys are shortcuts on the top row. The most useful are F2 to edit a cell, F4 to add $ signs to a reference, F9 to recalculate, F5 for Go To and F12 for Save As. On laptops and Macs, hold Fn so the key isn't used for brightness or volume instead.
Key takeaways
- F2 edits the active cell, F4 toggles $ signs, F9 recalculates, F12 opens Save As.
- Shift, Ctrl and Alt change what each key does: Shift+F3 opens Insert Function, Shift+F11 adds a sheet.
- While editing a formula, select part of it and press F9 to see its result, then press Esc.
- On a laptop or Mac, hold Fn (or turn on Fn Lock) if a function key changes brightness or volume.
- Mac users can also use ⌘T for F4, Control+U for F2 and ⌘+Shift+S for Save As.
On this page+
Excel function keys, F1 to F12 on the top row of your keyboard, are shortcuts for commands you'd otherwise find in menus. A few of them save time every day: F2 to edit a cell, F4 to lock a reference with $ signs, F9 to recalculate and F12 for Save As. This guide lists what each key does on Windows and Mac, which ones to learn first, and how to fix keys that change your screen brightness instead.
What each Excel function key does#
Here is every function key on its own, with the Mac equivalent where it differs. On a Mac, press fn with the key unless you've set the top row to act as standard function keys.
| Key | What it does in Excel (Windows) | Mac |
|---|---|---|
| F1 | Opens Help | fn+F1, or the Help menu |
| F2 | Edits the active cell | fn+F2, or Control+U |
| F3 | Pastes a named range into a formula (only when names exist) | Varies by version |
| F4 | Toggles $ signs in a reference; repeats the last action | ⌘T for references, ⌘Y to repeat |
| F5 | Opens Go To | fn+F5, or Control+G |
| F6 | Moves between the sheet, ribbon and panes | Varies by version |
| F7 | Checks spelling | fn+F7 |
| F8 | Turns Extend Selection mode on or off | fn+F8 |
| F9 | Recalculates all open workbooks | fn+F9, or ⌘= |
| F10 | Shows the ribbon key tips (same as Alt) | Not used the same way |
| F11 | Creates a chart of the selected data on a new chart sheet | fn+F11 |
| F12 | Opens Save As | ⌘+Shift+S |
You don't need all twelve. The next sections cover the ones that matter most in daily work and in timed Excel tests.
The function keys to learn first#
If you learn only five, make them these:
- F2 to fix a cell without retyping it.
- F4 to lock references before you fill a formula down.
- F9 to recalculate, or to check part of a formula.
- F5 to jump to any cell or range by typing its address.
- F12 to save a copy under a new name before you change a file.
The full Excel keyboard shortcuts cheat sheet lists the Ctrl and ⌘ shortcuts that pair with these.
F2: edit a cell#
F2 puts the active cell into edit mode, with the cursor at the end of what's already there. You can then use the arrow keys, Home and End to move inside the text and fix one character. Press Enter to keep the change or Esc to cancel it.
There's one more trick. While you're editing a formula, pressing F2 again switches between moving the cursor inside the formula and pointing at cells with the arrow keys. The status bar at the bottom shows Edit or Point so you know which mode you're in. The guide to editing cells, undo and redo covers the rest of the editing keys.
F4: lock references and repeat actions#
While you edit a formula, F4 cycles the reference at the cursor through four types: E1, $E$1, E$1, $E1. The $ signs stop that part of the reference from changing when you copy the formula. When you're not editing, F4 repeats your last action, such as inserting a row or applying a fill colour.
Here's the classic use. Prices are in B2:B4 and a 15% discount is in E1. In C2, type =B2*(1-E1), click on E1 in the formula and press F4:
=B2*(1-$E$1)The result is 34 (40 × 0.85). Fill it down (Windows: Ctrl+D; Mac: ⌘D) and the next rows give 102 and 72.25, all using the same discount cell. The guide to what F4 does has every detail, including Mac keys.
F9: recalculate and check part of a formula#
F9 recalculates every formula in all open workbooks. You only need it when calculation is set to Manual (Formulas > Calculation Options), which some large files use to stay fast. If your totals don't change when you edit a number, the guide on formulas not updating explains how to switch back to Automatic.
F9 has a second, lesser-known use for checking formulas. While editing a formula, select part of it, such as (1-$E$1), and press F9. Excel replaces that part with its result, here 0.85. Press Esc to leave the formula unchanged. If you press Enter instead, the result stays in the formula as a fixed number, so be careful.
Shift, Ctrl and Alt combinations#
Holding a modifier key gives each function key a second job. These are the most useful on Windows:
| Shortcut | What it does |
|---|---|
| Shift+F2 | Adds or edits a note on the cell |
| Shift+F3 | Opens the Insert Function dialog |
| Ctrl+F3 | Opens Name Manager |
| Shift+F9 | Recalculates the active sheet only |
| Shift+F10 | Opens the right-click menu |
| Shift+F11 | Inserts a new worksheet |
| Alt+F1 | Creates a chart of the selected data on the current sheet |
| Alt+F8 | Opens the Macro dialog |
| Alt+F11 | Opens the Visual Basic editor |
| Ctrl+F1 | Shows or hides the ribbon |
| Alt+F4 | Closes Excel (it asks to save first) |
Shift+F11 also works on a Mac. For other Mac combinations, the guide to Excel on Mac vs Windows covers the main differences.
Why function keys don't work on a laptop or Mac#
If pressing F2 changes your screen brightness instead of editing the cell, the key is set to its hardware function. Fix it in one of three ways:
- Hold Fn (or fn on a Mac) while you press the function key.
- Turn on Fn Lock on Windows laptops. On many models it's Fn+Esc, but it varies by brand; look for a small padlock symbol on a key.
- Change the system setting. On a Mac, open System Settings > Keyboard and turn on the option to use F1, F2 and so on as standard function keys. Some Windows laptops have a similar option in their settings software or BIOS.
If a key still does nothing, check that you're in the right mode. F4 only toggles references while you edit a formula, and F3 only works when the workbook has named ranges.
Practise it#
Function keys only save time once your fingers know them. Practise editing, clearing and undoing in a live spreadsheet to make F2 and Esc a habit, then use F4 in the relative vs absolute references lesson to lock a rate before filling down. The move around the sheet lesson covers the navigation keys that pair with F5. Each step is checked instantly.
Try it yourself
This is a live spreadsheet. Type the formula in the green cell and press Enter.
Work out the sale price in C2. Type =B2*(1-E1), click on E1 in the formula and press F4 (Mac: ⌘T) to lock it as $E$1, then press Enter.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | ||||||
| 3 | ||||||
| 4 | ||||||
| 5 | ||||||
| 6 | ||||||
| 7 |
Tip: 1-$E$1 is the share you still pay (85%). Multiply the price in B2 by it.
Practise this in a lesson
Frequently asked questions
What are the function keys in Excel?
They are the F1 to F12 keys on the top row of the keyboard. In Excel each one runs a command: F1 opens Help, F2 edits a cell, F4 toggles references, F5 opens Go To, F7 checks spelling, F9 recalculates and F12 opens Save As.
What does F2 do in Excel?
F2 puts the active cell into edit mode with the cursor at the end of its contents, so you can change it without retyping. On a Mac, Control+U does the same.
What does F9 do in Excel?
F9 recalculates all formulas in open workbooks, which matters when calculation is set to Manual. While editing a formula, selecting part of it and pressing F9 shows that part's result.
Why don't my function keys work in Excel?
On many laptops and Macs the top row controls brightness, volume or media by default. Hold Fn while pressing the key, turn on Fn Lock, or change the keyboard setting so F1 to F12 act as standard function keys.
What is the shortcut to insert a new sheet in Excel?
Press Shift+F11 on Windows or Mac. Excel adds a new worksheet to the left of the current one.