Forum Discussion
Danger_SF
Jan 04, 2022Brass Contributor
Count of unique dates in a column
Good afternoon! See attached. If you manually count the unique DATES in column A associated with the name "John Doe" in column B, you count 17 unique dates. I'm looking for a formula that doe...
- Jan 04, 2022
=SUM(N(IF(C1:C21=F1,MATCH(IF(C1:C21=F1,D1:D21),IF(C1:C21=F1,D1:D21),)=ROW(1:21))))
Is this what you want to do? Enter formula as arrayformula with ctrl+shift+enter if you don't work with Office365 or 2021.
OliverScheurich
Jan 04, 2022Gold Contributor
=SUM(N(IF(C1:C21=F1,MATCH(IF(C1:C21=F1,D1:D21),IF(C1:C21=F1,D1:D21),)=ROW(1:21))))
Is this what you want to do? Enter formula as arrayformula with ctrl+shift+enter if you don't work with Office365 or 2021.
- Danger_SFJan 04, 2022Brass ContributorNice job! That worked. Thank you!