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
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 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!