Count Per Specified Criteria and Date Range
I am trying to create a formula to count the number of data quality issues per provider agency in a Smartsheet report. We would like to keep track of the number of data quality issues per provider agency each month.
The data quality issues are entered through a Smartsheet form and displayed in a report. Each row signifies an issue in submitted data and classified by agency. There is a column for date created, which provides the date for when each row was created. There is also a column with a checkbox, so if the checkbox is ticked, then issue is resolved. I do not want to include the rows in the number of data quality issues that have been resolved in the total counts for the agency each month. I have attached a picture below of what the report looks like. I have a separate grid for the formulas. I have tried a couple COUNTIFS formulas, combining with DATE formulas. Neither of them seem to work.
Criteria for formula: 1) Specified Agency; 2) Date Range (first day of the month and last day of the month); 3) Number of Data Quality Issues entered/rows in report; 4) Resolved column is checked, then row is not counted
Answers
-
You would use a COUNTIFS like so:
=COUNTIFS({Agency}, @cell = "Agency", {Checkbox}, @cell <> 1, {Date}, AND(IFERROR(MONTH(@cell), 0) = 1, IFERROR(YEAR(@cell), 0) = 2023))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.4K Get Help
- 394 Global Discussions
- 213 Industry Talk
- 449 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!