=sumifs formula issue

fmxwannabe

New Member
Joined
Jun 24, 2013
Messages
24
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

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Weazel

Well-known Member
Joined
Dec 24, 2011
Messages
3,155
maybe something like...

=SUM(SUMIF(A:A,{325299,325300},B:B))
 

teylyn

Active Member
Joined
Sep 4, 2008
Messages
416
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
  3. Web
Hello,
are you trying to do a series of conditions with OR as the logic? If so, see here

http://www.mrexcel.com/forum/excel-questions/630118-sumifs-condition.html

This would make your formula something like
Code:
=SUM(SUMIF(A1:A20,{"=[COLOR=#333333]325299[/COLOR]","=[COLOR=#333333]325300[/COLOR]","=[COLOR=#333333]325303[/COLOR]"},B1:B20))

If the values in column A are numbers, you can use
Code:
=SUM(SUMIF(A1:A20,{[COLOR=#333333]325299[/COLOR],[COLOR=#333333]325300[/COLOR],[COLOR=#333333]325303[/COLOR]},B1:B20))

cheers, teylyn
 

vogel997

Active Member
Joined
Jan 22, 2010
Messages
412
I can't figure out why Sumifs doesn't work, but try this one

=SUMPRODUCT(--(A:A=325299)+--(A:A=325300)+--(A:A=325303),B:B)
 

Weazel

Well-known Member
Joined
Dec 24, 2011
Messages
3,155
Just an alternative if you wanted to put the criteria in individual cells....

=SUMPRODUCT(SUMIF(A3:A10,F1:F2,B3:B10))

where F1:F2 would contain 325299 and 325300
 

Forum statistics

Threads
1,137,302
Messages
5,680,710
Members
419,929
Latest member
Atlas Quinn

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Top