Possible method to check duplicate data within multiple columns
Good afternoon,
I apologies if there is a simple solution to my question, still rather new😅
Is it possible to create a formula within a checkbox column that would check multiple columns within the sheet against new data within a row, and if all data matches, the box would be checked.
For example:
An event has been booked for 22-May-2022 at 13:00 within Conference room 1.
A colleague has added a new row which contains the same date / time and room.
The checkbox would then be set to true (1) and conditional formatting would highlight the row indicating an issue.
Thank you very much for your time and effort,
Matthew
Best Answer
-
The basic idea is that you would count how many rows have the "current row" data in them. If that count is greater than one (meaning more than just "this" row), there is a duplicate.
=IF(COUNTIFS([Date Column]:[Date Column], @cell = [Date Column]@row, [Time Column]:[Time Column], @cell = [Time Column]@row, [Room Column]:[Room Column], @cell = [Room Column]@row) > 1, 1)
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
The basic idea is that you would count how many rows have the "current row" data in them. If that count is greater than one (meaning more than just "this" row), there is a duplicate.
=IF(COUNTIFS([Date Column]:[Date Column], @cell = [Date Column]@row, [Time Column]:[Time Column], @cell = [Time Column]@row, [Room Column]:[Room Column], @cell = [Room Column]@row) > 1, 1)
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!