=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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
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
 
Upvote 0
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)
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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
Back
Top