21.8 Customer Repeat and Cohort Table
The ask. Isha Shinde wants to know if customers come back. From the order list she needs each customer's first month, order count, a repeat flag, the repeat rate, and a small cohort table: of the customers who started in a month, how many ordered in each later month.
Sheet Orders, one row per order (A: Customer, B: Month as a real date, the 1st of the month). Fictional, Sep to Nov 2026:
| Customer | Months with an order |
|---|---|
| Priyanka Shinde | Sep, Oct, Nov |
| Isha Shinde | Sep, Nov |
| Abhishek Shinde | Sep |
| Shahrukh | Sep, Oct |
| Amir | Oct, Nov |
| Salman | Oct |
| Zoya | Oct, Nov |
| Ravina | Nov |
About this data: Teaching sample for a fictional shop “CityBasket Retail”. Figures and names (e.g. Priya Deshmukh) are made up for this lesson on customer repeat and cohort table.
(14 order rows in total.)
What to deliver (one under the other):
- Put the customers once in a Customers sheet with
=SORT(UNIQUE(Orders!A2:A15)). - First month:
MINIFSon the month column for that customer. - Order count:
COUNTIFon the customer column. - Repeat: "Yes" when the order count is more than 1.
- Repeat rate = repeat customers ÷ all customers.
- Cohort table: rows = first month, columns = order month, cell = number of those customers who ordered in that month (COUNTIFS on a helper column).
Key formulas (row 2; copy down or let the Table fill them):
Customers!A2: =SORT(UNIQUE(Orders!A2:A15))
B2: =MINIFS(Orders!$B$2:$B$15,Orders!$A$2:$A$15,A2)
C2: =COUNTIF(Orders!$A$2:$A$15,A2)
D2: =IF(C2>1,"Yes","No")
Repeat rate: =COUNTIF(D2:D9,"Yes")/COUNTA(A2:A9)
Orders!C2 (first month helper): =XLOOKUP(A2,Customers!$A$2:$A$9,Customers!$B$2:$B$9)
Cohort cell: =COUNTIFS(Orders!$C$2:$C$15,$A12,Orders!$B$2:$B$15,B$11)
Expected result (check your numbers):
| Customer | First month | Orders | Repeat |
|---|---|---|---|
| Amir | Oct | 2 | Yes |
| Ravina | Nov | 1 | No |
| Abhishek Shinde | Sep | 1 | No |
| Isha Shinde | Sep | 2 | Yes |
| Salman | Oct | 1 | No |
| Shahrukh | Sep | 2 | Yes |
| Priyanka Shinde | Sep | 3 | Yes |
| Zoya | Oct | 2 | Yes |
About this data: Demo table only — not real customer or company data. Built to practise customer repeat and cohort table.
Repeat customers 5 of 8 = 62.5%.
Cohort table (customers who ordered)
| First month | Customers | Sep | Oct | Nov |
|---|---|---|---|---|
| Sep | 4 | 4 | 2 | 2 |
| Oct | 3 | 0 | 3 | 2 |
| Nov | 1 | 0 | 0 | 1 |
About this data: Made-up rows so you can copy the pattern for customer repeat and cohort table. Currencies may use ₹, £, € or $.
Read the first row: 4 customers started in Sep; 2 of them ordered again in Oct and 2 in Nov. Cells before the first month are always 0; grey them out. In this file each customer has at most one order per month, so counting order rows gives the same answer as counting customers.
Checks before you send it:
- The month column holds real dates (1st of the month), formatted mmm.
- The cohort counts customers, not orders.
- If a customer can order twice in one month, count distinct customers:
=IFERROR(ROWS(UNIQUE(FILTER(Orders!$A$2:$A$15,(Orders!$C$2:$C$15=$A12)*(Orders!$B$2:$B$15=B$11)))),0). - The repeat rate uses customers as the denominator.
Ravindra Bagale's Tip
Count customers in a cohort, not orders. One loyal customer with ten orders must not look like ten people coming back.
Ravindra Bagale's Tip – मराठी
Cohort मध्ये orders नाही, customers मोजा. दहा orders देणारा एक निष्ठावान customer म्हणजे दहा लोक परत आले असं दिसता कामा नये.
Ravindra Bagale's Tip – हिंदी
Cohort में orders नहीं, customers गिनें. दस orders देने वाला एक वफ़ादार customer दस लोग लौटे, ऐसा नहीं दिखना चाहिए.
Loading practice tasks...
- Total new buyers (Easy): Add up New buyers in B2:B11. (sheet "Data")
- Average M1 repeat (Easy): Average of M1 repeat % in C2:C11, rounded to 1 decimal. (sheet "Data")
- Cohorts over 24% M1 (Easy): How many cohorts have M1 repeat % > 24? (sheet "Data")
- Max revenue (Easy): Largest Revenue (₹) in E2:E11. (sheet "Data")
- Total revenue (Easy): Add up Revenue (₹) in E2:E11. (sheet "Data")
- Total orders (Medium): Add up Orders in F2:F11. (sheet "Data")
- Avg M3 repeat (Medium): Average of M3 repeat % in D2:D11, rounded to 1 decimal. (sheet "Data")
- Revenue over 2000000 (Medium): How many cohorts have Revenue (₹) > 2000000? (sheet "Data")
- New buyers of 2026-07 (Medium): New buyers for Cohort "2026-07". (sheet "Data")
- Orders / new buyers (Hard): Total orders / total new buyers, 2 decimals. (sheet "Data")
- Max M3 (Hard): Largest M3 repeat % in D2:D11. (sheet "Data")
- Above avg revenue? (Hard): "High" if E2 > average revenue else "OK". (sheet "Data")
Worked example — customer repeat and cohort table
Why
Meera Joshi in Pune and Sophie Martin abroad both need a clear, repeatable way to use customer repeat and cohort table on a Summit Schools sheet without breaking totals.
What
Customer Repeat And Cohort Table is the Excel idea this page teaches. We will walk one tiny example end to end.
How
- Open a blank sheet. In A1 type a short label for customer repeat and cohort table.
- Enter a small made-up value for Meera Joshi using $ where money appears.
- Add a second value for Sophie Martin using € so you see mixed currencies stay numeric.
- Apply the method from this lesson step by step (menu or formula as shown above).
- Check the result still works inside SUM or a simple check cell.
Formula / action
Follow the formula or ribbon steps shown in this lesson (keep values numeric).
Meaning: Once customer repeat and cohort table is correct on one row, copy the same pattern down the column.