Need Formula to capture all instances of text alone or with other text in a column
Currently using this formula to count all instances of a matching status with EBIT division. Sometimes EBIT is not the only division listed in the column. So a cell might have EBIT TBI. This formula works only if EBIT is alone.
=COUNTIFS({Status Phase}, [Primary Column]@row, {Sponsoring Division}, "EBIT")
I tried adding both CONTAINS and HAS in front of EBIT but both return invalid operations.
can anyone help?
Answers
-
Is the division column a multi-select dropdown?
-
Yes but I have hidden column that copies it as text. Do I need to use the text column? And do I have to unhide it? Or is there a formula to use the original column.
-
You would use the HAS function with the original column.
=COUNTIFS(……………………, HAS(@cell, "EBIT"))
-
That worked. I needed to add the @cell. Thanks very much!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!