Compare an Identifier against every other in the same column (excluding the cell we are checking) and then comparing dates in google sheets
MySQL query to return dates of every Sunday between a given date and now (not relying on data in tables)