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
π΄ GOLD 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
π΄ GOLD 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
π΄ GOLD 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
Check out the Formula Handbook template!