How to Build a Simple Cohort Retention Report Without a BI Tool
I built my first cohort retention report in a Google Sheet at 11pm because the agency we'd hired wanted $4,000 to set one up in Looker. I had Shopify order exports and a deadline. That report ran for two years and nobody ever asked for anything fancier.
This is for anyone running a DTC brand who needs a cohort retention report spreadsheet, not a BI tool. You already have the data sitting in your Shopify admin. You just need to structure it right.
What the problem actually looks like
You know your overall repeat purchase rate. Someone in a board meeting asks "is it getting better or worse for customers we acquired this year versus last year." You don't know. You have a single number, not a trend by cohort.
Your ad spend keeps climbing. Your CAC is creeping up. Leadership wants to know if newer customers are sticking around as well as older ones did, or if the quality of acquisition has dropped. Nobody can answer that from the Shopify dashboard. The dashboard shows totals, not cohorts.
Marketing says retention is fine. Finance says LTV is down. Both are looking at different slices of the same messy pile of order data, and nobody has broken it out by the month a customer first bought.
Why it happens
Shopify's native reporting is built for store operators checking today's sales, not for marketers tracking customer cohorts over 12 months. The "Customer cohort analysis" report exists in Shopify Plus but it's limited, hard to export cleanly, and doesn't let you segment by acquisition channel the way you actually need.
Most teams also don't structure their raw data right from the start. You need two things: the customer's first purchase month, and every subsequent purchase month. Shopify's order export gives you line items, not customer-level first-purchase dates, so you have to build that layer yourself.
And frankly, most marketers have been told cohort analysis requires Amplitude, Mixpanel, or a $500/month BI tool. It doesn't. It requires one pivot table and a willingness to spend two hours setting it up once.
What we do about it
Here's the actual structure. I've used this exact format for a DTC brand I scaled from $100K to $3M in revenue, and it's held up at every size in between.
Step 1: Export your orders from Shopify
- Go to Orders, export all orders (not just paid), all time, as a CSV.
- You need: Customer email, Order ID, Created at (date), Total.
Step 2: Build the customer-level base table
In a new sheet tab, create one row per customer with these columns:
- Customer email
- First order date
- Acquisition month (formatted as YYYY-MM, use a formula like =TEXT(first_order_date,"YYYY-MM"))
- All subsequent order dates (you can use a helper column with a COUNTIFS to flag which months they ordered in)
Use a pivot or a formula like =IFERROR(VLOOKUP(email, orders_range, 1, FALSE), 0) style lookups, or better, use a MINIFS on order date grouped by email to get first order date per customer.
Step 3: Build the cohort matrix
This is the part that actually matters. Structure it like this:
- Rows: Acquisition month (Jan 2024, Feb 2024, Mar 2024...)
- Columns: Months since acquisition (Month 0, Month 1, Month 2, up to Month 12)
- Cells: Percentage of that cohort who placed an order in that month-since-acquisition
Month 0 is always 100% by definition (they bought, that's how they entered the cohort). Month 1 shows what percent of the January cohort bought again within 30-60 days. Month 3 shows the percent still active a quarter out.
Step 4: Calculate repeat purchase rate per cohort
The formula per cell is simple: count of customers in that cohort who ordered in that specific month-since-acquisition, divided by total customers in that cohort.
Example: your January 2024 cohort has 500 new customers. By month 3, 95 of them have placed a second order. That's a 19% repeat rate at the 90-day mark. Compare that number against your July 2024 cohort at the same 90-day mark. If July is sitting at 12%, something changed in acquisition quality, product, or onboarding between January and July.
Step 5: Build this once, then automate the refresh
Set a recurring calendar reminder to re-export and refresh monthly. If you have someone technical, a simple script or Zapier flow can pull the Shopify order export automatically. If not, 20 minutes a month of copy-paste is fine. I ran this manually for over a year before automating it.
The most common mistake
People try to make the cohort matrix too granular too early. They want weekly cohorts, product-level splits, channel breakdowns, all in one tab. That turns a one-hour build into a three-week project that never ships.
Start with monthly cohorts and a single repeat-purchase metric. Get that working and trusted. Add channel or product segmentation only after the base report is live and people are actually using it.
What it costs to ignore
On the $2.2B infrastructure project I marketed, we didn't track cohort behavior because the sales cycle was different, but the same principle applied to lead quality: if you don't segment by source and time, you can't tell a good quarter from a lucky one.
In ecommerce the cost is more direct. If your December cohort (heavy discount-driven, holiday traffic) repeats at 8% and your organic-driven March cohort repeats at 24%, and you don't know that, you'll keep pouring budget into the channel that produces one-time buyers. I've seen brands run six-figure monthly budgets into a channel for a full year before someone finally pulled a cohort report and realized the "growth" was almost entirely non-repeating customers.
That's not a reporting problem. That's cash spent on customers who were never coming back, and nobody found out until the cash was gone.
FAQ
How many months of data do I need before this report is useful?
Six months minimum to see a real pattern. Twelve months lets you compare cohorts against the same seasonal point a year later, which is the comparison that actually matters for ecommerce.
Can I do this in Excel instead of Google Sheets?
Yes, same formulas and pivot table logic work. Google Sheets is easier if multiple people need to view or edit it without file versions flying around.
What if I have more than a few thousand customers and the sheet gets slow?
Pre-aggregate in the base table using a pivot table before building the cohort matrix, rather than running live formulas against raw order-level data. If you cross roughly 50,000 rows, consider moving the base table to Google BigQuery's free tier and keeping the final matrix in Sheets.
Build this once, trust it, and check it monthly. You don't need a BI tool to know whether your customers are coming back. You need one pivot table and the discipline to look at it.