**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.

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:

- 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.)
- At the left of the dialog box, click Formulas. (See Figure 1.)
- 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.
- Click OK.

** Figure 1.** The Formulas options of the Excel Options dialog box.

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**.

**Professional Development Guidance!** Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out *Professional Excel Development* today!

Excel allows you to specify where it stores various files used by the program. One location you can specify is where ...

Discover MoreExcel lets you specify how it should behave when you press Enter. If you change this behavior, Excel assumes you want it ...

Discover MoreA little green triangle in the corner of a cell means that Excel thinks there is an error with the cell contents. If ...

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

2019-01-07 12:19:01

Roy

So, top to bottom, eh? Not so much. I can enter something in the criteria column so that amount will be removed and it may work perfectly, instantly, 8-9 times out of 10. Or maybe not, no change to the SUMIF() result. Re-enter, or enter something on another row? May immediately re-calculate, or may not. I cannot recall any time when more than three entries were made before it deigned to re-calculate. But it seems arbitrary and has happened both with Excel 2013 and Excel 2016. And it always successfully re-calculates on Saving, at least so far as I ever noticed or perhaps it is simply re-calculating upon Opening.

So, it's at the top and looking to rows literally immediately below it. The criteria column is to the formula cell's right with the sum range to its right but the criteria column's left. Nothing funny in the data, to wit, the SUM()'s done upon it are done perfectly and always re-calculated upon entry/change.

I gotsta say SUMIF() has some issue, even if it is as simple as it would work if the criteria range were to the left of the sum range rather than to its right. If so, it would be nice if that were documented. I would not change the structure, but I would do that ad hoc table creation that CHOOSE() (I believe, don't use it much, look it up each time) can do to virtually switch the column order and then SUMIF(). But... I don't feel like complicating things to that degree if that's not really the answer.

Open to thoughts...

2017-06-10 13:50:14

Rod Grealish

2017-06-09 12:49:53

Alex

2015-09-03 07:01:09

Isak

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

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

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

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

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

2012-02-27 10:14:51

Gary Lundblad

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

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.

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

Copyright © 2019 Sharon Parq Associates, Inc.

## Comments