I am attempting to have a check box populate if there is a duplicate between two sheets.
I currently have it checking both sheets with this formula
=IF(OR(COUNTIFS({All Dept. Contacts Range 1}, [Last Name]@row) > 0, COUNTIFS([Last Name]:[Last Name], [Last Name]@row) > 0), 0, 1)
But it just checks the box even if it is blank or there is not a duplicate in the other sheet.
How do I get it to only check the box if there is for sure a duplicate in the other sheet?