Using COUNTIFS With Contacts, CONTAINS, and OR
I'm essentially trying to make a sheet summary formula for how many open cases someone in a contact list has at the moment. I've got it working when I'm looking at the contact list one way, but the users of this sheet have a bad habit of entering data so that their email address displays in the contact list rather than their First and Last Name. I'm trying to figure out how to account for both methods in this formula that is checking for the person as well as the absence of data in another field.
The simple formula for reading contacts one way:
=COUNTIFS([Buyer Assigned]:[Buyer Assigned], HAS(@cell, "FIRST LAST NAME"), [Sent to Accounts Payable]:[Sent to Accounts Payable], "")
My latest attempt at a formula to include multiple display configurations for the contact. this one comes back as INCORRECT ARGUMENT SET.
=COUNTIFS([Buyer Assigned]:[Buyer Assigned], CONTAINS("FIRST LAST NAME", @cell), CONTAINS("email@address"), [Sent to Accounts Payable]:[Sent to Accounts Payable], "")
Answers
-
Resolved it myself!
=COUNTIFS([Sent to Accounts Payable]:[Sent to Accounts Payable], "", [Buyer Assigned]:[Buyer Assigned], OR(@cell = "FIRST LAST NAME", @cell = "email@address.com"))
-
Hi @robinw
I hope you're well and safe!
Glad you got it working!
Be safe, and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Please support the Community by marking your post with the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!