Expense allocation by department
“allocate the unassigned rent and software each month by month-end headcount, keep the engineering software as coded, and show monthly department totals from the quickbooks expenses and bills”
Allocate the unassigned rent and software each month by month-end headcount from the QuickBooks employee list, keep the engineering software as coded, and show monthly department totals from the QuickBooks expenses and bills.
What the agent built
5 steps, each one an ordinary Mammoth step you can open and change.
- FileQuickBooks expenses and billsCSV export · 20 rows
- FileQuickBooks employee listCSV export · 18 rows
- StepAdd month-end join keyStep 2
- StepAdd headcount join keyStep 1
- JoinBring in employee dates20 of 20 paired
- StepAllocate unassigned rent and softwareStep 4
- StepTotal by department and monthStep 5
- ResultMonthly Department Allocations21 rows
- ScheduleRuns when you sayProposed
On the sample files, every step runs and the result has 21 rows.
- Download QuickBooks expenses and bills sample (20 rows)QuickBooks Online: Expenses > Expenses and bills > Export
- Download QuickBooks employee list sample (18 rows)QuickBooks Online Payroll: Workers > Employees > Export
What you get back
The result of that run, the rows to look at first.
| Department | Month | Total expenses and bills |
|---|---|---|
| Customer Success | 2026-09-30 | 1,828.67 |
| Customer Success | 2026-10-31 | 1,584.12 |
| Customer Success | 2026-11-30 | 3,157.64 |
| Engineering | 2026-09-30 | 1,828.67 |
| Engineering | 2026-10-31 | 2,376.17 |
| Engineering | 2026-11-30 | 7,230.28 |
| Finance | 2026-09-30 | 2,743 |
| Finance | 2026-10-31 | 3,168.23 |
| Finance | 2026-11-30 | 4,736.46 |
| Marketing | 2026-09-30 | 1,828.67 |
| Marketing | 2026-10-31 | 1,584.12 |
| Marketing | 2026-11-30 | 3,157.64 |
How it works
How to use the Monthly Department Allocations 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.
Monthly Department Allocations: questions
How do you allocate expense by department?
What export should I use?
What happens to rows that do not match?
How do I change the allocation 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
The number you report every month, rebuilt from the latest export, plus the forecast that follows from it.
- Customer lifetime value by cohortWork out customer lifetime value by signup month cohort from Shopify customers and orders exports, with revenue per customer and average order count.See the workflow Built by the agent
- Profit and loss by monthBuild a monthly profit and loss statement from a QuickBooks general ledger export, with revenue, COGS, gross profit, expenses, and net income.See the workflow Built by the agent
- Pareto (ABC) analysisEvery item ranked by its total, with its share, the running share and an A, B or C classSee the workflow Template
- Inventory turnover by SKURank Shopify SKUs by inventory turnover ratio using product, order, and inventory exports from the last 12 months.See the workflow Built by the agent
- Cohort retentionEach month's new customers, and the share still buying 1, 2, 3… months laterSee the workflow Template
- Customer segmentation by revenueSegment Stripe customers into revenue tiers from exported customer, charge, and threshold files, then count customers and revenue in each tier.See the workflow Built by the agent