Count Unique values - multiple criteria with an OR condition

cortexnotion

Board Regular
Joined
Jan 22, 2020
Messages
150
Office Version
  1. 2013
Platform
  1. Windows
Hi All

I have the below formula working for counting unique values in column G with multiple criteria. I now need to increase the criteria in column L to 3 criteria. I have attempted the below but I clearly don't have the formatting right...

Many thanks!

VBA Code:
=SUMPRODUCT((L3:L1000={"INITIAL SUBMISSION","TEMPLATE CREATION","DATA COLLECTION"})*(M3:M1000="OVERDUE"),1/COUNTIFS(L3:L1000,L3:L1000,M3:M1000,M3:M1000,G3:G1000,G3:G1000))
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Any empty cells in any of those columns? Without test data, I don't remember if empty cells cause incorrect results or errors but I do remember them being a problem.

Also, it would depend on what type of 'unique' count you need. In this simple example, should the result be 1 or 2?
Book1
AB
1Column GColumn L
2aInitial
3aInitial
4aTemplate
5aTemplate
Sheet1
 
Upvote 0

Forum statistics

Threads
1,215,004
Messages
6,122,659
Members
449,091
Latest member
peppernaut

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