Formula Issue of counting texts that contains more than one in one column
I'm having issues with this formula, "=COUNTIF(CONTAINS({Tracking Sheet Range 1}, "Motorola", ({Tracking Sheet Range 3}, "In Progress")))" The term, 'Motorola' is in multiple cells in the same column and is used as a multiple dropdown menu option. Can someone please help?
Best Answer
-
So in the formula...
=COUNTIFS({Tracking Sheet Range 1}, CONTAINS("Motorola", @cell), {Tracking Sheet Range 3}, "In Progress")
{Tracking Sheet Range 1} should be the entire column that "Motorola" would be listed in.
and
{Tracking Sheet Range 3} should be the entire column that "In Progress" would be listed in.
Answers
-
Trying to play around with this formula as well, "=COUNTM(CONTAINS({Tracking Sheet Range 1}, "Motorola", IF(AND({Tracking Sheet Range 3}, "In Progress", IF(AND({Tracking Sheet Range 4}, "Q1_2020", IF(OR({Tracking Sheet Range 4}, "Q2_2020", IF(OR({Tracking Sheet Range 4}, "Q3_2020", IF(OR({Tracking Sheet Range 4}, "Q4_2020"))))))))))))"...only gives me 1 as a default answer when there are multiple entries.
-
Try something like this...
=COUNTIFS({Tracking Sheet Range 1}, CONTAINS("Motorola", @cell), {Tracking Sheet Range 3}, "In Progress")
-
Yes, it works for one cell but I have multiple products that have multiple entries I want to capture.
-
Are you able to provide a screenshot of the source data and the target sheet with sensitive/confidential data removed, blocked, or replaced with "dummy data" as needed?
Being able to see exactly what you are working with and what you are trying to accomplish would be very helpful.
EDIT:
What exactly are your different ranges covering? Are you selecting a single cell or the entire column you are trying to evaluate?
-
I'm creating a metrics widget and have it graphed on dashboards.
So I need to find a formula that will use a different sheet for reference to calculate the numbers and have it graphed on Dashboards.
-
Yes. So if the ranges are set to look at the entire column (each appropriate column), then the formula I provided should work.
-
So in the formula...
=COUNTIFS({Tracking Sheet Range 1}, CONTAINS("Motorola", @cell), {Tracking Sheet Range 3}, "In Progress")
{Tracking Sheet Range 1} should be the entire column that "Motorola" would be listed in.
and
{Tracking Sheet Range 3} should be the entire column that "In Progress" would be listed in.
-
It works! Thank you!
-
Happy to help! 👍️
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives