Count If AND
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
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!