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
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 138 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!