Please Note: This article is written for users of the following Microsoft Excel versions: 2007 and 2010. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: SUMIF Doesn't Recalc Automatically.

SUMIF Doesn't Recalc Automatically

by Allen Wyatt
(last updated October 19, 2015)

9

Johan wrote about a problem he was having with the SUMIF function in his worksheet. It seems that when the data in his worksheet changes, the SUMIF function doesn't automatically update. He is, however, able to update the formula if he selects it, presses F2 (to jump into edit mode) and then press Enter.

The first, easiest, and most obvious thing to check is whether you have automatic calculation turned on. Follow these steps:

  1. Display the Excel Options dialog box. (In Excel 2007 click the Office button and then click Excel Options. In Excel 2010 display the File tab of the ribbon and then click Options.)
  2. At the left of the dialog box, click Formulas. (See Figure 1.)
  3. Figure 1. The Formulas options of the Excel Options dialog box.

  4. In the Calculation Options section, make sure that the Automatic radio button is selected. The other radio buttons all limit, in some way, when recalculation is done.
  5. Click OK.

If this does not fix the problem, then it must be related to the actual SUMIF formula. For instance, you may think that the data you are changing in the worksheet is actually referenced in the SUMIF formula, but it may not be. (If it isn't, then changing the data won't change the formula results.) Check the formula to make sure that it covers the proper range.

Remember, as well, that if your worksheet is large and complex, and the SUMIF formula is in a cell that is above your data table, it is possible that you may need two calculation passes to update the SUMIF function. Why? Because when you calculate a worksheet, Excel basically calculates the cells from left to right and top to bottom. If you have a very large worksheet, with lots of dependent calculations, and the calculations on which everything else is dependent are at the bottom or right side of the worksheet, then you may get incorrect results for the SUMIF function. (This happens only with the most complex of worksheets.) The answer is to reorganize your worksheets so that the primary calculations are placed near the top of the worksheet and as far left as possible, and the calculations that are based on those primary calculations are placed later in the worksheet.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6244) applies to Microsoft Excel 2007 and 2010. You can find a version of this tip for the older menu interface of Excel here: SUMIF Doesn't Recalc Automatically.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Turning Off Capital Corrections

If you type two capital letters at the beginning of a word, Word assumes that you made a typing error and will attempt to ...

Discover More

Dividing Values

When working with large numbers, you may need a way to quickly divide a range of those numbers by a specific value. Here's ...

Discover More

Removing a Directory

Your macro, in the course of doing some processing, may create a directory that you later need to delete. Here's how to get ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (ribbon)

Increasing Undo Levels

Excel maintains a record of most of the commands you execute so that you can later "undo" those commands, if desired. It is ...

Discover More

Tab Key Won't Move from Cell to Cell in Locked Worksheet

Normally the Tab key can be used to move from one cell to another in Excel. If this cell movement doesn't work for you, it ...

Discover More

Changing the Ribbon's Size and Look

The Ribbon, while debatably handy, can be downright difficult to use for those with a sight impairment. Here are some ideas ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 0 + 7?

2015-09-03 07:01:09

Isak

I am having the same issue. Tried all of the above, nothing works.

Excel Professional Plus 2010, version 14.0.6112.5000


2015-03-04 21:26:09

Bose

OP, Thanks a lot.


2015-02-12 16:13:49

JK

I'm having the same problem -
Auto calculate is enabled - and never switches to manual.
I have one sheet per day of month that has soda inventory listed - max of 34 sheets in a workbook. (31 days plus a total sold by brand, cumulative dollar tracking, and a "dayzero" carry forward page with no linked references in the cells.

The cumulative tracking pages has 31 rows and 12 columns and uses a function macro called SumBold to tabulate total sales/IOU's/over$ short$ for an "honor system" employee soda program. It's supposed to add a row to the totals once the numbers are bolded.

Function SumBold(WorkRng As Range)
'Update 20131202
Dim Rng As Range
Dim xSum As Long
For Each Rng In WorkRng
If Rng.Font.Bold Then
xSum = xSum + Rng.Value
End If
Next
SumBold = xSum
End Function

The first time I used it - it worked great to autosum the bolded rows.
Now when I bold an additional row I have to hit F2 and enter to get the sum to update.

I've displayed formulas, I've converted everything to numbers, to general, to currency.

I'm stumped.....


2015-01-08 12:11:56

Fritz

How could it be a problem with the formula if it works after clicking into edit mode and hitting enter? He's not changing the formula. So it's an issue with Excel not him. I'm having the same issue.


2014-10-01 02:43:45

gerdami

I wish I had an option to force calculation bottom to top, right to left.


2014-06-22 02:46:47

Amir

Thx Mr. Allen Wyatt help me to solve my problem..
i never thought a simple setting change resulted mess to my masterpiece work.

But still i got 1 question..how can it be the calculation setting change from auto to manual? since previously my formula excel setting is auto calculate..and i never change the setting..

The only last setting i do is i try to lock my excel using protect sheet in review tab. Also i select encrypt doc to lock my excel file

Does this reflect to the formula setting actually?

Sorry i still learning the excel func system..n look like noob >.<

byw thanks for your guide..

Amir


2012-03-06 06:51:08

Ken

I have seen situations with a quiet large file (4mb) where auto calc doesn't appear to work but it is not just SUMIF formulas that are effected.

Look at the design of your spreadsheet - whilst calculation can contain several iterations Excel may give up unless the structure follows a left to right, top to bottom flow of data style

Check your SUMIF anchor points - you will get rubbish if the criteria range cell count does not match the sum range cell count : rows if vertical sum or columns if horizontal sum


2012-02-27 15:46:25

Linda Kammerer

I have had this happen many times. Sometimes I am in manual mode but I try to calc (F9) or even crtl-shift-alt-f9 and even then it doesn't always work. clicking f2 does work so I know the formula is correct - but it just won't calc sometimes. I have saved / closed the workbook and when I re-open it I have seen the data not calculated. VERY aggravating!!!


2012-02-27 10:14:51

Gary Lundblad

Relative to this comment, I have had situations where simple formulas don't auto update when their precedent cells are changed. Workbook Calculation is always set to "Automatic."

I spoke with another friend of mine who uses Excel even more than I do, and said this is a known problem. I can't recall what he said can cause it, but to correct it you may need to completely rebuild the spreadsheet, or as a short term fix, you can do a find/replace, equal for equal. That is, find all "=" signs and replace them with "=" signs. That has worked for me.

Gary


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.