COUNTIF AND Statement
Hi, it's me again.. I promise that one day I will understand SmartSheet formulas :)
Trying to COUNTIF the Status is Complete AND the Phase is Rollout (will need to do this for the other four phases)
=IF(AND([Status]@row <= “Complete”(), Phase@row = “Rollout”))
^^ Does not work
Tried to select the range on the sheet as well:
=COUNTIF(AND({Talent Project Plan V2 Range 1} = “Complete”(), {Talent Project Plan V2 Range 2} = “Rollout”()))
^^No luck with this either
Any ideas what I'm doing wrong?
Best Answer
-
If you just want to return the number 1 and sum the instances when both conditions are met you could use: =IF(AND(Status@row = "Complete", Phase@row = "Rollout"), 1, "")
Answers
-
=IF(AND(Status@row = "Complete", Phase@row = "Rollout"), COUNT(Status@row:Phase@row), "")
-
Still not working, does it make a difference that this is for a Master Rollup and not inside a Sheet?
-
Yes. You would need to run the formula on your sheet horizontally in perhaps a hidden column that you can lock, then foot it and link it to your master rollup.
-
If you just want to return the number 1 and sum the instances when both conditions are met you could use: =IF(AND(Status@row = "Complete", Phase@row = "Rollout"), 1, "")
-
THANK YOU, this worked!!
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 463 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives