Forum Discussion
Danger_SF
Jan 21, 2023Copper Contributor
Counting duplicates in a separate tab, filtering the adjacent column by the text in a cell
Good evening. I am using Office 365. Please see attached. I'm trying to do this: Depending on the text in USE:B2, filter SITES: B:B by that text, then count cells in SITES: C:C which are duplicat...
- Jan 23, 2023
How about
=SUM(--(IF(SITES!B3:B13=B2,COUNTIFS(SITES!B3:B13,B2,SITES!C3:C13,SITES!C3:C13),0)>1))
HansVogelaar
Jan 22, 2023MVP
=SUM((SITES!$B$3:$B$13=B2)*(SITES!$D$3:$D$13="Multiple Desk Setup"))
- Danger_SFJan 22, 2023Copper ContributorThank you for your help, but I am trying to count the duplicates in the C column, not the D column. It actually serves a different, and equally valid, purpose for me than counting the duplicate "Multiple Desk Setups" does.
- HansVogelaarJan 23, 2023MVP
How about
=SUM(--(IF(SITES!B3:B13=B2,COUNTIFS(SITES!B3:B13,B2,SITES!C3:C13,SITES!C3:C13),0)>1))
- Danger_SFJan 23, 2023Copper ContributorThat worked. Thank you!