Duplicate check in two columns using IF OR and COUNTIF
I need to check two cells to see if they already exist on the sheet so I'm using a duplicate check formula and OR, but it's not working properly. It works for the email address, but the Full Name does not work.
=IF(OR(COUNTIF([Full Name]:[Full Name], [Full Name]@row) > 1, 1),COUNTIF([Email Address]:[Email Address], [Email Address]@row) > 1, 1)
Best Answer
-
Hi,
Try:
=IF(COUNTIF([Full Name]:[Full Name], [Full Name]@row) > 1, 1, IF(COUNTIF([Email Address]:[Email Address], [Email Address]@row) > 1, 1,0))
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Answers
-
Hi,
Try:
=IF(COUNTIF([Full Name]:[Full Name], [Full Name]@row) > 1, 1, IF(COUNTIF([Email Address]:[Email Address], [Email Address]@row) > 1, 1,0))
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Yes, that did the trick. Thank you.
-
Perfect. Glad you found a solution. Thank you for contributing to the Community.
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!