Adding Multiple Criteria + Does Not Include
Hello, Smartsheet community! I am stumped on a function. I have attached a photo of a dummy sheet with the same functionality I am trying to achieve.
Using the example, how would I set up a formula which adds together the lunch selections of turkey, ham, and roast beef if they DID NOT choose soda as their drink? Lunch options of Veggie and Egg Salad are not to be captured.
I have tried several different formulas, but the number is either off or it doesn't capture the 'did not' correctly.
Thank you!
Answers
-
I am not sure whether you mean you want individual counts for each of the three selections, or if you want a total of all three selections. This will give you the latter:
=COUNTIFS([Drink Selection]:[Drink Selection], <> "Soda", [Lunch Selection]:[Lunch Selection], OR(@cell = "Turkey", @cell = "Ham", @cell = "Roast Beef"))
-
-
Thanks! I had the same formula, but the order of actions was reversed. It worked when I switched them around. Much appreciated!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 422 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!