Sign in

Blog · Territory, capacity and quota planning

Customer profiling and segmentation: counts and economics

Segmentation assigns customers to groups; profiling measures what those groups look like. Build a quantitative profile with customer counts, revenue, contribution, and product mix from your sales export.

The short answerCustomer profiling and segmentation turn recorded customer attributes and purchases into comparable groups. Segmentation assigns each customer to a group using an explicit rule. Profiling summarizes the group's customer count, revenue, contribution, and product mix. Use stable customer IDs and consistent periods, then reconcile every profile to the underlying sales and cost totals.

Customer profiling and segmentation start with a rule that assigns customers to groups, followed by a table describing each group's economics. Use customer counts, net revenue, contribution, and product mix from recorded sales and costs. Keep the membership list so every profile can be rebuilt.

A profile should help a business decide where to review service effort, commercial terms, or category coverage. It should not turn a small sales history into an invented persona. The useful deliverable is a reproducible summary with a clear denominator.

Define the group before describing it

Choose one decision and one observation period. For example, a US distributor wants to compare customers with an active service agreement against spot buyers during September 2026. Its primary segmentation rule is Contract for an agreement active on September 1, 2026, and Spot otherwise.

That rule comes from a verified account attribute. It is not inferred from the amount a customer spent. Keep the rule fixed during this comparison; review customers whose agreements change separately.

The broader method for B2B customer segmentation from ledger records covers choosing groups. Here the task is the quantitative profile produced after membership is settled. If the rule uses recorded purchasing actions instead, behavioral segmentation owns that definition.

Prepare the sales and cost rows

Use a stable customer ID, invoice ID, date, product category, net revenue, product cost, and separately recorded variable service cost. Bring the agreed segment attribute from the account list. Investigate any customer with missing or conflicting membership before publishing the profile.

Revenue should reflect returns and allowances consistently. The IRS describes net receipts as gross receipts less returns and allowances. Use finance's approved period and allocation policy for the management comparison; the profile is not a substitute for financial statements.

These illustrative September rows occupy A2:G8 on a Sales sheet. Each invoice has one product category. All amounts are USD. Variable service cost is incremental delivery and handling cost in this example, separate from product COGS.

Invoice ID Customer ID Segment Category Revenue (USD) COGS (USD) Variable service cost (USD)
I01 P01 Contract A 600 360 60
I02 P01 Contract B 400 240 40
I03 P02 Contract A 400 240 40
I04 P02 Contract B 100 60 10
I05 P03 Spot A 200 120 40
I06 P03 Spot B 600 360 120
I07 P04 Spot B 700 420 140
Total 3,000 1,800 450

Build one row per customer

On a Customers sheet, list P01:P04 once in A2:A5, with the verified segment in B. Use C for revenue, D for COGS, E for variable service cost, F for contribution, and G for category A revenue.

In Google Sheets, SUMIFS adds values matching the specified criteria. The formulas below use customer ID for the totals and customer ID plus category for the mix numerator. Covirage is not affiliated with Google.

C2 =SUMIFS(Sales!$E$2:$E$8,Sales!$B$2:$B$8,A2)
D2 =SUMIFS(Sales!$F$2:$F$8,Sales!$B$2:$B$8,A2)
E2 =SUMIFS(Sales!$G$2:$G$8,Sales!$B$2:$B$8,A2)
F2 =C2-D2-E2
G2 =SUMIFS(Sales!$E$2:$E$8,Sales!$B$2:$B$8,A2,Sales!$D$2:$D$8,"A")

Fill down. The resulting customer rows are:

Customer ID Segment Revenue (USD) COGS (USD) Variable service cost (USD) Contribution (USD) Category A revenue (USD)
P01 Contract 1,000 600 100 300 600
P02 Contract 500 300 50 150 400
P03 Spot 800 480 160 160 200
P04 Spot 700 420 140 140 0
Total 3,000 1,800 450 750 1,200

Contribution here is revenue minus the two stated cost categories. Fixed sales salaries, rent, and corporate costs remain outside it. Do not call the result net profit.

Produce the segment profile

Create a Profile sheet with Contract and Spot in A2:A3. Use B for customer count, C for revenue, D for contribution, E for contribution margin, F for category A revenue, G for category A mix, and H for revenue per customer.

COUNTIFS counts matching records, so count the customer rows, not the invoice rows:

B2 =COUNTIFS(Customers!$B$2:$B$5,A2)
C2 =SUMIFS(Customers!$C$2:$C$5,Customers!$B$2:$B$5,A2)
D2 =SUMIFS(Customers!$F$2:$F$5,Customers!$B$2:$B$5,A2)
E2 =IF(C2=0,"",D2/C2)
F2 =SUMIFS(Customers!$G$2:$G$5,Customers!$B$2:$B$5,A2)
G2 =IF(C2=0,"",F2/C2)
H2 =IF(B2=0,"",C2/B2)
Segment Customers Revenue (USD) Contribution (USD) Contribution margin Category A revenue (USD) Category A mix Revenue/customer (USD)
Contract 2 1,500 450 30.0% 1,000 66.7% 750
Spot 2 1,500 300 20.0% 200 13.3% 750
Total 4 3,000 750 25.0% 1,200 40.0% 750

Percentages are rounded to one decimal after calculation. Contract contribution margin is 450 / 1,500 = 30.0%; its category A mix is 1,000 / 1,500 = 66.7%. Both groups have $750 revenue per customer, but the cost and product profiles differ.

The reconciliation is explicit: 1,500 + 1,500 = $3,000 revenue; 450 + 300 = $750 contribution; and 1,000 + 200 = $1,200 category A revenue. Independently, 3,000 - 1,800 - 450 = $750 contribution. Total margin is 750 / 3,000 = 25.0%, calculated from totals.

Turn the profile into a review

The example supports reviewing variable service effort in the Spot group and checking category coverage. It does not prove that changing a contract would change purchasing, or that every spot buyer has unmet category A demand. Inspect the customer rows and ask the account owner before proposing an action.

Add recency and order frequency only when the decision needs them; RFM analysis covers that separate ranking. For shopper histories across locations and channels, use the retail customer segmentation workflow.

Where profiles go wrong

  • Counting invoices as customers. Customers with more invoices then dominate the apparent group size.
  • Using overlapping groups in a total. One primary membership per customer makes the profile additive; overlapping tags require separate presentations.
  • Calling missing costs zero. Keep uncosted sales visible and withhold contribution comparisons until coverage is understood.
  • Changing periods or cost definitions. The same segment name does not make unequal observation windows comparable.
  • Inferring motives from purchases. Product mix describes recorded revenue, not personality or future demand.

Build your own customer profile in Covirage

Bring a sample of your own customer list, sales export, and matched cost records with stable IDs and explicit segment attributes. Covirage maps the columns, its tools compute and check the group economics, and the external AI model explains the results with every figure traced to its rows. Create a free Covirage account and bring your own file.

See sales insights for the supporting commercial context.

Questions people ask

What is the difference between a customer profile and a segment?

A segment is the membership list produced by a rule. A profile is the summary describing that list, such as its customer count, revenue, and contribution margin. Keep the membership rule alongside the profile so another person can reproduce the same result.

Do customer profiles need demographic or psychographic data?

No. A business can build useful quantitative profiles from its own customer attributes, invoices, product categories, and costs. Describe only what those records establish. Purchase history does not establish a customer's personality, motivation, or willingness to buy a product they have never purchased.

Should customers belong to more than one segment?

They can belong to overlapping descriptive groups, but the totals then need clear labels. For a profile that reconciles to company revenue, give each customer one primary segment. Use additional attributes as filters and avoid adding overlapping group totals together.