Using Formula for a total count/sum
Thank you for taking my question.
What is the format to create a formula that supports this scenario; A total count or sum based on a specific word in a cell in a sheet.
For example, collect the total number of the word "Pass". Same for "Fail" and so on.
Best Answer
-
You would be able to pull it with:
- =COUNTIF([Result Grade]:[Result Grade], CONTAINS("Pass",@cell))
or
- =COUNTIF([Result Grade]:[Result Grade], HAS(@cell,"Pass"))
The difference being that the first would count if there were a text string like "Partially Pass", and the second will only pull if the string is solely "Pass".
I hope this helps!
Best,
Zach Hall
Training Delivery Manager / Charter Communications
Answers
-
You would be able to pull it with:
- =COUNTIF([Result Grade]:[Result Grade], CONTAINS("Pass",@cell))
or
- =COUNTIF([Result Grade]:[Result Grade], HAS(@cell,"Pass"))
The difference being that the first would count if there were a text string like "Partially Pass", and the second will only pull if the string is solely "Pass".
I hope this helps!
Best,
Zach Hall
Training Delivery Manager / Charter Communications
-
YES!!! You have saved the day @Zachary Hall
Thank you for the prompt response and the 2 options, very helpful! I'm able to successfully provide an accurate report.
KLH
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!