Case 6: Churn rate, revenue retention and cohorts

Winning new customers costs more than keeping the ones you have. Three metrics show whether that is working: how many customers drop off, how much revenue existing customers bring, and how long new customers stay. You calculate all three from a table of monthly revenue.

In short: lost customers are =COUNTIFS(Activity!B$2:B$13,">0",Activity!C$2:C$13,0), meaning revenue last month and none this month. Churn rate divides them by last month's active customers. A single COUNTIFS formula with mixed references builds the whole cohort table.

The situation

Your company sells office supplies on subscription: customers reorder every month, and anyone who stops ordering has dropped off. A promotion in the first half of the year brought in lots of new customers. Sales leadership now asks two things: are we losing more customers than before, and did the customers from the promotion stay? The answers go into the half-year presentation.

The workbook

  • Activity: one row per customer and one column per month from January to June, holding revenue. 0 means no delivery.
  • Metrics: one column per month with active and lost customers, churn rate, revenue and revenue retention.
  • Customers (task 2): like Activity, plus each customer's start month.
  • Cohorts (task 2): the number of active customers by start month and calendar month at the top, and the same table in percent below.

Task 1: Churn and retention by month

Task The office supplies subscription ships monthly, and sales leadership wants to know whether customers are dropping off. The Activity sheet shows revenue per customer and month; 0 means no delivery. In B2, count the active customers in January (fill to G2). In C3, count customers who were active last month and are not this month, and in C4 work out the churn rate: lost customers divided by last month's active customers (both fill to G). In B5, total the month's revenue (fill to G5), and in C6 work out revenue retention: this month's revenue from customers who were active last month, divided by last month's revenue (fill to G6).

ABCDEFGH
1 Metric Jan Feb Mar Apr May Jun
2 Active customers
3 Lost customers
4 Churn rate
5 Revenue
6 Revenue retention
7
8

Step by step

Active customers: =COUNTIF(Activity!B$2:B$13,">0"). The $ before the row number locks the rows, and the column moves right to the next month as you fill.

Lost customers: from February, because January has no previous month. COUNTIFS tests two neighbouring columns in the same rows: revenue above 0 last month and exactly 0 this month. A customer who comes back in April counts as lost in March, and again in June if they stop once more.

Churn rate: =C3/B2, lost customers divided by last month's active customers. Only then is the rate a share of those who could have stayed.

Revenue retention: =SUMIF(Activity!B$2:B$13,">0",Activity!C$2:C$13)/B5. The top is this month's revenue from customers who were active last month only, and the bottom is last month's revenue. New customers are left out of the top. Above 100% means existing customers are buying so much more that it makes up for the losses. This is net revenue retention (NRR), measured month on month.

Task 2: The cohort table

Task A first-half promotion brought in lots of new customers. Sales leadership wants to know how many stayed, split by start month. In B2, count the customers in the cohort from A2 (fill to B4). In C2, count how many customers of the cohort in A2 were active in the column's month (revenue above 0), so that it fills right to H and down to row 4. In C7, work out retention: active customers divided by cohort size, also filled to H9.

ABCDEFGHI
1 Start month Customers Jan Feb Mar Apr May Jun
2 Jan
3 Feb
4 Mar
5
6 Retention Jan Feb Mar Apr May Jun
7 Jan
8 Feb
9 Mar
10
11

This exercise is part of Premium.

Premium unlocks every exercise in every lesson, unlimited practice with fresh tasks and the final test with certificate.

See Premium Already Premium? Log in

The first exercise in this lesson is free.

Step by step

A cohort is every customer with the same start month. B2 counts them with COUNTIF. The grid next to it counts how many of them were active in the column's month:

=COUNTIFS(Customers!$B$2:$B$16,$A2,Customers!C$2:C$16,">0")

Three kinds of reference in one formula: $B$2:$B$16 is fully fixed, $A2 locks the cohort column, and C$2:C$16 locks the rows and moves with the month. Retention below is =C2/$B2: active customers divided by cohort size. Before the start month it shows 0, and in the start month 100%.

Common mistakes

Dividing by this month's active customers

Then the churn rate depends on how many new customers just joined. Strong acquisition would make churn look smaller even though just as many leave.

Blank cells instead of 0

The criterion 0 does not match blank cells. If your export comes with blanks, use "" as the criterion or fill the gaps with 0 first.

Cohort without $

With A2 and no $, the formula points at the number in B2 instead of the start month when filled right, and counts nothing.

Check your result

  • Task 1: active customers 8, 8, 6, 7, 7, 6. Lost customers February to June 1, 3, 1, 1, 1. Churn rate in March 37.5% (3 of 8). Revenue 6,220 in January and 4,570 in June. Revenue retention 95.3% in February and 65.1% in March.
  • Task 2: cohorts of 6, 5 and 4 customers. The January cohort runs 100%, 83.3%, 66.7%, 50%, 33.3%, 33.3%. Of the February cohort only one customer is still buying in June, which is 20%.
  • Cross-check: for each month, the column totals of the top grid equal the active customers across the three cohorts, for example 4 + 4 + 4 = 12 in March.

The functions in German Excel

EnglishGerman
COUNTIF, COUNTIFSZÄHLENWENN, ZÄHLENWENNS
SUMIF, SUMSUMMEWENN, SUMME

Every function in this case is available in all current versions of Excel. A colour scale from conditional formatting makes the cohort table easy to read.

FAQ

When does a customer count as lost?

That depends on the business. With monthly deliveries, a month without an order is a clear signal. For customers who buy two or three times a year you use a longer window, for example no order in the last six months.

Why calendar months rather than "month 1, 2, 3"?

The calendar view is the simplest to build with COUNTIFS and shows seasonal effects. To compare cohorts directly, read the percentages diagonally from each start month.

Done: all six cases

Once every case task is solved, at least 80% of them without showing the solution, you receive the certificate for the Excel course for sales with a public verification link. Your progress is in the course view.

Course overview and certificate

Write to us

Choose language

Select your preferred language