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
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!