Summarize open support workload with Google Sheets QUERY
Group ticket counts and remaining work by channel, then verify the result on three rows.
The problem
Email and chat share a support sheet. The total backlog does not show where the team needs the most time. Group each channel's open cases and remaining work in a separate view.
The tool
Google Sheets QUERY supports filtering and aggregation with where and group by. Keep the source tab intact and begin with a fixture small enough to check by hand.
The steps
- Create a
Ticketstab with A through D for ticket ID, channel, status and minutes remaining. Keep names consistent. - Add
T1, Email, Open, 10,T2, Email, Closed, 40andT3, Chat, Open, 15in distinct columns. Enter durations as numbers. - In the report use
=QUERY(Tickets!A1:D,"select B,count(A),sum(D) where C = 'Open' and A is not null group by B label count(A) 'Tickets',sum(D) 'Minutes'",1). The final 1 declares one header row. - Check Email for one open ticket and 10 minutes, and Chat for one ticket and 15 minutes. The closed case contributes no minutes.
- Append
T4, Chat, Open, 20. Chat should show two tickets and 35 minutes. Close T4 and check that the total returns. - Look for groups created by spelling or spacing differences. Title the summary so the team can distinguish estimated remaining work from waiting time.
The real cost
The formula requires no paid add-on. Allow time to normalize the data types before connecting a live export.
The free alternative
Use a pivot table to filter Open, count ticket IDs and add minutes if your maintainer prefers the visual interface.
Notes
- We have not tried these steps ourselves yet. They are based on the official docs. Button names may change. If your interface differs, follow the docs.
- Mixed column types can cause QUERY to handle minority types as null.
- Some locales use semicolons between formula arguments. Keep commas within the query string unchanged.
Sources
Did you like this guide?
The weekly newsletter is being prepared. Leave your email and we'll send it when it launches.
We use your email only to send the newsletter. Privacy policy
