COUNT multiple items in sheet summary fields
Hello
I am trying to calculate a sheet summary field to show how many times a value appears in the Location column.
I am using the Count if function but it is only returning a value when the "location" is presented on it's own.
For eg: my formula is =COUNTIF([*Location]:[*Location], "VIC"). This formula responds with a value of 2 when really it is 4. It is only counting when VIC appears on it's own in this column.
Does anyone know where i am going wrong and what formula i should be using?
The idea is I will have 4 different field summary fields counting how many times each value appears then i will present this on a dashboard
i.e countif "vic", countif "nsw" etc
Thank you
Best Answer
-
Hi @Laura G,
Try using the following Formula
=COUNTIFS(Location:Location, CONTAINS("VIC", @cell))
Her is a screen shot shows the result.
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"
Answers
-
Hi @Laura G,
Try using the following Formula
=COUNTIFS(Location:Location, CONTAINS("VIC", @cell))
Her is a screen shot shows the result.
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"
-
That worked! Thank you very much
-
Hi @Laura G,
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.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"
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 62 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives