COUNTIFS and OR statement together?
I have several countifs together and I need to add another set ("Status" column that states "not started" or "in progress"). Everything I've tried has not worked.
=COUNTIFS({Vendor Category}, $[Primary Column]@row, {Help}, "assistance needed", {status}, "not started OR "in progress")
Best Answer
-
Hi Jessica,
I did a little testing:
This is what I used:
=COUNTIFS([Column2]1:[Column2]7, "assistance needed", Status1:Status7, OR(@cell = "not started", @cell = "in progress"))
What worked for me was adding this in the criteria for status:
OR(@cell = "not started", @cell = "in progress")
Which in your case might be:
=COUNTIFS({Vendor Category}, $[Primary Column]@row, {Help}, "assistance needed", {status}, OR(@cell = "not started", @cell = "in progress"))
Hope it helps,
Samantha
Answers
-
See below proper syntax:
=COUNTIFS({Vendor Category}, $[Primary Column]@row, {Help}, "assistance needed", {status}, or(@cell="not started", @cell="in progress"))
-
Hi Jessica,
I did a little testing:
This is what I used:
=COUNTIFS([Column2]1:[Column2]7, "assistance needed", Status1:Status7, OR(@cell = "not started", @cell = "in progress"))
What worked for me was adding this in the criteria for status:
OR(@cell = "not started", @cell = "in progress")
Which in your case might be:
=COUNTIFS({Vendor Category}, $[Primary Column]@row, {Help}, "assistance needed", {status}, OR(@cell = "not started", @cell = "in progress"))
Hope it helps,
Samantha
-
This did the trick! THANK YOU! working in formulas all morning my brain just could not get this syntax correct.
Help Article Resources
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
Check out the Formula Handbook template!