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.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
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!