COUNTIFS And OR
The formula below works, but I have a situation where I want to count when two different attorneys are listed in the Attorney field.
=COUNTIFS(Attorney:Attorney, ="Attorney1", [Contract Status]:[Contract Status], OR(@cell = "Customer Legal Review", @cell = "Pending PAC", @cell = "Pending SRTC", @cell = "Sent for Signatures", @cell = "WD Legal Review", @cell = "Waiting for Requestor Response"))
Can someone please assist? Thank you.
Answers
-
Hi @Shannon Heward
Hope you are fine, please try the following formula this is for example if the Attorney cell contains ( Attorney1 or Attorney2)
=COUNTIFS(Attorney:Attorney, OR(CONTAINS("Attorney1", @cell), CONTAINS("Attorney2", @cell)), [Contract Status]:[Contract Status], OR(@cell = "Customer Legal Review", @cell = "Pending PAC", @cell = "Pending SRTC", @cell = "Sent for Signatures", @cell = "WD Legal Review", @cell = "Waiting for Requestor Response"))
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Thank you for responding. Unfortunately, this isn't working the way I need. I'm wanting the count returned when it contains both attorneys [by name but referenced here as Attorney1 and Attorney2 here] and meets one of the contract status criteria. Can you please assist? Thank you.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!