# =sumifs formula issue

#### fmxwannabe

##### New Member
Hi All,
Hoping somebody could please help me. I'm using a SUMIFS formula however it keeps returning \$0.00 as the result which is incorrect.

Formula is;
Code:
``=SUMIFS(B:B,A:A,"=325299",A:A,"=325300",A:A,"=325303")``

Can somebody tell me what I'm doing wrong and provide an anwser to get this to work?

Thanks
Zane

### Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

#### alvin-chung

##### Active Member
Hi Zane, SUMIFS add cells given all conditions are met...
Thus your formula will forever return 0 because it's impossible to have a cell in col A that =325299 and =325300 and =325303 at the same time

Try either of the formula below:
Code:
``````=SUMIFS(B:B,A:A,">=325299",A:A,"<=325303",A:A,"<>325301",A:A,"<>325302")
=SUMIF(A:A,325299,B:B)+SUMIF(A:A,325300,B:B)+SUMIF(A:A,325303,B:B)``````

Replies
3
Views
80
Replies
17
Views
678
Replies
2
Views
233
Replies
7
Views
360
Replies
3
Views
1K

1,171,463
Messages
5,875,662
Members
433,146
Latest member
MinhTrang

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back