How to Calculate Customer Acquisition Cost (CAC)
by Month in Excel

Learn how to track Customer Acquisition Cost (CAC) month by month so you can spot rising costs before they quietly destroy profit. In this lesson, you’ll organize lead and cost data into a clean monthly view, set a CAC target, and build a simple chart that makes trends and efficiency changes easy to see at a glance.

Download the Excel file used in this tutorial:

Customer Acquisition Cost (CAC) by Month in Excel

1. Add Month and Year Columns to the Leads Table

  • In the Leads dataset, create a Month column using the TEXT() function on the lead timestamp/date.
    • Use the month format code for the full month name.
  • Create a Year column using the same TEXT() function on the same date field.
    • Use the year format code for a 4-digit year.
  • If those helper columns already exist, keep them and move on.

2. Add Month and Year Columns to the Monthly Cost Table

  • In the costs dataset (monthly marketing and software costs), create Month and Year the same way as the Leads tab.
  • This ensures both tables can be filtered consistently by month and year.

3. Create a Unique Month-Year List for the Summary Table

  • Build a summary area that will roll everything up by month.
  • Use UNIQUE() on the Month-Year fields to generate a list of unique month-year combinations.
  • Copy and paste values (Paste Values) so the list becomes static for reporting.
  • Add a Date column for charting by combining the month and year into a real date value (so Excel charts it correctly on the x-axis).

4. Set Up Summary Columns

Create columns in your summary table for:

  • Lead Cost
  • Marketing Cost
  • Software Cost
  • New Customers
  • Customer Acquisition Cost (CAC)
  • Target (optional)

5. Calculate Monthly Lead Cost with SUMIFS

  • Use SUMIFS() to sum Lead Cost from the Leads table for the selected month and year.
  • Criteria should match:
    • Month in the Leads table equals the summary Month cell
    • Year in the Leads table equals the summary Year cell
  • Fill the formula down for all months.
  • Format as currency.

6. Calculate Monthly Marketing Cost with SUMIFS

  • Use SUMIFS() on the Cost table to sum Marketing Cost for the same month and year.
  • Fill down.
  • Format as currency.

7. Calculate Monthly Software Cost with SUMIFS

  • Use SUMIFS() on the Cost table to sum Software Tools for the same month and year.
  • Fill down.
  • Format as currency.

8. Count New Customers with COUNTIFS

  • Add a New Customers column in the summary.
  • Use COUNTIFS() on the Leads table to count rows where:
    • Customer type (or new customer flag) indicates New
    • Month matches the summary month
    • Year matches the summary year
  • Fill down.

9. Fix the Customer Count to Include Only Closed Sales

  • If your first result is too high, it is likely counting new leads, not new customers.
  • Update the COUNTIFS() criteria to include an additional condition:
    • Deal status is Closed (or Sale = Yes, depending on your column)
  • Fill down again to correct the monthly customer counts.

10. Calculate Customer Acquisition Cost (CAC)

  • In the CAC column, calculate:
    • (Lead Cost + Marketing Cost + Software Cost) ÷ New Customers
  • Fill down for all months.
  • Format as currency and remove decimals if you want a cleaner dashboard look.

11. Add a Target Line

  • Enter a target value (example used: 300).
  • Reference the target cell down the column so changing it once updates all rows.

12. Build the Combo Chart

  • Select the Date column, then also select:
    • New Customers
    • CAC
  • Insert a chart using Insert → Recommended Charts, then switch to Combo if needed.

13. Assign the Axes Correctly

  • Convert CAC to a Line series (dollar values).
  • Put New Customers on the Secondary Axis (right side), because it is a different scale than dollars.
  • This prevents the customer bars/values from looking tiny compared to CAC.

14. Clean Up the Chart Formatting

  • Rename the chart title to something like CAC by Month.
  • Make the target line visually lighter and easier to read (thin line, dotted style).
  • Add data labels only to the CAC line to avoid clutter.
  • If labels are hard to see, apply a fill color to the label background for better contrast.

Tracking Customer Acquisition Cost (CAC) by Month

Q1. What is Customer Acquisition Cost (CAC)?
Customer Acquisition Cost (CAC) is how much it costs to acquire a new customer. It helps sales teams understand whether growth is profitable, or whether acquisition costs are creeping up and eating margins.

Q2. Why should sales teams track CAC monthly?
CAC can change fast due to seasonality, channel performance, or cost increases. Tracking it monthly helps you catch inefficiencies early, compare performance over time, and prevent small increases from compounding into major profit loss.

Q3. What data do I need to calculate CAC accurately?
You’ll need (1) new customers won in a time period and (2) the costs tied to acquiring them, like lead costs, marketing spend, software tools, and other operating costs your business attributes to acquisition.

Q4. What’s the difference between CAC and cost per lead (CPL)?
CPL tells you what you pay to generate a lead. CAC tells you what you pay to acquire an actual new customer. If your close rate drops, CAC can rise even if CPL stays the same.

Q5. How should I visualize CAC so it’s easy to understand?
A monthly chart works best. In this lesson, you’ll build a chart that shows new customers alongside CAC, so you can quickly see how customer volume and acquisition efficiency move together.

Q6. Where can I download the file used in the lesson?
You can download the Excel file from the link in the video description. It includes the full dataset and template so you can follow along and reuse it for your own CAC tracking.

Get more lessons like this
by joining our newsletter

Receive weekly Excel tutorials, tips, and KPIs straight to your inbox

Databoards

Analysis & Development