COUNTIF Function
rlakin52911
âśâśâś
I'm trying to count everything in a Type column that = "Risk" that match a status of "Red" and "Yellow".
How would I add "Yellow" to this statement?
=COUNTIFS(Type:Type, "Risk", Status:Status, "Red")
Tags:
Comments
-
I think you mean OR, since (at least in my system) Status can't be both Red and Yellow at the same time.
=COUNTIFS(Type:Type, "Risk", Status:Status, "Red") +Â COUNTIFS(Type:Type, "Risk", Status:Status, "Yellow")
or
=COUNTIFS(Type:Type, "Risk", Status:Status, OR(@cell ="Red", @cell ="Yellow")
should work.
Craig
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 378 Global Discussions
- 208 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 290 Events
- 33 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!