Using countif to select an option from a column
I have multiple selections in a column and when I tried to use countifs, it will not pick up the label that is combinated with other options.
For example, in Column B, I have following look up values - Role 1, Role 2, Role 3, etc, but some rows have two or more roles - so in one row, it will say role 1, role 3. In another grid, I would countif from that column B = =countifs ({Letter}, TRUE, {Role}, "Role 3"), it will not pick the row with Role 1, Role 3.
How do I make sure I also pick up the row with Role 3 with other options
Best Answer
-
You can use something like this, just fix the column names to match yours:
=COUNTIF([Column B]:[Column B], FIND("Role 3", @cell) >= 1)
Answers
-
You can use something like this, just fix the column names to match yours:
=COUNTIF([Column B]:[Column B], FIND("Role 3", @cell) >= 1)
-
@Nic Larsen It worked - thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 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!