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,


Best Answer

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    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)


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!