Skip to content
Workflow · Finance close · Opening soon

Expense allocation by department

Allocate shared expenses like rent and software by department. Use month-end headcount from QuickBooks employee and expense exports.

Early access opens shortly. Check back soon.

Someone typed

“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”

The agent read it as

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.

  1. File
    QuickBooks expenses and bills
    CSV export · 20 rows
  2. File
    QuickBooks employee list
    CSV export · 18 rows
  3. Step
    Add month-end join key
    Step 2
  4. Step
    Add headcount join key
    Step 1
  5. Join
    Bring in employee dates
    20 of 20 paired
  6. Step
    Allocate unassigned rent and software
    Step 4
  7. Step
    Total by department and month
    Step 5
  8. Result
    Monthly Department Allocations
    21 rows
  9. Schedule
    Runs when you say
    Proposed

Checked on the sample files: every step ran, 21 rows came out, and the join paired 20 of 20 rows.

What you get back

The result of that run, the rows to look at first.

Monthly Department AllocationsSample data21 rows
DepartmentMonthTotal expenses and bills
Customer Success2026-09-301,828.67
Customer Success2026-10-311,584.12
Customer Success2026-11-303,157.64
Engineering2026-09-301,828.67
Engineering2026-10-312,376.17
Engineering2026-11-307,230.28
Finance2026-09-302,743
Finance2026-10-313,168.23
Finance2026-11-304,736.46
Marketing2026-09-301,828.67
Marketing2026-10-311,584.12
Marketing2026-11-303,157.64
21 rows in the result · 12 shown, problems first. Sample data: illustrative figures, not business results.

How do you allocate expense by department?

Export your QuickBooks employee list, expenses, and bills, then load them into the workflow. It matches month-end headcount, keeps coded engineering software as is, and allocates unassigned rent and software across departments. Then it totals expenses by department and month.

How it works

How to use the Monthly Department Allocations workflow

  1. 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and checked on the sample files.
  2. 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
  3. 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

What export should I use?
Use the exported QuickBooks employee list for headcount, plus the exported expenses and bills for the expense lines you want to allocate.
What happens to rows that do not match?
Rows that do not match the join rules stay out of the allocation step. You can review them and decide whether to map them in a later rule or leave them unassigned.
How do I change the allocation rules?
Change the rules in words, then rerun the workflow. For example, you can change which accounts are allocated, which departments are kept as coded, or how headcount is used for the split.

Get early access to this workflow

It will open already built and checked on the sample files. Swap in your own exports and see your result.

Early access opens shortly. Check back soon.

Workflows like this

Consolidate entities, compare budget to actual, build a trial balance, review month-on-month moves and work out commission.

All finance close templates →