Count If AND
![Rodrigo Blotte](https://us.v-cdn.net/6031209/uploads/defaultavatar/nWRMFRX6I99I6.jpg)
Hi!
I am trying to build a formula in which I can count an item from a list as long as it meets 2 criteria:
1- Item submission is in JANUARY
2- A dropdown selection is "No"
I truly cannot wrap my head around making the right formula so it gives me the appropriate result as I do not know how to build a count IF formula that looks for an IN BETWEEN date.
Please help.
This is what I have done so far which most likely is wrong.
=COUNTIFS(AND({Quarterly R1 Submission Date} >=DATE(2022, 12, 31), {Quarterly R1 Submission Date} <=DATE(2023, 2, 1)){Quarterly R1 Return 1}, "No")
Answers
-
Hi @Rodrigo Blotte,
The COUNTIFS function assumes multiple criteria, so you don't need the AND function. Try this:
=COUNTIFS({Quarterly R1 Submission Date}, >=DATE(2022, 01, 01), {Quarterly R1 Submission Date}, <=DATE(2022, 01, 31), {Quarterly R1 Return 1}, "No")
I hope that helps.
Matthew
-
Thank you @Matthew J McAteer
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!