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
- 63.7K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!