What am i doing wrong?

I am trying to add data form two columns if they contains set information, however i keep getting it wrong?
=COUNTIFS((AND({PTQ-R-021 Actions Log - Corrective/Prevent Range 2}, "Observation"):{PTQ-R-021 Actions Log - Corrective/Prevent Range 1}, "Health & Safety"))
Answers
-
=COUNTIFS({PTQ-R-021 Actions Log - Corrective/Prevent Range 2}, "Observation"), : ({PTQ-R-021 Actions Log - Corrective/Prevent Range 1}, "Health & Safety")
Also tried this?
-
=COUNTIFS({PTQ-R-021 Actions Log - Corrective/Prevent Range 2}, "Observation") + =COUNTIFS({PTQ-R-021 Actions Log - Corrective/Prevent Range 1}, "Health & Safety")
And this
-
Your last one is the closest. Try removing the = from before the second COUNTIFS.
-
Its not quite right still
it needs to add items in one column and two column if they have both the varibles?
-
By removing the second = its only giving me the Health & safety totals
It needs to add all health and safety totals if they are Major non-conformity
-
Are you able to provide some screenshots for context?
-
Need to action type "observation" when compliance is "Health and safety"
-
-
that will not give me what i am looking for
-
i need to know how many health and safety i have in observation
-
Right. Combining them into a single COUNTIFS will give you what you are looking for.
-
How do i do that?
-
You would follow the standard syntax for a COUNTIFS that allows you to input multiple range/criteria sets within the same function.
.
Help Article Resources
Categories
Check out the Formula Handbook template!