Can I combine two COUNTIFS formulas if there is a Date Range?
I use this formula to identify how many Requests a certain Division entered.
=COUNTIFS({Divisions}, [Request Entered by]@row, {Request Type}, "Template Request")
I want to combine it with this formula to identify how many times a month, does that certain division enter specific request.
=COUNTIFS({Request Entered Date}, <=(DATE(2023, 8, 31)), {Request Entered Date}, >=(DATE(2023, 8, 1)))
If there is another way to go about this, would love to hear it. 😀
Best Answer
-
You need "range comma criteria comma range comma criteria comma", so on and so forth making sure to put commas between each piece.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
You would include the date range/criteria sets using the same syntax in your first COUNTIFS.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
I tried combining using the Syntax but getting an error whenever I try adding the second Date Range. Would using the Month and Year be better? I want to isolate the number of requests that it counts to just the month.
=COUNTIFS({Divisions}, [Request Entered by]@row, {Request Entered Date}, <=DATE(2023, 8, 31))
-
I may have figured it out,
=COUNTIFS({Divisions}, Division@row, {Request Entered Date}, >=DATE(2023, 8, 1) <= DATE(2023, 8, 31))
-
You need "range comma criteria comma range comma criteria comma", so on and so forth making sure to put commas between each piece.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Thank you @Paul Newcome
=COUNTIFS({Request Type}, "Template Request", {Divisions}, "University Pediatrics", {Request Entered Date}, >=DATE(2024, 4, 1), {Request Entered Date}, <=DATE(2024, 4, 30))
I got it and it's working perfectly.
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!