Hi everyone!
I'm working on a Smartsheet formula to identify duplicate leave entries. My goal is to flag cases where the Name, Leave Type, Start Date, and End Date either match exactly or overlap. For example, if someone submits leave from January 24 to January 27, and then submits another leave from January 25 to January 26, I want both entries to be marked as duplicates because the dates overlap.
I've tried using the COUNTIFS function to compare the name, leave type, and date ranges, but I keep running into syntax issues. The main challenge is correctly handling date comparisons within the formula. If anyone has suggestions or a working formula to accurately detect duplicates and overlapping dates, I would really appreciate it!
Thanks in advance for your help!