Running totals
“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”
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.
- FileSales transactionsCSV export · 16 rows
- StepCompare month to date salesStep 1
- ResultDaily sales comparison14 rows · 14 flagged
- ScheduleRuns when you sayProposed
Checked on the sample files: every step ran, 14 rows came out.
- Download Sales transactions sample (16 rows)Spreadsheet: File > Download > CSV
What you get back
The result of that run, the rows to look at first.
| Date | Daily sales | Monthly running total | Status |
|---|---|---|---|
| 2026-10-01 | 420 | 420 | Last month to date |
| 2026-10-03 | 315 | 735 | Last month to date |
| 2026-10-05 | 780 | 1,515 | Last month to date |
| 2026-10-07 | 260 | 1,775 | Last month to date |
| 2026-10-09 | 540 | 2,315 | Last month to date |
| 2026-10-11 | 610 | 2,925 | Last month to date |
| 2026-11-01 | 500 | 500 | This month to date |
| 2026-11-02 | 275 | 775 | This month to date |
| 2026-11-03 | 640 | 1,415 | This month to date |
| 2026-11-04 | 390 | 1,805 | This month to date |
| 2026-11-06 | 725 | 2,530 | This month to date |
| 2026-11-08 | 310 | 2,840 | This month to date |
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
- 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.
- 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.
Daily sales comparison: questions
What export should you use?
What happens to rows that do not match the rules?
How do you change the rules in words?
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.
Workflows like this
Remove duplicate rows, catch invoices paid twice, match messy names to a master list, standardise spellings and turn wide tables long.
- 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
- Remove duplicatesOne row of each, with a Copies column saying how many there wereSee the workflow Template
- Match names to a master listEach record with its master name (and ID), and how it matchedSee the workflow Template
- Compare two listsCompare two exported spreadsheet lists by email, see matches, and label rows where name and email agree or differ.See the workflow Built by the agent
- Duplicate invoice checkPairs of bills that look paid twice: same supplier, same amount, close dates or the same numberSee the workflow Template
- Standardise namesA Standard name for every row, so spellings of the same name group togetherSee the workflow Template