Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Countifs formula using or
Hello. I am trying to count the RYG ball (in this case red) for each team. One of our teams is comprised of three sub-teams, so I need for it to be counted if any of those show a red ball. How do I create or for the Team section of this formula?
=COUNTIFS([Overall KPO Status]:[Overall KPO Status], "Red", Team:Team, {"Loyalty", "Partnership", "Portfolio Marketings"})
I searched the community for similar questions and checked the Smarsheet Formula Examples sheet, but I still can figure it out.
Any assistance would be greatly appreciated.
Comments
-
Try:
=COUNTIFS(CHILDREN(), "Red", CHILDREN(Team:Team), "Loyalty")
-
Thank you!
-
My solution in April was to break up the formulas for red, yellow, and green for each sub-team.
=COUNTIFS([Overall KPO Status]:[Overall KPO Status], "Red", Team:Team, "Sub-Team1")
=COUNTIFS([Overall KPO Status]:[Overall KPO Status], "Red", Team:Team, "Sub-Team2")
=COUNTIFS([Overall KPO Status]:[Overall KPO Status], "Red", Team:Team, "Sub-Team3")
And then, I summed the children rows for each color individually for the overall team.
=SUM(CHILDREN())
That ended up being 16 rows worth of formulas when I was hoping to use 3 rows by creating one formula for each color to include all the sub-teams.
Does that make sense?
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives