CountifS based on a multi select column
=COUNTIFS({CTC Business Sales Specifics}, FIND("Contract Renewal", {CTC Business Sales Specifics}), {CTC Business Sales Sold Month}, Month@row)
Basically, trying to calculate a count from another sheet.
If sale specifics has "Contract Renewal" in it, I want a value. The rest based on the month works fine, but I can't get it to count if it contains "contract renewal.
I'm unsure if CONTAINS would be a better formula?
Best Answer
-
Yes, CONTAINS would be the way to go. Since you're already specifying the range, give it the criteria of CONTAINS(value, @cell).
=COUNTIFS({CTC Business Sales Specifics}, CONTAINS("Contract Renewal", @cell), {CTC Business Sales Sold Month}, Month@row)
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
-
Yes, CONTAINS would be the way to go. Since you're already specifying the range, give it the criteria of CONTAINS(value, @cell).
=COUNTIFS({CTC Business Sales Specifics}, CONTAINS("Contract Renewal", @cell), {CTC Business Sales Sold Month}, Month@row)
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! - I was trying to reference the same {CTC Business Sale Specifics} VS the "@cell".
-
@Mtmoroni Happy I could help!
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!
-
This formula has been very useful for the data sheet that I am creating and have a follow-up question.
Use the same example formula, how would you amend the formula to include any values to count where historically "Contract Renewal" was titled as something else. Say "Account Renewal" or "Renewal"?
=COUNTIFS({CTC Business Sales Specifics}, CONTAINS("Contract Renewal", @cell), {CTC Business Sales Sold Month}, Month@row)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 463 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!