Using countIfs with reference and multiple conditions
I am trying to create a summary view using values of 2 columns.
=COUNTIFS({Final Status}, "Pass With Remarks", {Internal Status}, CONTAINS("Fixed", {Internal Status}))
I want that if any cell in range Final Status has "Pass With Remarks" and any cell that has Fixed in range Internal status should be considered. The formula is not giving any error but I am getting 0 as count even if the data is as per the condition.
I am not sure 🤔 about the mistake I am making.
Best Answer
-
Hi @hollyconradsmith ,
Thanks for your response. I tried using both solutions and the one that worked was
=COUNTIFS({Final Status}, "Pass With Remarks", {Internal Status}, CONTAINS("Fixed", @cell))
If I use HAS then only those rows are considered where the Value was just
FIXED
. It is not considered when it is part of a sentencePartially Fixed - Rest dev. in progress
Answers
-
Hi @SachinTaneja ,
Is your Internal Status column a multi-select dropdown maybe? You should use HAS instead of CONTAINS for multi-select.
Also try using @cell instead of repeating the column name. CONTAINS("Fixed", @cell)
Holly Conrad Smith
Director of Technology & Innovation 💡 at Streamline
CliftonStrengths Top 5: Deliberative, Restorative, Achiever, Consistency, Harmony
-
Hi @hollyconradsmith ,
Thanks for your response. I tried using both solutions and the one that worked was
=COUNTIFS({Final Status}, "Pass With Remarks", {Internal Status}, CONTAINS("Fixed", @cell))
If I use HAS then only those rows are considered where the Value was just
FIXED
. It is not considered when it is part of a sentencePartially Fixed - Rest dev. in progress
-
HI @hollyconradsmith ,
Can you please explain the difference between using @cell or the range directly?
The formulas examples never mention using @cell.
-
Holly Conrad Smith
Director of Technology & Innovation 💡 at Streamline
CliftonStrengths Top 5: Deliberative, Restorative, Achiever, Consistency, Harmony
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.5K Get Help
- 448 Global Discussions
- 144 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!