Using COUNTIFS to count a single name in a multi select box in a date range
Hi all,
This is my current formula, and it works except that if I have more than the name in the formula also checked in the multi select box it does not count it. How do I change this formula so it counts the name in the multi select box even if there are more than one name selected?
=IF(COUNTIFS(Date:Date, <=Date@row, [End Date]:[End Date], >=Date@row, [Test Staff Column]:[Test Staff Column], "Sample Name") > 1, 1, 0)
Thanks!
Best Answer
-
Try this...
=IF(COUNTIFS(Date:Date, <=Date@row, [End Date]:[End Date], >=Date@row, [Test Staff Column]:[Test Staff Column], CONTAINS("Sample Name", @cell)) > 1, 1, 0)
Answers
-
Try this...
=IF(COUNTIFS(Date:Date, <=Date@row, [End Date]:[End Date], >=Date@row, [Test Staff Column]:[Test Staff Column], CONTAINS("Sample Name", @cell)) > 1, 1, 0)
-
Thanks Paul! that worked
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.9K Get Help
- 441 Global Discussions
- 153 Industry Talk
- 501 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 79 Community Job Board
- 511 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!