Skip to content

Lesson 29 of 92 · Free Excel Course

Excel

Excel Formula Shortcuts: F2, F4, Alt+= and the Keys Worth Learning First

The Excel formula and navigation shortcuts that save the most time, taught with examples: F2, F4, Alt+=, Ctrl+Enter, F9 and more, with Mac keys and a practice file.

You don't need to memorise hundreds of shortcuts. A dozen or so, used every day, will save you more time than the rest put together, and most of them are about formulas: getting into a cell, fixing a reference, adding up a column, filling a formula down. This lesson teaches those keys in the order you'd actually use them, each one with something to try. The full list of 54 is on our free printable cheat sheet; here we focus on how and when to use them.

A note on Macs before we start: most Windows shortcuts with Ctrl use Cmd on a Mac, but not all of them, so each section gives the Mac keys separately. And on many laptops the F keys control brightness or volume, so F2 or F4 may need Fn held down too.

Start and finish a formula faster

Type = and let AutoComplete do the spelling. Type =su and Excel shows a list of functions starting with those letters. Press the Down arrow to pick one, then Tab to insert it along with its opening bracket. You don't need to type the full name. Esc closes the list if you don't want it.

Get help with the arguments. Once a function name is in, two shortcuts help:

  • Ctrl+A (with the cursor just after the function name) opens the Function Arguments dialog, which shows each argument with a short explanation. On a Mac, Ctrl+A opens the Formula Builder instead.
  • Ctrl+Shift+A types the argument names into the formula for you, as a reminder of what goes where.

Shift+F3 opens Insert Function (the Formula Builder on a Mac) if you don't know which function you need.

Esc cancels whatever you're typing and leaves the cell as it was. Enter confirms and moves down; Tab confirms and moves right.

Add up a column with Alt+=

Here's the practice sheet: twelve months of sales. To total them:

  1. Click C14, the empty cell just below the numbers.
  2. Press Alt+=. Excel writes =SUM(C2:C13), guessing the range from the numbers above.
  3. Check the dotted outline covers the right cells, then press Enter.
C14=SUM(C2:C13)
ABC
1MonthUnitsSales
2Jan401,200
3Feb451,350
4Mar33980
5Apr501,500
6May541,620
7Jun471,410
8Jul571,700
9Aug521,550
10Sep431,300
11Oct491,480
12Nov631,890
13Dec702,100
14Total60318,080
Alt+= in C14 writes =SUM(C2:C13). Result: 18,080. Do the same in B14 for 603 units.

You can also select B14:C14 first and press Alt+= once to total both columns. On a Mac the shortcut is Cmd+Shift+T; Excel for the web uses Alt+= like Windows.

Edit a formula with F2

To change a formula, don't retype it. Click the cell and press F2. The cursor goes to the end of the formula, right in the cell, and every reference lights up in its own colour with a matching box on the sheet, so you can see at a glance which cells it uses. Use the Left and Right arrows to move inside the formula, fix it, and press Enter.

The practice sheet has a broken one to fix. B16 is meant to show the best month, but the range stops one row short:

B16=MAX(C2:C12)
AB
16Best month (fix me)1,890
December's 2,100 is missing because the range ends at C12. Press F2, change 12 to 13, press Enter: the answer becomes 2,100.

On a Mac, F2 works if your F keys are set as standard keys; otherwise use Fn+F2 or Ctrl+U, which Microsoft lists as the Mac alternative.

Lock a reference with F4

Say each month earns 5% commission, and the rate sits in G1. In D2 you want =C2*$G$1, with the dollar signs so the reference to G1 doesn't slide down when you copy the formula. You don't type the dollar signs:

  1. In D2, type =C2*G1, but don't press Enter yet.
  2. With the cursor touching G1, press F4. It becomes $G$1.
  3. Press Enter.

Each extra press of F4 cycles to the next type: $G$1, G$1, $G1, then back to G1. The Absolute and relative references lesson explains when you'd want each one. On a Mac, press Cmd+T (Microsoft also lists F4). Excel for the web uses F4.

Fill a formula down: Ctrl+D, Ctrl+R and Ctrl+Enter

Three ways to put that commission formula in every row without dragging:

  • Ctrl+D (fill down). Select D2:D13 (D2 must hold the formula) and press Ctrl+D. The top cell is copied into every cell below. Ctrl+R does the same to the right.
  • Ctrl+Enter (fill the selection). Select D2:D13 first, type =C2*$G$1, and press Ctrl+Enter instead of Enter. Excel puts the formula in every selected cell, adjusting C2 to C3, C4 and so on.
  • Ctrl+' (apostrophe) copies the formula from the cell directly above into the current cell, exactly as written, without adjusting references.
D3=C3*$G$1
ABCDEFG
1MonthUnitsSalesCommissionRate5%
2Jan401,20060.00
3Feb451,35067.50
4Mar3398049.00
5Apr501,50075.00
After Ctrl+D or Ctrl+Enter: C moves with each row, $G$1 stays put. The full column totals 904.00.

Mac keys: Cmd+D (or Ctrl+D), Cmd+R (or Ctrl+R), Cmd+Return (or Ctrl+Return) to fill the selection, and Ctrl+' to copy from above. In Excel for the web, Ctrl+Enter isn't listed as a fill shortcut, so use the fill handle or Home, Fill, Down there.

See every formula at once: Ctrl+`

Press Ctrl+` (the grave accent, usually just under Esc) and the sheet switches to show formulas instead of results, with wider columns. It's the quickest way to check that a whole column uses the same formula, or to spot a cell where someone typed a number over a formula. Press it again to switch back. It's Ctrl+` on a Mac as well; in Excel for the web, use Formulas, Show Formulas.

Check part of a formula with F9 (carefully)

When a long formula gives a strange answer, you can test one piece of it. Click the cell, then in the formula bar highlight just one complete part, such as SUM(C2:C13), and press F9. Excel replaces the text with its result, here 18080, so you can see what that piece returns.

Now the warning. Press Esc to put the formula back the way it was. If you press Enter, Excel saves the number in place of that part of the formula, and Microsoft notes it can't be restored afterwards (beyond a quick Ctrl+Z). F9 with nothing highlighted recalculates the workbook; it doesn't evaluate anything. On a Mac, use F9 or Fn+F9.

Jump to the cells a formula uses: Ctrl+[

Click a formula cell on Windows and press Ctrl+[ (left square bracket). Excel selects the cells the formula refers to directly, even on another sheet. That's handy for tracing where a number comes from. Microsoft lists the same job on a Mac as Ctrl+Shift+[. If a shortcut isn't your thing, Formulas, Trace Precedents draws arrows to those cells instead.

Ctrl+Shift+Enter: you can skip it now

Older guides tell you to finish "array formulas" with Ctrl+Shift+Enter, which wraps them in curly braces. In Microsoft 365, Excel 2021 and later you don't need it: formulas that return several results spill into the cells below when you press plain Enter. Microsoft still supports the old way for compatibility, so you'll see braces in older files, but new formulas don't need it.

Move and select without the mouse

These save the most time on big sheets:

TaskWindowsMac
Jump to the edge of the dataCtrl+ArrowCmd+Arrow
Select to the edge of the dataCtrl+Shift+ArrowCmd+Shift+Arrow
Select the whole columnCtrl+SpaceCtrl+Space
Select the whole rowShift+SpaceShift+Space
Go to A1Ctrl+HomeCtrl+Home
Go to the last used cellCtrl+EndCtrl+End
Go to a cell by addressF5 or Ctrl+GCtrl+G

Try it: click A1 and press Ctrl+Down; you land on A14, the last filled cell before a gap. Press Ctrl+Home to go back. Now press Ctrl+Shift+Down and then Ctrl+Shift+Right, and the whole table is selected in two moves. Microsoft notes Ctrl+Space can clash with a macOS shortcut on a Mac.

Use the ribbon from the keyboard: Alt key tips

On Windows, press and release Alt. Little letters appear over every ribbon tab: H for Home, N for Insert, M for Formulas, A for Data, R for Review, W for View. Press one and letters appear on that tab's buttons. So Alt, H, B opens Borders, Alt, H, H opens Fill Color, and Alt, H, A, C centres the text. Press the keys one after another, not together. You never have to memorise them; just read the letters as they appear.

In Excel for the web, key tips start with Alt+Windows logo key instead, because the browser uses Alt for itself. If a shortcut opens a browser feature instead of an Excel one, go to Help, Keyboard Shortcuts and turn on Override browser shortcuts. Macs don't have ribbon key tips.

Try it yourself

Download the practice workbook and open the Practice sheet. Try to do every step without touching the mouse.

  1. Press Ctrl+Home, then Ctrl+Down. You should land on A14 (Total).
  2. From A1, select the data with Ctrl+Shift+Down then Ctrl+Shift+Right.
  3. Go to B14 and press Alt+=, then Enter. Do the same in C14. You should get 603 and 18,080.
  4. In D2, type =C2*G1, press F4 to make it $G$1, then Enter.
  5. Select D2:D13 and press Ctrl+D. Total it in D14 with Alt+=: 904.
  6. Click B16, press F2, and fix the range so it shows 2,100.
  7. Press Ctrl+` to see all formulas, then again to switch back.

Check against the Answers sheet, which has every formula working.

Common mistakes

  • F keys doing nothing. Your laptop is sending brightness or volume. Hold Fn.
  • Pressing Enter after F9. That keeps the number and deletes that part of the formula. Use Esc.
  • F4 with the cursor in the wrong place. It only changes the reference the cursor is touching.
  • Ctrl+D with only one cell selected. It copies from the cell above instead. Select the formula cell and the cells below.
  • Using Ctrl+Shift+Enter in Microsoft 365. It's not needed and can turn a spilling formula into an old-style array.
  • Holding Alt key tips together. Press Alt, release, then each letter in turn.

What's next

With these keys in your fingers, everything else in Excel speeds up. The previous lesson, Protect and lock, showed how to keep formulas safe. Next, Macros and VBA records whole sequences of steps so one key can do them all. Or go back to the full Excel course.

Frequently asked questions

What is the shortcut to lock a cell in an Excel formula?

While editing the formula, click in the cell reference and press F4. Each press cycles A1 to $A$1, A$1, $A1 and back. On a Mac press Cmd+T (F4 also works, sometimes as Fn+F4). See Absolute and relative references.

How do I show all formulas instead of results?

Hold Ctrl and press the grave accent key (under Esc, left of 1). Press it again to go back. It works the same on a Mac. You can also click Formulas > Show Formulas.

What is the AutoSum shortcut in Excel?

Alt+= on Windows and in Excel for the web, Cmd+Shift+T on a Mac. Click the empty cell under a column of numbers, press it, check the range Excel guessed, and press Enter.

Why don't F2 and F4 work on my laptop?

On many laptops and Macs the top row controls brightness and volume by default. Hold Fn with the key (Fn+F2, Fn+F4), or switch the setting so F keys act as standard function keys. On a Mac, Microsoft points to Use all F1, F2, etc. keys as standard function keys in the keyboard settings.

Do I still need Ctrl+Shift+Enter for array formulas?

Not in Microsoft 365, Excel 2021 or later. Formulas that return several results spill on their own when you press Enter. Microsoft still supports old Ctrl+Shift+Enter formulas for compatibility, but says new ones don't need it.

How do I copy a formula down without dragging?

Select the formula cell and the cells below it, then press Ctrl+D (Cmd+D on a Mac). Or select the whole range first, type the formula once, and press Ctrl+Enter to fill every selected cell.