What is the correct formula to count a category type with specific date ranges?
Hi! We are trying to count media types (per each specific media category) based on specific completion dates (01/01/2023 through 03/31/2023). What formula should we use to make this work? Any help is much appreciated!
We have tried this one without luck: =COUNTIFS({Media Type}, = "Design", {Completion Date}, >= DATE(2023, 01, 01), <= DATE(2023, 03, 31))
Best Answer
-
Try this:
=COUNTIFS({Media Type}, HAS(@cell, "Design"), {Completion Date}, AND(@cell>= DATE(2023, 01, 01), @cell<= DATE(2023, 03, 31)))
Answers
-
Try this:
=COUNTIFS({Media Type}, HAS(@cell, "Design"), {Completion Date}, AND(@cell>= DATE(2023, 01, 01), @cell<= DATE(2023, 03, 31)))
-
Thank you so much! This version worked: =COUNTIFS([Media Type]:[Media Type], HAS(@cell, "Design"), [Completion Date]:[Completion Date], AND(@cell >= DATE(2023, 1, 1), @cell <= DATE(2023, 3, 31)))
Appreciate your help, Paul!
-
Happy to help. 👍️
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
- 63 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!