COUNTIFS nested with AND
Hello community, I need your help.
I want to count how many rows meet the following conditions:
1. The rows where the value of the column {ESTADO} equals "Espera".
2. The rows where the value of the column {RESULTADO} is empty.
3. The rows where the value of the column {DATE} is greater than 7 days but less than 14.
I am using the following:
=COUNTIFS({FECHA LIMITE}, AND({FECHA LIMITE} > (TODAY() - 14), {FECHA LIMITE} < (TODAY() - 7)), {ESTADO}, "Espera", {RESULTADO}, "")
The range is the entire column of another sheet.
The error is this: #INVALID OPERATION
Best Answer
-
Try this slight change. =COUNTIFS({FECHA LIMITE}, AND(@cell > (TODAY() - 14), @cell < (TODAY(- 7))), {ESTADO}, "Espera", {RESULTADO}, "")
Does this help get you results?
Answers
-
Try this slight change. =COUNTIFS({FECHA LIMITE}, AND(@cell > (TODAY() - 14), @cell < (TODAY(- 7))), {ESTADO}, "Espera", {RESULTADO}, "")
Does this help get you results?
-
Excellent thank you very much
-
You're welcome. When using AND or OR in a COUNTIFS statement your AND or OR statements should use the @cell instead of the reference again. :D
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 62 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!