COUNTIF - EXCEPT When

Hi,
I would like to write a formula that includes all {Deals} at "Tour" but not if {Lead Broker} is "Ryan", "Molly" or "Casey"
The formula below counts Deals at "Tour" AND NOT xyz broker. Instead I need Deals at "Tour" except for when Lead Broker is XYZ
=COUNTIFS({Transactions Master Data Range 2}, "Tour", {Transactions Master Data Range 3}, <>"Ryan Lawrence", {Transactions Master Data Range 3}, <>"Casey McCullough", {Transactions Master Data Range 3}, <>"Molly Glasgow")
Please help!
Best Answer
-
I think I got it:
=COUNTIFS({Transactions Master Data Range 3}, NOT(OR(@cell = "Molly Glasgow", @cell = "Ryan Lawrence", @cell = "Casey McCullough")), {Transactions Master Data Range 2}, @cell = "Tour")
Answers
-
I think I got it:
=COUNTIFS({Transactions Master Data Range 3}, NOT(OR(@cell = "Molly Glasgow", @cell = "Ryan Lawrence", @cell = "Casey McCullough")), {Transactions Master Data Range 2}, @cell = "Tour")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!