Jul 07 2023 01:12 PM
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 must include:
- a date range that the values must be within (i.e. column E contains the dates)
- Must contain a specific word (i.e. call the word XXX, and the word can be located in column T)
Is this reasonably achievable in a single formula?
Jul 07 2023 01:28 PM - edited Jul 07 2023 02:35 PM
Solution
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.
Jul 07 2023 02:32 PM
Jul 07 2023 02:35 PM
Jul 11 2023 09:51 AM
Jul 11 2023 11:38 AM
Sorry, I don't understand. Can you try to explain it in more detail?
Jul 07 2023 01:28 PM - edited Jul 07 2023 02:35 PM
Solution
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.