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
- Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 62 Community Job Board
- 464 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!