How to count cells when they have multiple values selected, and I'm only wanting a specific one?
Because we can't use wildcards on the program, I am at a loss to set up a report that summarizes my sheet. I'm trying to determine how many entries are the 'Status' outlined in each Primary Column row, where the 'Suggest Solution' is the text in each column header. The 'Status' can only be one value, but the 'Suggested Solution' can be have multiple values selected from a pre-set drop down list.
The formula below only accounts for results with one 'Suggested Solution' value. I've tried HAS( and CONTAINS( to try and capture those with multiple values but had no luck.
=COUNTIFS({Status}, $[Primary Column]@row, {Suggested Solution}, [Column1]$1)
Any suggestions on how I could account for cells with more solutions selected? Thanks in advance!!
Answers
-
Hi @meretsteves ,
Give this a try.
=COUNTIFS({Status}, $[Primary Column]@row, {Suggested Solution}, HAS(@cell, [Column1]$1))
Hope this helps,
Dave
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!