Help needed: COUNTIFS and DOES NOT CONTAIN function
Hi team - so I have a formula for counting "errors" that occur in a specific month:
=COUNTIFS([Main row]:[Main row], 1, Created:Created, IFERROR(MONTH(@cell), 0) = 5, [Incorrect format]:[Incorrect format], 1)
What I'm trying to do now is do the same thing but EXCLUDE "General Counsel" from the counting formula:
=COUNTIF([Division requested by]:[Division requested by], (CONTAINS("general counsel", @cell)))
How do I merge those 2 formulas so I count all errors in a specific month but the "Division requested by" column DOES NOT CONTAIN "General Counsel" ?
Thanks.
Best Answer
-
Try this...
=COUNTIFS([Main row]:[Main row], 1, Created:Created, IFERROR(MONTH(@cell), 0) = 5, [Incorrect format]:[Incorrect format], 1, [Division requested by]:[Division requested by], NOT(CONTAINS("general counsel", @cell)))
Answers
-
Try this...
=COUNTIFS([Main row]:[Main row], 1, Created:Created, IFERROR(MONTH(@cell), 0) = 5, [Incorrect format]:[Incorrect format], 1, [Division requested by]:[Division requested by], NOT(CONTAINS("general counsel", @cell)))
-
Nailed it!
Thanks so much for your prompt reply.
Jeff
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 462 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!