COUNTIFS with OR
Hi everyone. I have a formula for which i have multiple criterion. The issue I am having is for one of the columns, I want it to be counted if it contains "x" or "y" or "z". I cant figure out how to phrase it appropriately and make it work. Here is my stab at it (but it doesn't work).
=COUNTIFS({New Disposition Tracker(All CMOs) Range 2}, "serum", {New Disposition Tracker(All CMOs) Range 4}, Contains ("Unlabeled Drug Product (DP)" or ("Final Drug Product (FDP)" or (Drug Product (DP)", {New Disposition Tracker(All CMOs) Range 6}, >=[Start Date]@row, {New Disposition Tracker(All CMOs) Range 6}, <=[End Date]@row)
Best Answer
-
@michellelkirkland Attention if you refer to other sheets please give a name to the coloumn to avoid issues in the future.
Please try this formula, If it does not work feel free to share the sheet with me . nico.roepnack@lighthouseconsultings.com
=COUNTIFS({New Disposition Tracker(All CMOs) Range 2}, "serum",
{New Disposition Tracker(All CMOs) Range 4}, "Unlabeled Drug Product (DP)",
{New Disposition Tracker(All CMOs) Range 6}, >=[Start Date]@row,
{New Disposition Tracker(All CMOs) Range 6}, <=[End Date]@row)
+
COUNTIFS({New Disposition Tracker(All CMOs) Range 2}, "serum",
{New Disposition Tracker(All CMOs) Range 4}, "Final Drug Product (FDP)",
{New Disposition Tracker(All CMOs) Range 6}, >=[Start Date]@row,
{New Disposition Tracker(All CMOs) Range 6}, <=[End Date]@row)
+
COUNTIFS({New Disposition Tracker(All CMOs) Range 2}, "serum",
{New Disposition Tracker(All CMOs) Range 4}, "Drug Product (DP)",
{New Disposition Tracker(All CMOs) Range 6}, >=[Start Date]@row,
{New Disposition Tracker(All CMOs) Range 6}, <=[End Date]@row)If my comment helps you, I appreciate a 💡
Kind regards
Nico | LinkedIn
CEO | Lighthouse Consultings
Lecturer in Business Information Systems | DHBW
________________________________________________________________________________
addvalue@lighthouseconsultings.com
We offer Licenses - Training - Solution Engineering
🔴Certified Smartsheet Partner _______________________________________________
💯 SCALEABLE Solutions Engineered by Lighthouse Consultings
We Don’t Just Implement Smartsheet; We Revolutionize How You Manage, Plan, And Execute.
Answers
-
@michellelkirkland Attention if you refer to other sheets please give a name to the coloumn to avoid issues in the future.
Please try this formula, If it does not work feel free to share the sheet with me . nico.roepnack@lighthouseconsultings.com
=COUNTIFS({New Disposition Tracker(All CMOs) Range 2}, "serum",
{New Disposition Tracker(All CMOs) Range 4}, "Unlabeled Drug Product (DP)",
{New Disposition Tracker(All CMOs) Range 6}, >=[Start Date]@row,
{New Disposition Tracker(All CMOs) Range 6}, <=[End Date]@row)
+
COUNTIFS({New Disposition Tracker(All CMOs) Range 2}, "serum",
{New Disposition Tracker(All CMOs) Range 4}, "Final Drug Product (FDP)",
{New Disposition Tracker(All CMOs) Range 6}, >=[Start Date]@row,
{New Disposition Tracker(All CMOs) Range 6}, <=[End Date]@row)
+
COUNTIFS({New Disposition Tracker(All CMOs) Range 2}, "serum",
{New Disposition Tracker(All CMOs) Range 4}, "Drug Product (DP)",
{New Disposition Tracker(All CMOs) Range 6}, >=[Start Date]@row,
{New Disposition Tracker(All CMOs) Range 6}, <=[End Date]@row)If my comment helps you, I appreciate a 💡
Kind regards
Nico | LinkedIn
CEO | Lighthouse Consultings
Lecturer in Business Information Systems | DHBW
________________________________________________________________________________
addvalue@lighthouseconsultings.com
We offer Licenses - Training - Solution Engineering
🔴Certified Smartsheet Partner _______________________________________________
💯 SCALEABLE Solutions Engineered by Lighthouse Consultings
We Don’t Just Implement Smartsheet; We Revolutionize How You Manage, Plan, And Execute.
-
Thank you so much! That did it!
-
@michellelkirkland it would be great if you click the 💡to share with others
If my comment helps you, I appreciate a 💡
Kind regards
Nico | LinkedIn
CEO | Lighthouse Consultings
Lecturer in Business Information Systems | DHBW
________________________________________________________________________________
addvalue@lighthouseconsultings.com
We offer Licenses - Training - Solution Engineering
🔴Certified Smartsheet Partner _______________________________________________
💯 SCALEABLE Solutions Engineered by Lighthouse Consultings
We Don’t Just Implement Smartsheet; We Revolutionize How You Manage, Plan, And Execute.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 304 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!