COUNTIFS formula

Good Day
I am struggling with the formula below:
=COUNTIFS({IDProjet}, CONTAINS("2020", @cell), {IDProjet}, NOT(CONTAINS("E", @cell)), {DateCD-SAM}, >=DATE(2019, 6, 1), {DateCD-SAM}, <=DATE(2020, 5, 31)))
I am referencing another sheet.
I am having #UNPARSABLE error code. Can't find it.
Please help me.
Cheers,
Claude
Best Answers
-
Try:
=COUNTIFS({IDProjet}, CONTAINS("2020", @cell), {IDProjet}, NOT(CONTAINS("E", @cell)), {DateCD-SAM}, >=DATE(2019, 6, 1), {DateCD-SAM}, <=DATE(2020, 5, 31))
One too many parens at the end.
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Thanks very much Mark, It worked
Answers
-
Try:
=COUNTIFS({IDProjet}, CONTAINS("2020", @cell), {IDProjet}, NOT(CONTAINS("E", @cell)), {DateCD-SAM}, >=DATE(2019, 6, 1), {DateCD-SAM}, <=DATE(2020, 5, 31))
One too many parens at the end.
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Thanks very much Mark, It worked
-
Glad you found a solution. Thank you for contributing to the Community.
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Help Article Resources
Categories
Check out the Formula Handbook template!