# Thread: SUMIFS function has suddenly stopped working in one cell Thanks: 0 Likes: 0

1. ## SUMIFS function has suddenly stopped working in one cell

I setup a spreadsheet for reports last year that contains quite a few SUMIFS calculations.

I have several tabs on the spreadsheet that each have these calculations and the majority all work fine.

However, in every tab I have one of these SUMIFS calculations in cell L27. This calculation is now returning no results at all.

The formula I'm using is =SUMIFS(G:G,D:D,"Mural")

Any thoughts on how to fix will be greatly appreciated.

2. ## Re: SUMIFS function has suddenly stopped working in one cell

SUMIFS requires more arguments. It looks like, from your formula above, that you need SUMIF instead and with the criteria "Mural" in the middle.

3. ## Re: SUMIFS function has suddenly stopped working in one cell

Originally Posted by KenDue
SUMIFS requires more arguments. It looks like, from your formula above, that you need SUMIF instead and with the criteria "Mural" in the middle.
Thanks Ken.

Could you provide an example formula. I tried a SUMIF formula and the workbook wouldn't let me save it. The SUMIFS formula I've used has worked in all other cells, but I'm happy to try something else - sorry if this is a bit basic...

Tom

4. ## Re: SUMIFS function has suddenly stopped working in one cell

What do you get with the following?

=SUM(G:G)

>> ?

=COUNTIFS(D:D,"Mural")

>> ?

5. ## Re: SUMIFS function has suddenly stopped working in one cell

SUMIF takes the format of range, criteria, sum-range. If your numbers to sum reside in column G, your formula would be =SUMIF(D:D,"Mural",G:G).

6. ## Re: SUMIFS function has suddenly stopped working in one cell

What do you get with the following?

=SUM(G:G)

>> 7898.94

=COUNTIFS(D:D,"Mural")

>> 0
I don't seem to get a result for COUNTIFS or COUNTIF for "mural" but I do for other items in the column "print" for example.

7. ## Re: SUMIFS function has suddenly stopped working in one cell

Thanks Ken. I've tried this formula too and unfortunately still get a 0 result. despite me knowing that the COUNTIFS on the D:D column should be 9.

8. ## Re: SUMIFS function has suddenly stopped working in one cell

Originally Posted by tomplum
I don't seem to get a result for COUNTIFS or COUNTIF for "mural" but I do for other items in the column "print" for example.
Does the following work?...

=SUMIFS(G:G,D:D,"*Mural*")

9. ## Re: SUMIFS function has suddenly stopped working in one cell

I believe Aladin is onto the right idea with using the wildcard character "*Mural*" in the formula, but the formula still needs to be
=SUMIF(D:D,"*Mural*",G:G) (with the criteria in the center of the column designations). I've tested this and it works perfectly, even if the word "mural" is all lowercase. I'm guessing your sheet has a leading or trailing space where "mural" is listed that the wildcard character will take care of.

10. ## Re: SUMIFS function has suddenly stopped working in one cell

Hi

Structure of your sumif formula is wrong

Sumif(Range, Criteria, SumRange)

always use "=Text" while not referring a cell