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
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 450 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!