COUNTIFS including OR

Mickes

New Member
Joined
Sep 22, 2014
Messages
4
Hi,

Trying to create this formula... but there seems to be some error. Cant seem to figure out how to combine COUNTIFS with OR

=COUNTIFS('In Native source'!$A:$A,$A4,'In Native source'!K:K,"no")+OR('In Native source'!J:J,"a",'In Native source'!J:J,"b",'In Native source'!J:J,"c")

So the first two criteria are obligatory, bot have to be, and then it can be either of the three following.

Thanks for any assistance!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Try

=SUM(COUNTIFS('In Native source'!$A:$A,$A4,'In Native source'!K:K,"no",'In Native source'!J:J,{"a";"b";"c"}))

Hope this helps

M.
 
Upvote 0
Try this:

=COUNTIFS('In Native source'!$A:$A,$A4,'In Native source'!K:K,"no",'In Native source'!J:J,"a")+COUNTIFS('In Native source'!$A:$A,$A4,'In Native source'!K:K,"no",'In Native source'!J:J,"b")+COUNTIFS('In Native source'!$A:$A,$A4,'In Native source'!K:K,"no",'In Native source'!J:J,"c")
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,557
Members
449,088
Latest member
davidcom

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