COUNTIFS including OR

Mickes

New Member
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

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Marcelo Branco

MrExcel MVP
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.

Steph77

Board Regular
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")

Mickes

New Member
Ok Great!! thanks a lot! Both works.

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,629
Messages
5,838,454
Members
430,549
Latest member
jayjay2022

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.

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