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
- 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