Sum Countifs Array with Multiples Criteria

onetap

New Member
Joined
Sep 25, 2017
Messages
13
Hello - I'm having hard time getting this formula to work. I figured out that the formula is not picking up the "C" in the array criteria for column H but not sure how to fix this. Any suggestions?

=SUM(COUNTIFS('ABC'!$CH:$CH, "8/1/2017",'ABC'!$H:$H, {"A","B","C"}, 'ABC'!$I:$I, {"D";"E"}, 'ABC'!$AC:$AC, {"F","G"}, 'ACM Cases'!$BB:$BB, "H"))

Thank you!
 
Also, do you not use isnumber(match on the last criteria because it is not an arrary, or just because it is the last criteria?
 
Upvote 0

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)
^this worked perfectly, much appreciated! Would someone be able to break down the formula for me?

I'm not following why the isnumber(match is followed by the first criteria for sumproduct. Also, what function does the +0 serve?

I'm not following why the isnumber(match is followed by the first criteria for sumproduct. Also, what function does the +0 serve?[/QUOTE]

1. While "2/1/2017" is a date for us, it's text to Excel. "2/1/2017"+0 makes that text date a true date, i.e. a number.

2. ISNUMBER(MATCH(range,set,0)) means if an element of range is in set, it's ok. This gives us a multiple or test.

Also, do you not use isnumber(match on the last criteria because it is not an arrary, or just because it is the last criteria?

If set consists of a single value, we have an equality test, not a multiple or test, hence no isnumber/match test.

Hope this helps.
 
Upvote 0

Forum statistics

Threads
1,216,084
Messages
6,128,722
Members
449,465
Latest member
TAKLAM

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