Why your Excel formula breaks when you drag it down, and how to fix it
The first row is right. You drag the formula down, and the rest of the column goes wrong. Sometimes every row shows the same number. Sometimes you get zeros, errors or numbers that make no sense.
This post walks through the six most common causes. For each one you will learn the symptom, why it happens and how to fix it. Most take less than a minute.
First, look at the formula, not the answer
Before you change anything, click on a cell a few rows down, say the fifth or sixth row, and read the formula in the formula bar. You can also double-click the cell, and Excel will draw a coloured border around each cell the formula uses.
Compare it with the formula in your first row. You are looking for one of two things:
- A reference that should have moved but didn't.
- A reference that moved but should have stayed put.
Nearly every problem below is one of those two, or a setting that stops Excel from calculating at all.
1. Your Excel formula is not changing when dragged down
Symptom: Every row shows exactly the same answer as the first row.
Cause A: dollar signs in the wrong place. A $ locks part of a reference so it can't change when copied. If your formula is =$B$2*$C$2, every copy will still point at row 2.
Aisha is working out line totals for an order in Cape Town:
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Item | Qty | Unit price | Total |
| 2 | Printer paper | 4 | R89 | =$B$2*$C$2 |
| 3 | Toner | 1 | R1 150 | =$B$2*$C$2 |
| 4 | Staplers | 3 | R65 | =$B$2*$C$2 |
Every total shows R356. The fix is to remove the dollar signs from references that should move with each row. In D2, use =B2*C2, then copy it down again. D3 becomes =B3*C3 and D4 becomes =B4*C4.
Cause B: calculation is set to Manual. If the formulas themselves look right in each row but the answers are all the same, Excel may have stopped recalculating. Go to the Formulas tab, open Calculation Options and choose Automatic. Workbooks you receive from someone else sometimes arrive with Manual switched on.
2. Your Excel formula changes when copied, and it shouldn't
Symptom: The first row is correct. Lower rows show zeros, #VALUE! errors or numbers far too big.
Cause: One reference was supposed to stay fixed, like a VAT rate or exchange rate in a single cell, but it moved with every copy.
Say the VAT rate of 15% is in F1 and you put =C2*F1 in your first row. Copied down one row, it becomes =C3*F2. F2 is probably empty, so you get zero. Further down, the formula may land on a heading or another number and give an error or a wildly wrong answer.
Fix: Lock the rate cell with dollar signs:
=C2*$F$1
Now the price reference moves and the rate stays on F1 for every row. This is called an absolute reference. Our post on the dollar sign in Excel covers it in more detail, and lesson 4 lets you practise it.
3. F4 doesn't add the dollar signs
Symptom: You press F4 while editing a formula, and nothing happens, or your screen brightness or volume changes instead.
Causes and fixes:
- The top-row keys are set to media controls. This is common on laptops. Press Fn+F4 instead of F4.
- You are on a Mac. In Excel for Mac, the shortcut to cycle through reference types is Cmd+T. Fn+F4 also works on many Mac keyboards.
- The cursor isn't in a reference. F4 (Windows) or Cmd+T (Mac) only works while you are editing a formula, with the cursor on or right after a cell address. Click into the formula bar, place the cursor in
F1, then press the key.
Each press cycles F1 → $F$1 → F$1 → $F1 → back to F1.
4. Ctrl+D doesn't fill down
Symptom: You press Ctrl+D (Windows) or Cmd+D (Mac) and nothing gets copied.
Causes and fixes:
- Only one cell is selected. Fill down copies the top cell of your selection into the cells below it. Select the cell with the formula and the empty cells underneath, then press the shortcut. If you select several empty cells without the formula cell, Excel copies the top empty cell, so nothing seems to happen. (With a single empty cell selected, the shortcut copies the cell directly above it.)
- Another program has taken the shortcut. Some apps, such as screen recorders or clipboard tools, register Ctrl+D for themselves. Close other apps one at a time and test again.
- The sheet is protected. If the workbook has sheet protection switched on, Excel won't let you change locked cells. Check the Review tab for an Unprotect Sheet button.
If you prefer the mouse, select the first cell and drag the small square at its bottom-right corner (the fill handle) down the column. Double-clicking the fill handle fills down as far as the data in the next column goes.
5. The cell shows the formula instead of the answer
Symptom: Instead of R1 437.50, the cell shows =B2*1.15 as plain text.
Causes and fixes:
- The cell is formatted as Text. Excel stores anything typed into a Text-formatted cell as text, including formulas. Change the format to General (Home tab, Number group), then click into the cell and press Enter to re-enter the formula.
- There's no equals sign, or there's a space before it. Every formula must start with
=.=B2*1.15with a leading space, orB2*1.15with no equals sign, is just text to Excel. - Show Formulas is switched on. If every formula on the sheet is showing, press Ctrl+
(Windows) or Control+(Mac). The ` key is usually at the top left of the keyboard, next to 1. You can also turn off Show Formulas on the Formulas tab.
6. The first formula was wrong to begin with
Symptom: Every row is wrong, but in a consistent way.
Copying a formula copies its mistakes too. If row 2 says =B2+C2 when it should say =B2*C2, every row below will add instead of multiply.
Fix: Before you drag anything, check the first answer by hand. If Aisha orders 4 reams of paper at R89, the total should be R356. If the cell shows R93, the formula is adding. Fix the first row, then copy it again.
A two-step routine that prevents most of this
- Check row one by hand. Work out one answer yourself, roughly, and compare.
- Check one row near the bottom. After copying, click a lower cell and read its formula. The references that should move have moved. The ones that should stay fixed have dollar signs.
Do those two checks every time and broken columns stop surprising you.
Practise the fixes
The quickest way to get comfortable is to break a formula on purpose and fix it.
- Lesson 3: Fill down has you copy a formula with Ctrl+D (Windows) or Cmd+D (Mac) and check the results.
- Lesson 4: Locking a cell with $ shows a copy going wrong without the $, then has you fix it.
- If formulas are new to you, start with lesson 2: Your first formula.
Each lesson runs in your browser and tells you straight away if you got it right. Free, no sign-up.
Excel is a trademark of Microsoft. ExcelyourTraining is not affiliated with Microsoft.