Counting Multiple Values in One Cell
Hello,
We have a form with a multi-select option for "Event Type". I am trying to create a new sheet that can be used within a dashboard with a chart that shows how many "Event Types" there are within a given "Delivery Format". Snippet of sheet collecting form submissions below. The formula I was using to try and find the number of event types is as follows:
=COUNTIFS({Field Events - Simple Event Range 2}, "Hybrid", {Field Events - Primary Sheet Range 1}, HAS({Field Events - Primary Sheet Range 1}, "Roadshow"))
However, it keeps coming back as "0". As you can see from the primary sheet snippet, it should come back as 1 since there is one hybrid delivery format with an event type of roadshow.
What am I doing wrong in the formula?
Thanks for your help!
Best Answers
-
Hi @Andrea Walters
Hope you are fine, please try the following formula:
=COUNTIFS({Event Type}, HAS(@cell, "Roadshow"), {Delivery Format}, "Hybrid")
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Will do - thank you, @Bassam Khalil
Answers
-
Hi @Andrea Walters
Hope you are fine, please try the following formula:
=COUNTIFS({Event Type}, HAS(@cell, "Roadshow"), {Delivery Format}, "Hybrid")
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Hi @Bassam Khalil - I think I am still doing something wrong as it still comes back as 0 with the following:
=COUNTIFS({Field Events - Primary Sheet Range 2}, HAS({Field Events - Primary Sheet Range 2}, "Roadshow"), {Field Events - Simple Event Range 2}, "Hybrid")
When the formula shows the "Reference Another Sheet" link, that's what I am clicking on to add in the range. Is that incorrect?
-
Hi @Andrea Walters
Please try to rename the date range as i name it
{Event Type} Instead of {Field Events - Primary Sheet Range 1}
{Delivery Format} Instead of {Field Events - Simple Event Range 2}
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
@Bassam Khalil doing so returns #INVALID REF in the cell.
I tried both:
=COUNTIFS({Event Type}, HAS(@cell, "Roadshow"), {Delivery Format}, "Hybrid")
and
=COUNTIFS({Event Type}, HAS({Event Type}, "Roadshow"), {Delivery Format}, "Hybrid")
-
Could you please share me as an admin on a copy of the 2 sheet ( (after removing or replacing any sensitive information) and i will create the formula for you then you can copy it to your original sheet:
My Email : Bassam.k@mobilproject.it
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Will do - thank you, @Bassam Khalil
-
You are welcome and I will be happy to help you any time.
and you can understand @cell & @row in the following article
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 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!