comparing two columns to find blanks
I was using countifs:field1,"isnotblank"@cell, field2,"isblank"@cell...that the jist of the formula. Am I on the right track? The columns are names and I need know when someone has entered a name in the "Last" field but not in the "First" field. Getting an "unparceable" error.
Best Answer
-
Try something like this...
=COUNTIFS([First Name]:[First Name], @cell <> "", [Last Name]:[Last Name], @cell = "") + COUNTIFS([First Name]:[First Name], @cell = "", [Last Name]:[Last Name], @cell <> "")
The first COUNTIFS grabs rows where the first name is filled in but the last name is blank. The second one grabs rows where the first name is blank but the last name is not. Adding these two results together should give you the count you are looking for.
Answers
-
Are you trying to just get a count or are you trying to flag each row?
-
Hi Paul,
I don't need to flag, just want a count.
Thanks,
Storme
-
Try something like this...
=COUNTIFS([First Name]:[First Name], @cell <> "", [Last Name]:[Last Name], @cell = "") + COUNTIFS([First Name]:[First Name], @cell = "", [Last Name]:[Last Name], @cell <> "")
The first COUNTIFS grabs rows where the first name is filled in but the last name is blank. The second one grabs rows where the first name is blank but the last name is not. Adding these two results together should give you the count you are looking for.
-
Ok, I will give it a try. Thanks
-
Happy to help. 👍️
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!