Customer profitability
“profit by customer: revenue minus cost of goods and discounts from the invoice lines, ranked, with margin percent”
Profit by customer: revenue minus cost of goods and discounts from QuickBooks invoice line detail, ranked, with margin percent, using net revenue after discounts and product costs from QuickBooks products and services, with customer names from QuickBooks customers.
What the agent built
6 steps, each one an ordinary Mammoth step you can open and change.
- FileQuickBooks invoice line detailCSV export · 34 rows
- FileQuickBooks products and servicesCSV export · 8 rows
- FileQuickBooks customersCSV export · 8 rows
- StepNormalize line namesStep 1
- StepNormalize product namesStep 2
- StepNormalize customer namesStep 3
- JoinBring in product costs24 of 34 paired
- JoinBring in customer names34 of 34 paired
- StepRank customer profitStep 6
- ResultCustomer Profit Ranking8 rows
- ScheduleRuns when you sayProposed
On the sample files, every step runs and the result has 8 rows.
- Download QuickBooks invoice line detail sample (34 rows)QuickBooks: Sales > Invoices > Export transaction list with line detail
- Download QuickBooks products and services sample (8 rows)QuickBooks: Sales > Products and Services > Export list
- Download QuickBooks customers sample (8 rows)QuickBooks: Sales > Customers > Export list
What you get back
The result of that run, the rows to look at first.
| Customer | Rank | Profit | Margin % | Net revenue | Cost of goods |
|---|---|---|---|---|---|
| Bayside Bike Co | 1 | 657.20 | 61.2 | 1,074 | 416.80 |
| Elm Street Fitness | 2 | 565.75 | 67.4 | 839 | 273.25 |
| Cinder Coffee Lab | 3 | 561.50 | 62.4 | 900 | 338.50 |
| Alder & Arc | 4 | 502.40 | 81 | 620 | 117.60 |
| Orbit Outfitters | 5 | 402 | 71.3 | 564 | 162 |
| Driftwood Design | 6 | 385 | 100 | 385 | 0 |
| Foxglove Home | 7 | 318 | 52 | 612 | 294 |
| Northstar Retail | 8 | 134 | 35.1 | 382 | 248 |
How it works
How to use the Customer Profit Ranking workflow
- 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and working on sample files.
- 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
- 3Change it in words, then turn it onSay what to change and see the new result before anything saves. Then choose when it runs.
Customer Profit Ranking: questions
How do you do customer profitability analysis?
Which QuickBooks export should you use?
What happens to rows that do not match?
How do you change the rules?
Get early access to this workflow
It opens already built and working on sample files. Swap in your own exports to see your result.
Workflows like this
Schedules, commissions, costing and margins, worked out the same way from every new export.
- Pivot table from raw dataTurn a raw sales export into a pivot table of revenue by region and month.See the workflow Built by the agent
- Real estate commission splitWork out real estate commission on each closed sale and split it between the listing agent, buying agent and brokerage.See the workflow Built by the agent
- Loan amortization from statementsBuild a monthly loan amortization schedule from an Excel export, with interest, principal, and remaining balance for each loan.See the workflow Built by the agent
- Accrued expenses scheduleBuild an accrued expenses schedule from QuickBooks exports. Match purchase orders to vendor bills, calculate unbilled amounts, and flag items that need accrual.See the workflow Built by the agent
- RFM segmentsEvery customer scored 1-5 on recency, frequency and spend, with a segmentSee the workflow Template
- Sales velocityEach rep's open deals, win rate, deal size, sales cycle and velocity, and the team'sSee the workflow Template