COUNTIF in Sheet Summary to count values in one column based on a condition on a different column
Hi All,
I need to count the number of all test cases (all rows where column Test Case Ref has a value) where the the value for one particular column "Happy/Unhappy Path" is H.
I am using the formula below, but getting the INCORRECT ARGUMENT SET error. Can someone please help as to what is wrong with the formula below?
=COUNTIF([Test Case Ref]:[Test Case Ref], [Happy/Unhappy Path]:[Happy/Unhappy Path], ="H")
Thank you!
Answers
-
Hi @svijay22
This formula would work for that:
=COUNTIFS([Happy/Unhappy Path]:[Happy/Unhappy Path], "H", [Test Case Ref]:[Test Case Ref], <>"")
This says IF the Path column is "H" and the Ref column is not blank, then count it.
I hope that helps.
Matt
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66K Get Help
- 429 Global Discussions
- 149 Industry Talk
- 488 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!