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
- 63.4K Get Help
- 394 Global Discussions
- 213 Industry Talk
- 449 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!