Instant digital downloadExcel and Google SheetsSecure card checkout

Excel and Google Sheets how-to

Formulas not updating? Recalculate and refresh

You change a number and the total does not move. It is nearly always one of a handful of things, and each one takes seconds to fix once you know which.

ABCD
1ItemQtyPriceTotal
2Mugs312.0036.00
3Coasters102.5025.00
4Candles48.0032.00
5Cards121.5018.00
6Total111.00

Sample data. D2 holds =B2*C2, filled down to row 5, and D6 holds =SUM(D2:D5).

The test: change one number

Click B2 and change the 3 mugs to 5. D2 should go from 36 to 60 and the total in D6 from 111 to 135 the moment you press Enter. If they stay at 36 and 111, work down this page. The first two causes cover most cases.

The formula has numbers in it, not cells

Click D6 and read the formula bar. If it says

=36+25+32+18

someone typed the answers in, and it will show 111 forever. A formula only updates when it points at the cells that hold the numbers:

=SUM(D2:D5)

The same goes for each row: D2 should read =B2*C2, not =3*12. Retype it with cell names (or click the cells while you type), fill it down, and the test above works.

Excel is set to Manual

If the formulas point at cells and still do not move, Excel has stopped recalculating. On the Formulas tab, in the Calculation group, open Calculation Options and pick Automatic. In Excel for Windows the same choice is under File > Options > Formulas, Workbook Calculation.

Microsoft's recalculation page says that in the desktop apps this setting affects all open workbooks, so one slow file set to Manual can leave every other file you have open not updating too.

Recalculate now with F9

Leave it on Manual if a big file is slow, and recalculate when you want fresh numbers. From the same Microsoft page:

  • F9 recalculates the formulas that changed since the last calculation, in all open workbooks.
  • Shift+F9 does the same for the sheet you are on only.
  • Ctrl+Alt+F9 recalculates every formula in all open workbooks, changed or not.
  • Ctrl+Shift+Alt+F9 checks the formulas that depend on other cells, then recalculates everything. Try it when the others do not fix a number.

The Formulas tab has buttons for the first two: Calculate Now and Calculate Sheet.

The cell shows the formula, not the answer

If D2 shows the text =B2*C2 instead of 36, it is one of two things:

  • Show Formulas is on. Every formula cell on the sheet shows its formula. Press Ctrl+` (the key above Tab) to switch it off, or click Show Formulas on the Formulas tab.
  • The cell is formatted as Text. Only some cells show the formula. Select them, set the format to General (Ctrl+1, or the box on the Home tab that says Text), then press F2 and Enter in each one so Excel reads it again.

Both fixes are on Microsoft's broken formulas page. Also look for a space or an apostrophe typed before the = sign: either one turns the whole formula into plain text.

The total skips a number

If one row's total was pasted in as text, SUM leaves it out without telling you. With 32 in D4 stored as text, =SUM(D2:D5) gives 79 instead of 111. A number stored as text usually sits at the left of the cell, often with a small green triangle in the corner. Our page on SUM that says zero or skips numbers has the fixes.

PivotTable not updating (Excel)

A PivotTable keeps the numbers from its last refresh until you refresh it. Typing in the source data does not change it.

  • One PivotTable: right-click any cell in it and choose Refresh, or click in it and press Alt+F5.
  • Everything in the file: Data > Refresh All, or Ctrl+Alt+F5. Both shortcuts are on Microsoft's refresh page.
  • Every time the file opens: right-click the PivotTable, choose PivotTable Options, open the Data tab and tick Refresh data when opening the file.

New rows left out after a refresh? The source range stops at the old last row. Click in the data, press Ctrl+T to make it a table, then on the PivotTable Analyze tab choose Change Data Source and type the table name (Table1, for example). From then on, rows you add to the table are picked up at the next refresh.

Excel has no setting that refreshes a PivotTable each time you type a number; that takes a macro. Refresh on open plus Ctrl+Alt+F5 covers most needs without one.

Data from another file or the web: refresh on a timer

A table that comes from a query or a data connection (Data > Get Data) refreshes on its own schedule. Open its Connection Properties (Data > Refresh All arrow > Connection Properties), and on the Usage tab tick Refresh every and type the minutes, or tick Refresh data when opening the file. Both boxes are on Microsoft's external data refresh page.

Google Sheets

Sheets recalculates on its own, so a total that will not move is usually a typed number (see above) or a number stored as text. Two settings to check:

  • Calculation mode. Go to File > Settings > Calculation. Google's settings page says Manual mode only calculates when you select Calculate at the top of the screen, and that only editors can use it. Set it to Automatic.
  • Formulas showing as text. View > Show > Formulas switches every cell between the formula and its answer.

Pivot tables in Sheets need no refresh: Google's pivot table page says the pivot table refreshes any time you change the source data cells. If new rows sit below the source range, edit the pivot table's data range to include them.

Watch it in 23 seconds

Templates with the math already done

Rather skip the formulas? These templates come with every formula built and checked, plus a filled-in sample.

Teaching this to a class or team?

Get one tip like this a month

A free email from VARS Digital with one Excel or Google Sheets fix, tested in both apps. No spam, unsubscribe any time.

By signing up you agree that VARS Digital, 10151 240 Street, Maple Ridge, BC V2W 0G9, Canada (inquiries@varsdigital.app) may email you its newsletter: Excel and Google Sheets tips, updates and news about our templates and lessons. We send a confirmation email first, and nothing else goes out until you click it. Every email has an unsubscribe link, and you can leave any time. Details in our store policies.

More how-tos