Contact us
Back to knowledgebase

Call Center Staffing in Excel

Call center staffing means deciding how many agents a queue needs at each time of day. Calls sometimes come in together, so keeping waits short takes more agents than the average workload alone would suggest. Erlang C estimates the staffing needed to answer a given share of calls within a promised time. It takes the call rate as given. For next week’s roster, that rate is itself a forecast.

Download the call center staffing workbook (.xlsx). It opens on Plan, with a morning shift you can replace with your own forecast and roster. All calculations use ordinary Excel formulas.

Plan the day

At the top of Plan, set the answer-time target (80% within 30 seconds in the sample) and choose the start time. The sheet covers up to 24 hours in 15-, 30- or 60-minute intervals, including shifts that cross midnight. Choose the interval your forecast uses. Switching to half hours changes the time labels but leaves your quarter-hour call counts in place.

At 08:45 the plan has 15 agents ready and needs 18. This is the largest shortfall of the sample morning.

Clear the sample inputs in B11:D26, then use Paste Special → Values at B11. Supply one row per interval across the three blue columns.

  • Offered calls. Enter the number of calls expected to reach the queue. Include abandoned calls in the history you forecast from, or the busiest intervals will look quieter than they were. Enter zero if you expect no calls. Leave the cell blank if you have no forecast.
  • Mean handle seconds. Enter the average time a call occupies an agent. Include conversation, time on hold while the agent remains occupied, and work needed to finish the call record. Two minutes is 120. If you combine teams, divide total handling seconds by total calls handled so that each call gets equal weight.
  • Ready agents. Enter the number assigned to serve this queue, including those already on calls. Exclude anyone on break or covering another queue. Leave this column blank if you are still working out the roster.

Minimum ready is the smallest team that meets the target at the forecast call rate. To roster includes an allowance for breaks, training and other work. If these take up 20% of scheduled time, a queue that needs 23 agents ready requires 29 on the roster (23 ÷ 0.8, rounded up). Check the break schedule before relying on that figure. If seven of the 29 go to lunch together, only 22 are left to take calls.

In the sample, the largest shortfall is at 08:45. The queue needs 18 agents and has 15, so Ready gap reads −3. The sheet names that interval above the table and shows how many rows it could assess. A row marked Awaiting roster still gives the staffing requirement. The workbook can size a queue up to 1,000 ready agents.

What changes with one more agent?

Select 09:15 on the Interval sheet. The center expects 150 calls in 15 minutes. At two minutes per call, that is 300 minutes of work, enough to occupy 20 agents continuously. The offered load is 20 erlangs (300 ÷ 15).

Ready agents Mean wait Answered in 30 s
21 91.3 s 40.8%
22 34.1 s 65.6%
23 16.6 s 80.4%
24 8.9 s 89.0%

With 22 agents ready, a little over half the callers have to wait. Their average wait is a full minute. The table gives 34 seconds because it includes everyone who gets straight through. About one caller in three is still waiting after 30 seconds. The center’s target allows at most one in five, which the team can just manage with 23 agents.

After 30 seconds, 34.4% of callers are still waiting with 22 agents and 19.6% with 23 agents. The service target allows 20%.

Adding one agent for this quarter hour would get about 22 more calls answered on time and save 44 minutes of waiting across all callers. Before borrowing an agent from another queue, run that queue with one fewer agent to see what its callers would lose.

Try 165 calls in Plan!B16. At 22 erlangs, the incoming work would occupy all 22 agents. Meeting the 80% target now takes 26 ready agents. Put 150 back to restore the example.

Where the interval estimate breaks down

In 1917, A. K. Erlang studied what happens when a call reaches a telephone exchange and every line is busy.1 In the staffing calculation, each agent takes the next call in order and every caller waits for an answer. Calls arrive independently at a constant average rate (a Poisson process). Handling times are independent and exponentially distributed. If incoming calls bring at least as much work as the team can handle, the queue has no stable average wait. The sheet reports No steady state.2

Why a fixed call rate misses the peaks

Several callers may ring in the same minute by chance. Erlang C allows for that. A billing error, though, gives thousands of customers a shared reason to call and can raise the rate for a whole morning. A forecast can get the monthly total right and still underestimate how often the center will be swamped. The call counts then have a fatter upper tail than the fixed-rate model predicts. Volumes the model treats as exceptional turn up more often in the logs.3

Jongbloed and Koole counted calls from 09:00 to 09:30 on 28 weekdays at a Dutch insurer. The average was 117. At that rate, they calculated that 34 agents could answer 80% of calls within 20 seconds. The insurer had to staff the desk before it knew how busy the morning would be. Allowing for that uncertainty, the researchers put the requirement at 43 agents to meet the same target on 95% of mornings.4

Erlang C is useful for a first estimate. Before publishing a roster, test it against whole days of call records held back from the forecast. Size the team using only information available when those shifts would have been scheduled. Then replay the actual calls in arrival order against the proposed shifts. Count the intervals when the team would have missed its target, and try moving a break or adding an agent to see how many delays that would have avoided.

Backlogs, routing and abandonment

At 08:45 the sample has 15 agents for 14.7 erlangs of work. At that rate, the steady-state mean wait exceeds five minutes. At 09:00, with 22 agents for 17.3 erlangs, the sheet gives about five seconds. Both figures assume that the team and the arrival rate have been steady for some time. In the actual center, the incoming shift must first answer the callers who were already on hold at nine.

Size dedicated language queues separately. Combining the English and French teams in one calculation assumes that the first available agent can answer a call in either language.

If many callers hang up, the average wait among those who got through can be misleading. Count how many gave up and how long they waited. A model such as Erlang A uses an estimate of callers’ patience to predict abandonments.

Calculating Erlang C without factorials

Let \(v\) be the expected number of calls in an interval of \(p\) seconds, and \(h\) the mean handling time in seconds. That gives \(vh\) seconds of work and a load of \(a=vh/p\) erlangs. With \(n\) ready agents and \(n>a\), the fraction of agent time spent handling calls is \(a/n\).

The usual formula for Erlang C contains terms of the form \(a^k/k!\). At \(k=171\) the factorial alone is too large for Excel. The original workbook avoided computing it directly. A VBA function added up \(\log(a/j)\) for \(j=1\) through \(k\), then took the exponential. At high loads even the resulting ratio can exceed Excel’s range.

The Calculation sheet works with a probability instead. Suppose a caller gets a busy signal whenever all \(k\) lines are occupied. Call that probability \(B_k\). With no lines, every call gets a busy signal, so \(B_0=1\). For each additional line, Excel uses the value in the row above.5

$$ B_k = \frac{a B_{k-1}}{k+a B_{k-1}}. $$

This is the Erlang B recurrence. Its values stay between zero and one, although a tiny probability can still round to zero. In a center where callers stay on hold, use the value in the row for \(n\) agents to calculate \(C\), the probability that a caller has to wait.

$$ C = \frac{n B_n}{n-a+a B_n} \quad (n>a). $$

Among callers who wait, the mean delay is \(h/(n-a)\) seconds. Multiply by \(C\) to include callers answered immediately in the average. If \(W\) is a caller’s wait in seconds, the share answered within \(t\) seconds is

$$ P(W\le t)=1-C\,e^{-(n-a)t/h}. $$

Setting \(t=0\) gives the share answered immediately, \(1-C\). To trace a result in Excel, find the interval at the top of Calculation. Read down its two columns. The first gives Erlang B for each possible team size. The first 1 in Meets target marks the smallest team that can keep the promise. That count appears on Plan as Minimum ready.

References


  1. A. K. Erlang, “Løsning af nogle Problemer fra Sandsynlighedsregningen af Betydning for de automatiske Telefoncentraler,” Elektroteknikeren 13, 1917. English translation, “Solution of Some Problems in the Theory of Probabilities of Significance in Automatic Telephone Exchanges,” The Post Office Electrical Engineers’ Journal 10, 189–197, 1918. ↩︎

  2. Noah Gans, Ger Koole and Avishai Mandelbaum, “Telephone Call Centers: Tutorial, Review, and Research Prospects,” Manufacturing & Service Operations Management 5(2), 79–141, 2003. ↩︎

  3. Song-Hee Kim and Ward Whitt, “Are Call Center and Hospital Arrivals Well Modeled by Nonhomogeneous Poisson Processes?”, Manufacturing & Service Operations Management 16(3), 464–480, 2014. Their banking data illustrate how arrivals can fit a Poisson process within a period even when rates vary across weeks. ↩︎

  4. Geurt Jongbloed and Ger Koole, “Managing uncertainty in call centres using Poisson mixtures,” Applied Stochastic Models in Business and Industry 17(4), 307–318, 2001, §5 and tables 1–2. ↩︎

  5. Villy B. Iversen, Teletraffic Engineering Handbook, ITU–D and International Teletraffic Congress, 2001, §7.4.1. ↩︎