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
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!