Formula to count how many applications received per month per agency over years
I have two columns, 'received by date' (date column) and the type of 'agency' it was received from which are two columns I need to formulate a number for.
I need to count how many applications were received for that month per agency. There are 16 agencies that can be selected under the agency column that can be grouped as "MO" and 2 agencies I want to group as "DPC/OP".
I have tried this but no luck: =COUNTIFS({NEW - Received Date}, IFERROR(MONTH(@cell), 0) = 6), IFERROR(YEAR(@cell), 0) = 2024)
I have attached the sheet I would like the data to populate into. The other sheet is being used as the reference sheet - columns are 'AGENCY' and 'NEW - Received Date'. Thank you!
Answers
-
Hey @shanriddell,
So do you want a formula for the "MO" and "DPC/OP" columns, or are you looking for the totals? For totals, you should be able to use something like this:
=COUNTIFS(Date:Date, IFERROR(MONTH(@cell), 0) = 6, Date:Date, IFERROR(YEAR(@cell), 0) = 2024)
It looks like you forgot to include the second range for the YEAR check in your original formula
Hope this helps!
If my response was helpful in any way (or answered your question) please be sure to upvote it, mark it as awesome, or mark it as the accepted answer!
I'm always looking to connect with other industry professionals, feel free to connect with me on LinkedIn as well!
-
Thanks so much for your assistance!! That definitely helps me for the total amount (number 3 below). I am hoping I can explain the other 2 below with some sense haha! 😄
3 separate totals I am after:
- How many applications received in a month that are selected as either Whitby, Winton, Michael etc (for 16 different agencies) via a drop down list via an other reference sheet. These are added together to produce the total under the MO column.
- How many applications received in a month that are selected as either DPC or OP via a drop down list via an other reference sheet. These are added together to produce the total under the DPC/OP column.
- The total of the above added together which you have assisted me with above - thank you!
=COUNTIFS({Received Date}, IFERROR(MONTH(@cell), 0) = 6, {Received Date}, IFERROR(YEAR(@cell), 0) = 2024)
Thank you sooo much! Let me know if you need me to provide any screenshots of the reference sheet
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!