Count Data Based on Values in 2 columns
Hello,
I am trying to input a formula to count data in a column if certain criteria are not met in another column. I cannot seem to get it right. This is what I have:
=COUNTIFS({Qty. Res. Planner 2023 Range 1} CONTAINS("I", @cell)), AND{Qty. Res. Planner 2023 Jan 22} NOT(CONTAINS("OUT", @cell)))
I have data in column 1 and column January. I want the value returned when there is an "I" in column 1 and when column January doesnt say OUT. Based on table below it should be 3.
Thank you,
Klaudia
Best Answer
-
Hi @Klaudia
Based on your example above this appears to work
=COUNTIFS([Column 1]:[Column 1], CONTAINS("I", (@cell)), January:January, NOT(CONTAINS("OUT", (@cell))))
Hope that helps
Thanks
Paul
Answers
-
Hi @Klaudia
Based on your example above this appears to work
=COUNTIFS([Column 1]:[Column 1], CONTAINS("I", (@cell)), January:January, NOT(CONTAINS("OUT", (@cell))))
Hope that helps
Thanks
Paul
-
Help Article Resources
Categories
Check out the Formula Handbook template!