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.
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!