COUNTIFS across columns with multiple options for one column

I am trying to write a formula to count the number of columns across five nonadjacent columns that contain "Verified". The fifth column may contain "N/A" and also needs to be counted.
In the example, 5 should be the total count for both rows. I've tried adding multiple COUNTIFS, and it doesn't work.
Thanks in advance for your help.
Lori F.
Best Answer
-
Try this. Each one of the COUNTIF formulas should equal 1 or 0.
=COUNTIF(A@row, "Verified") + COUNTIF(B@row, "Verified) + COUNTIF(C@row, "Verified") + COUNTIF(D@row, "Verified) + COUNTIF(E@row, OR(@cell = "Verified", @cell = "N/A"))
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
Answers
-
Try this. Each one of the COUNTIF formulas should equal 1 or 0.
=COUNTIF(A@row, "Verified") + COUNTIF(B@row, "Verified) + COUNTIF(C@row, "Verified") + COUNTIF(D@row, "Verified) + COUNTIF(E@row, OR(@cell = "Verified", @cell = "N/A"))
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
Thank you, Jeff! The OR part of the formula is what kept tripping me up. This worked. Much appreciated!
Lori
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.1K Get Help
- 430 Global Discussions
- 149 Industry Talk
- 488 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 153 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives