Identifying Duplicates - Matching criteria across 3 Columns

I've used formula given in similar discussions on this topic. However, The formula does not seem to work 100% for what I'm trying to achieve.
=IF(AND(COUNTIFS(BUILDING]:[BUILDING], BUILDING@row) > 1, COUNTIFS([FLOOR]:[FLOOR], FLOOR@row) > 1, COUNTIFS([ROOM]:[ROOM, ROOM@row) > 1), 1, 0)
The blue cells are the duplicates. The formula (above) identifies all the cells except 2. This is incorrect. Can anyone provide some advice on where I'm going wrong please?
Thank you.
Best Answers
-
It would be the building, floor, and room range/criteria sets all built into a single COUNTIFS.
COUNTIFS(range1, criteria 1, range 2, criteria 2, range 3, criteria 3)
-
Hi @Paul Newcome Thanks very much I can see how that would work now. Much appreciated.
Answers
-
You would only use a single COUNTIFS (no AND function) that covers all three variables.
-
HI @Paul Newcome How would the revised formula look please?
-
It would be the building, floor, and room range/criteria sets all built into a single COUNTIFS.
COUNTIFS(range1, criteria 1, range 2, criteria 2, range 3, criteria 3)
-
Hi @Paul Newcome Thanks very much I can see how that would work now. Much appreciated.
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.1K Get Help
- 430 Global Discussions
- 149 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 154 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!