Customer Lifetime Value in Excel: Step-by-Step Model

Written by Chartsy Team
July 31, 2026
Updated November 2, 2026
11 min read
Customer Lifetime Value in Excel: Step-by-Step Model

You can build a solid customer lifetime value model in Excel or Google Sheets in under an hour. The math is simple. What makes most LTV spreadsheets unreliable is the setup around it: the wrong customer count, annual plans mixed with monthly ones, a churn rate from one noisy month, or a formula that quietly counts a million blank rows.

This guide walks through the whole build: what to export, how to lay out the sheet, the exact cell formulas for ARPU, churn and LTV, a cohort LTV tab, and the spreadsheet mistakes that skew the result. Every formula works in both Excel and Google Sheets unless noted.

Table of Contents

  • Before You Open Excel
  • The Sheet Layout: Four Tabs
  • Step 1: Set Up the Customers Tab
  • Step 2: Calculate ARPU and Churn on the Inputs Tab
  • Step 3: The LTV Formula in Excel, by Plan
  • Step 4: Build a Cohort LTV Tab
  • Ecommerce and Marketplace Versions
  • Common Spreadsheet Mistakes
  • FAQ: Customer Lifetime Value in Excel
  • Conclusion

Before You Open Excel

This post assumes you know what LTV is. If you want the definition, the margin-adjusted formula and how it links to CAC, the LTV metric page covers it. It also has a calculator: enter ARPU, churn and gross margin and you get LTV straight away. If you only need one number, that's faster than any spreadsheet.

A spreadsheet earns its keep when you want to see LTV by plan, by signup month, or under different assumptions. For that you need two exports from your billing system:

  • Customers or subscriptions: one row per subscription with customer ID, start date, cancel date (if any), plan, billing interval and price.
  • Payments: one row per successful payment with customer ID, date and amount, net of refunds and excluding tax. You only need this for the cohort tab.

Stripe and Paddle both let you export subscriptions and payments as CSV files from the dashboard. Column names differ between providers, so expect to rename a few headers.

A realistic editorial illustration inside a SaaS finance team's workspace, showing a laptop with an abstract recurring revenue chart, a customer retention curve, handwritten LTV equations, and purple violet analytics accents. No readable brand names, phone numbers, or fake product labels. Alt: SaaS customer lifetime value formula with revenue, churn, and gross margin chart.

The Sheet Layout: Four Tabs

Keep raw data, assumptions and results apart. It makes the model easier to check and easier to update next month.

Tab What goes in it Typed or calculated?
Customers One row per subscription, plus a few helper columns Pasted from the export, helpers calculated
Inputs Report date, gross margin, CAC, lifetime cap, plus overall ARPU and churn Mix - typed assumptions at the top, calculations below
LTV One row per plan with ARPU, churn, LTV and LTV:CAC Calculated
Cohorts Cumulative revenue per customer by signup month Calculated from a Payments tab

Rule of thumb: a typed number should live in exactly one cell, on the Inputs tab. Every other cell refers to it. When gross margin changes, you change one cell and the whole model updates.

Step 1: Set Up the Customers Tab

Paste your subscription export so that columns A to F hold the raw data:

Column Header Example
A Customer ID cus_0142
B Start date 2026-03-14
C Cancel date blank if still active
D Plan Pro
E Interval month or year
F Price 49 or 490

Then add helper columns. Before you do, put two values on the Inputs tab: the report date in B1 (the last day of the month you're measuring, e.g. 2026-10-31) and the period start in B2:

=EOMONTH(B1,-1)+1

That returns the first day of the same month. Now the helpers on the Customers tab, starting in row 2:

G - MRR. Normalizes annual plans to a monthly figure:

=IF(E2="year",F2/12,F2)

H - Status:

=IF(C2="","Active","Churned")

I - Cohort (signup month as text):

=TEXT(B2,"yyyy-mm")

J - Active at period start. TRUE if the customer started before the period and hadn't cancelled by then:

=AND(B2<Inputs!$B$2,OR(C2="",C2>=Inputs!$B$2))

K - Churned in period. TRUE if they were active at the start and cancelled during the period:

=AND(J2,C2<>"",C2<=Inputs!$B$1)

Copy G2:K2 down to the last row. The $ signs keep the references to the Inputs tab fixed as you copy.

Step 2: Calculate ARPU and Churn on the Inputs Tab

Lay out the Inputs tab like this:

Cell Label Formula or value
B1 Report date 2026-10-31 (typed)
B2 Period start =EOMONTH(B1,-1)+1
B3 Customers at period start =COUNTIF(Customers!J:J,TRUE)
B4 Customers lost in period =COUNTIF(Customers!K:K,TRUE)
B5 Monthly churn =B4/B3
B6 Active customers now =COUNTIF(Customers!H:H,"Active")
B7 Current MRR =SUMIFS(Customers!G:G,Customers!H:H,"Active")
B8 ARPU =B7/B6
B9 Gross margin 80% (typed)
B10 CAC 400 (typed, optional)
B11 Lifetime cap (months) 60 (typed)

A few notes on these:

  • ARPU only counts paying customers. If your export includes free plans or trials, filter them out or add Customers!F:F,">0" to the SUMIFS and use a COUNTIFS with the same condition for B6.
  • One month of churn is noisy. With a small customer base, two cancellations can double your churn rate. To smooth it, change B2 to =EDATE(B1,-3)+1 to measure three months, then convert to a monthly rate in B5 with =1-(1-B4/B3)^(1/3).
  • Gross margin is a typed assumption. Take it from your accounts: revenue minus hosting, payment fees, third-party tools per customer and support, divided by revenue.

Step 3: The LTV Formula in Excel, by Plan

The LTV tab has one row per plan, plus a total row. Put plan names in column A, then:

Column Header Formula in row 2
A Plan Pro (typed)
B ARPU =SUMIFS(Customers!$G:$G,Customers!$D:$D,A2,Customers!$H:$H,"Active")/COUNTIFS(Customers!$D:$D,A2,Customers!$H:$H,"Active")
C Gross margin =Inputs!$B$9
D Monthly churn =COUNTIFS(Customers!$D:$D,A2,Customers!$K:$K,TRUE)/COUNTIFS(Customers!$D:$D,A2,Customers!$J:$J,TRUE)
E LTV =B2*C2/D2
F Lifetime (months) =1/D2
G Revenue LTV =B2/D2
H LTV:CAC =E2/Inputs!$B$10
I Payback (months) =Inputs!$B$10/(B2*C2)

=B2*C2/D2 is the whole LTV calculation: ARPU times gross margin, divided by monthly churn. With ARPU of $49, gross margin of 80% and churn of 3%, that's 49 × 0.8 ÷ 0.03 = $1,307.

Keep both column E and column G. Revenue LTV is handy for comparing plans, but margin-adjusted LTV is the one to use for spending decisions. Label them clearly so nobody picks the bigger number by mistake.

Handle zero churn and long lifetimes

A plan with no cancellations this month returns a #DIV/0! error, and a very low churn rate implies a lifetime of decades. Both break the model. Replace the formula in E2 with a capped version:

=B2*C2*MIN(IFERROR(1/D2,Inputs!$B$11),Inputs!$B$11)

This uses 1 ÷ churn as the lifetime, but never more than the cap in Inputs!B11. A cap of three to five years is a common rough rule of thumb. Pick one you can defend and keep it the same each month.

Add a total row

Under the plans, add a row labelled "All" that points at the Inputs tab: =Inputs!B8 for ARPU and =Inputs!B5 for churn, with the same E to I formulas. You now have LTV per plan and for the business as a whole on one screen.

Step 4: Build a Cohort LTV Tab

The formula above is a projection: it assumes today's churn continues. A cohort tab shows what customers actually paid, grouped by signup month. It's the best check on whether your projected LTV is realistic.

Payments tab

Paste your payments export into a Payments tab with customer ID in A, payment date in B and amount in C. Add two helpers:

D - Cohort:

=XLOOKUP(A2,Customers!A:A,Customers!I:I)

E - Months since signup:

=DATEDIF(XLOOKUP(A2,Customers!A:A,Customers!B:B),B2,"m")

XLOOKUP works in Google Sheets and recent versions of Excel. In older Excel, use INDEX(Customers!I:I,MATCH(A2,Customers!A:A,0)) instead.

Cohorts tab

Set the grid up like this:

  • Column A: cohort labels as text - 2026-01, 2026-02 and so on
  • Column B: cohort size, =COUNTIF(Customers!I:I,A2)
  • Row 1 from C1 onwards: months since signup - 0, 1, 2 ... 12

In C2, cumulative gross margin per customer up to that month:

=SUMIFS(Payments!$C:$C,Payments!$D:$D,$A2,Payments!$E:$E,"<="&C$1)/$B2*Inputs!$B$9

Copy across and down. The mixed references ($A2, C$1) let one formula fill the whole grid.

Months a cohort hasn't reached yet will just repeat the last value, which looks like a flat line. To blank them out, wrap the formula:

=IF(EDATE(DATEVALUE($A2&"-01"),C$1)>Inputs!$B$1,"", ... the formula above ... )

Read the cohort tab

Each row is a curve. Compare cohorts at the same age: month 6 against month 6, not a three-month-old cohort against a year-old one. Then compare the month-12 values with the projected LTV on your LTV tab. If real cohorts earn far less in their first year than the projection implies, your churn input is probably too optimistic or older than your current customer mix.

Annual plans show up as a big jump in month 0, because the whole year is paid upfront. That's fine for a cash view, but don't read it as faster value - the customer still has to renew in month 12.

Ecommerce and Marketplace Versions

If customers buy on their own schedule rather than a subscription, swap the inputs. On the LTV tab, use:

Column Header Example
B Average order value $65
C Orders per customer per year 3
D Customer lifespan (years) 4
E Gross margin 55%
F LTV =B2*C2*D2*E2

That gives $65 × 3 × 4 × 55% = $429. For a marketplace, add a take rate column and multiply it in, so LTV is based on the commission you keep, not the total transaction value.

Calculate orders per customer across all customers, including the many who buy once. Using only repeat buyers inflates the result.

Common Spreadsheet Mistakes

  • Annual prices in the MRR column. A $490/year plan entered as 490 makes that customer look ten times more valuable than they are. That's what the IF in column G is for.
  • Including tax, VAT or refunds. Use amounts net of refunds and excluding tax. Tax isn't your revenue.
  • Counting free users and trials. They drag ARPU down and make churn look wild.
  • Percentages typed as whole numbers. If B9 holds 80 instead of 80%, your LTV is 100 times too big. Format the cell as a percentage.
  • Whole-column criteria that match blanks. COUNTIF(C:C,"") counts every empty row in the sheet. Always pair a blank check with a condition on a column that's filled in, as the helper columns above do.
  • Cohort labels turning into dates. Type 2026-01 into a cell and Excel may convert it to a date, so it no longer matches the TEXT output. Format column A as text first, or start the entry with an apostrophe.
  • Hard-coded numbers inside formulas. =B2*0.8/D2 works until margin changes and you forget which cells to update. Point to the Inputs tab instead.
  • Forgetting the $. Copy a formula without absolute references and the Inputs cell it points at shifts with every row.

If keeping the sheet updated becomes a monthly chore, that's usually the point to stop. Chartsy shows MRR, ARR, churn, ARPU and revenue by marketing channel from your Stripe or Paddle data (and Polar.sh, Lemon Squeezy, Creem.io and Freemius), updated automatically, no spreadsheets. You can still keep the Excel model for scenario planning.

FAQ: Customer Lifetime Value in Excel

Is there a built-in LTV function in Excel?

No. Neither Excel nor Google Sheets has an LTV function. You build it from ordinary formulas: SUMIFS and COUNTIFS for ARPU and churn, then a simple division such as =B2*C2/D2 for ARPU times gross margin divided by churn.

Does the same LTV spreadsheet work in Google Sheets?

Yes. Every formula in this guide works in Google Sheets, including XLOOKUP, EOMONTH, EDATE and DATEDIF. The main difference is that Sheets is less likely to turn text like 2026-01 into a date, but formatting the cohort column as plain text is still a good habit.

How do I add a discount rate to LTV in Excel?

Add a monthly discount rate to the Inputs tab, for example 1% in B12. Then use =B2*C2*(1+Inputs!$B$12)/(Inputs!$B$12+D2) for LTV. It values future months a little less than today's. Most early-stage teams skip this, but it's useful when lifetimes are long.

How many months of data does the sheet need?

The plan-level formula works with a single month, but the churn rate will be noisy. Three months smooths it out for most small SaaS businesses. The cohort tab gets more useful the longer you run it, since each cohort needs time to show its curve.

Why does my spreadsheet LTV differ from my analytics tool?

Usually because of definitions. Check whether the tool uses revenue or margin-adjusted LTV, customer or revenue churn, and the same period. Also check how it treats annual plans, refunds, trials and paused subscriptions. Match those rules and the numbers should land close together.

Should each customer get their own LTV in the sheet?

You can calculate observed revenue per customer to date with a SUMIFS on the Payments tab, which is useful for spotting your most valuable accounts. Projected LTV works better at plan or cohort level, because one customer's future churn can't be predicted from a single row.

Conclusion

A good LTV spreadsheet has four tabs, one place for every assumption, and helper columns that do the counting for you. Start with the plan-level =B2*C2/D2 model, add the cohort tab once you have a few months of payments, and check one against the other each month. When you only need the number, the LTV calculator is quicker than building the sheet.

Chartsy Team

Written by

Chartsy Team

Analytics team at Chartsy

The Chartsy Team writes guides, product updates, and resources to help SaaS and eCommerce founders make sense of their metrics, without SQL or spreadsheets.

Chartsy
Ministry of Economy and Innovation
Startup Albania

The Chartsy program is realized with the financial support of the Albanian Government through the Ministry of Economy and Innovation, under the Grant 2026 scheme, and is implemented by the Innovation4Albania Agency.