Forum Discussion
zbramwell
Jul 07, 2023Copper Contributor
Countif Function
Looking to count the number of values in a column without including duplicates (Column N contains values but has a ton of duplicates, and I cannot remove them from the worksheet) The function mus...
- Jul 07, 2023
Let's say the start date is in Z1 and the end date in Z2.
=COUNTA(UNIQUE(FILTER(N2:N10000, (E2:E10000>=Z1)*(E2:E10000<=Z2)*(T2:T10000="XXX"))))
Adjust the ranges if your data extend below row 10000.
HansVogelaar
Jul 07, 2023MVP
Let's say the start date is in Z1 and the end date in Z2.
=COUNTA(UNIQUE(FILTER(N2:N10000, (E2:E10000>=Z1)*(E2:E10000<=Z2)*(T2:T10000="XXX"))))
Adjust the ranges if your data extend below row 10000.
zbramwell
Jul 07, 2023Copper Contributor
to do this without the date ranges, could I remove them and leave the rest of the formula as is?
- HansVogelaarJul 07, 2023MVP