Skip to content
Workflow · Clean · Opening soon

Running totals

Use a spreadsheet export to calculate sales by day within each month. You can also compare month to date sales with last month to date.

Early access opens shortly. Check back soon.

Someone typed

“show daily and monthly sales from the sales transactions, with a running monthly total and status This month to date or Last month to date for the month to date comparison”

The agent read it as

Show daily and monthly sales from the Sales transactions, with a running monthly total and status This month to date or Last month to date for the month to date comparison.

What the agent built

1 step, each one an ordinary Mammoth step you can open and change.

  1. File
    Sales transactions
    CSV export · 16 rows
  2. Step
    Compare month to date sales
    Step 1
  3. Result
    Daily sales comparison
    14 rows · 14 flagged
  4. Schedule
    Runs when you say
    Proposed

Checked on the sample files: every step ran, 14 rows came out.

What you get back

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

Daily sales comparisonSample data14 rows
8 this month to date6 last month to date
DateDaily salesMonthly running totalStatus
2026-10-01420420Last month to date
2026-10-03315735Last month to date
2026-10-057801,515Last month to date
2026-10-072601,775Last month to date
2026-10-095402,315Last month to date
2026-10-116102,925Last month to date
2026-11-01500500This month to date
2026-11-02275775This month to date
2026-11-036401,415This month to date
2026-11-043901,805This month to date
2026-11-067252,530This month to date
2026-11-083102,840This month to date
14 rows in the result · 12 shown, problems first. Sample data: illustrative figures, not business results.

How do you calculate a running total of sales by day within each month?

Upload your sales transactions export, then group the rows by month and day. Mammoth adds a running monthly total for each day, and it can label each row as This month to date or Last month to date for the comparison.

How it works

How to use the Daily sales comparison 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.

Daily sales comparison: questions

What export should you use?
Use a spreadsheet export that includes the sale date and the sales amount for each transaction. A CSV or Excel file is usually enough if it has those fields.
What happens to rows that do not match the rules?
Rows that do not match stay out of the result for that step. You can review them in the source data and adjust the rules if you want them included.
How do you change the rules in words?
Edit the step by changing the written rule, for example, group by month, sort by day, and add a running total within each month. You can also change the month to date comparison rule to use a different date range or label.

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.