Counting occurrences of a string in a row
I am trying to count the number of times "N/A" is included in a single row. I know it can been done with a single range with the below equation, but in this sheet there are some columns that want to exclude. Is it possible to get a count of the "N/A"s in the sheet with multiple ranges to exclude some rows?
=COUNTIF([Column 1]@row:[Column 10]@row, CONTAINS("N/A", @cell))
Best Answer
-
You would write out separate COUNTIFS and then add them together.
Answers
-
You would write out separate COUNTIFS and then add them together.
-
You can create a checkbox column named, 'Exclude from N/A Count'. Those that need to be excluded you can check the box. With your current formula you can add the IF formula to look at the 'Exclude from N/A Count' column, if its true then don't count, If not then count.
Leroy Noriega | Smartsheet SME | Independent Smartsheet Consultant
Core App, Project Management and System Administrator Certified🏅
E: leroy.noriega@yahoo.com | Linkedin Profile
-
@Leroy Noriega How would you propose implementing this when the range is a single row and specific columns need to be excluded?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.2K Get Help
- 451 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!