500 free credits, no card. Try Smalt AI →

Operations

Best way to track support ticket response times against an sla in Excel

Export tickets with real timestamps, compute business hours between Created and First Response, and compare them to a per-priority target table.

Smalt AI team ·

Export tickets with real date-time columns for Created, First Response and Priority, and keep SLA targets in a lookup table by priority, in hours. Use NETWORKDAYS with a holiday list to calculate business hours elapsed, then compare that to the target to mark each ticket Met, Breached or Open. Exclude automated replies from first-response time.

How to do it

1. Set up the sheet

Export tickets from your help desk as a CSV and open it in Excel. “First response” and “first reply” mean the same thing here. This guide uses one column map throughout:

ColumnContents
ATicket ID
BCreated (date-time)
CFirst Response (date-time, blank if none yet)
DPriority
ETarget hours, looked up from the SLA table
FHours elapsed (business hours)
GEnd time (helper, defined in step 3)
HResolved (date-time, only needed for step 5)

Check that Created and First Response are real dates and not text. NETWORKDAYS needs valid serial dates and may return a VALUE error when it is handed text dates. To test, change the column format to General: a real date-time becomes a number such as 46353.4, while text stays as it is.

Then add two small ranges on another sheet. The first is a named range called Holidays with your company’s non-working days. The second is a table of SLA targets, one row per priority. Take the targets from your support policy or customer contracts. For example:

PriorityTarget (business hours)
Urgent1
High4
Normal8
Low24

The 24 for Low means 24 business hours, which is three 8-hour working days, not one calendar day.

2. Define what the clock measures

Decide this before you build any formulas, because help desk tools disagree on small details. Freshdesk defines First Response Time as ticket creation to the agent’s first reply, and Resolution Time as creation to resolution. It lets you measure in business or calendar hours. An agent reply or public note stops the first-response clock, while an automated “Send Reply” does not.

Zendesk works the same way: first reply time runs from creation to the first public agent comment. Private comments and most bot actions do not count. A Zendesk target runs in either calendar or business hours, not both.

If your export includes a first reply field, find out whether it already skips auto-replies and internal notes. If it does not, filter those rows out first.

3. Calculate business hours elapsed

Plain end minus start counts calendar time, including nights and weekends. For business hours, Exceljet shows a formula built on NETWORKDAYS. Name two cells lower (opening time, such as 9:00 AM) and upper (closing time, such as 5:00 PM).

Open tickets have no First Response, so first add the end-time helper in G5. It uses the reply time when there is one and the current time when there is not:

=IF(C5="",NOW(),C5)

NOW() reads your PC clock, so that clock must be in the same time zone as the export’s timestamps. Then put the Exceljet formula in F5, pointing at G5 instead of C5 and multiplied by 24 for decimal hours:

=24*((NETWORKDAYS(B5,G5,Holidays)-1)*(upper-lower)+IF(NETWORKDAYS(G5,G5,Holidays),MEDIAN(MOD(G5,1),upper,lower),upper)-MEDIAN(NETWORKDAYS(B5,B5,Holidays)*MOD(B5,1),upper,lower))

The Holidays argument skips public holidays. Worked row. With hours of 9:00 to 17:00, a ticket created Friday at 16:30 and answered Monday at 09:30 has 30 minutes on Friday and 30 minutes on Monday. F5 shows 1.0 hours (1:00), not the 65 calendar hours between the two timestamps.

If your team works Sunday to Thursday, or a six-day week, switch to NETWORKDAYS.INTL. Its weekend argument takes a code (11 means Sunday only, 7 means Friday and Saturday) or a 7-character string starting on Monday, where 1 marks a non-workday.

4. Compare against the target

Pull the target for each ticket into E5 with VLOOKUP or INDEX and MATCH on Priority. Then add a status column:

=IF(F5>E5,"Breached",IF(C5="","Open","Met"))

Because F5 runs to NOW() for tickets with no reply, an open ticket shows as Breached once it passes its target, and as Open while it is still inside it. Answered tickets show Met or Breached based on the actual reply time.

5. Use day-based targets where they fit

For targets written in days, WORKDAY.INTL returns the due date after a set number of workdays: =WORKDAY.INTL(B5,3,1,Holidays). Compare the Resolved date in column H to that due date. A PivotTable on the status column, by priority and week, gives the percentage met. For a wider weekly view, see how to build a dashboard in Excel from weekly CSV exports.

Doing it with an AI coworker

If you would rather not maintain the workbook, you can hand the job to Smalt. Attach the ticket export and your SLA targets, and ask for a workbook with business hours to first response, a Met or Breached flag per ticket, and the breach rate by priority. Tell it your working hours and holiday dates, and say which replies to ignore, such as automated acknowledgements.

What to check before you rely on it

Spot-check a few tickets by hand: one created late on a Friday (like the worked row), one that crossed a public holiday, one answered within the hour. Work out the expected hours and compare them to the sheet.

  • Time zones. Exports often use UTC or the account time zone. If your business hours are local, convert the timestamps first.
  • Text dates. A CSV opened under a different regional setting can turn dates into text or swap day and month.
  • First reply definition. If auto-replies or private notes count as the first response, the breach rate looks better than it is.
  • Different schedules. The Exceljet formula uses one set of opening hours. Regions or tiers with different hours need their own lower and upper values.
  • Paused clocks. Your help desk may pause an SLA while it waits on the customer. A plain export of Created and First Response does not show that, so a person decides how to treat those tickets.

Once the breach rate is trustworthy, feed it into your weekly operations report and follow up on the breaches with a running list of action items.

Smalt is an AI coworker that takes jobs like this end to end and hands back the finished file.