Count If / And
I am trying to determine the sum of the "Deliverable Count". Sum will be counted if....
CountIF
"Project Phase" checkbox is checked or "Project Sub-Phase" checkbox is checked
AND
Status is: "Not Started", "In Progress", "Roadblock" or blank
Thank you for any guidance.
Answers
-
Try this...
=SUMIFS([Deliverable Count]:[Deliverable Count], [Project Phase]:[Project Phase], 1, Status:Status, OR(@cell = "Not Started", @cell = "In Progress", @cell = "Roadblock", @cell = "")) + SUMIFS([Deliverable Count]:[Deliverable Count], [Project Sub-Phase]:[Project Sub-Phase], 1, Status:Status, OR(@cell = "Not Started", @cell = "In Progress", @cell = "Roadblock", @cell = ""))
-
You are soooo close. At least there is no error. But when I add the formula it does not appear to work for on of the situations. See below. It could absolutely be how I explained it in my original question.
With your formula, I would think the "deliverable count" should be 1 since there is "project phase" checked off and status is "roadblock"
Your thoughts or questions?
-
Ah. Ok. You said you wanted to SUM the Deliverable Count, so I thought you were putting numbers into the Deliverable Count column and then summing them based on your criteria.
Based on your most recent explanation and screenshot I see now you are wanting to COUNT the number of instances.
Try this instead...
=COUNTIFS([Project Phase]:[Project Phase], 1, Status:Status, OR(@cell = "Not Started", @cell = "In Progress", @cell = "Roadblock", @cell = "")) + COUNTIFS([Project Sub-Phase]:[Project Sub-Phase], 1, Status:Status, OR(@cell = "Not Started", @cell = "In Progress", @cell = "Roadblock", @cell = ""))
-
YES! YES! YES. Thank you so much for your help. Sorry for any confusion I created with my explanation.
-
No worries. Happy to help. 👍️
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives