Remove blank rows
“delete the rows that are completely empty or only have spaces in them, and keep every other row and column exactly as it is”
Delete the rows that are completely empty or only have spaces in them from Invoice export, and keep every other row and column exactly as it is.
What the agent built
1 step, each one an ordinary Mammoth step you can open and change.
- FileInvoice exportCSV export · 25 rows
- StepRemove empty rowsStep 1
- ResultRemove Empty Rows25 rows · 12 flagged
- ScheduleRuns when you sayProposed
Checked on the sample files: every step ran, 25 rows came out.
- Download Invoice export sample (32 rows)Excel: File > Open the workbook containing invoices > select the sheet > File > Save As CSV
What you get back
The result of that run, the rows to look at first.
| Invoice Number | Invoice Date | Customer | Due Date | Status | Amount | Notes |
|---|---|---|---|---|---|---|
| INV-10422 | 2026-10-03 | Bluebird Studio | 2026-10-17 | Open | 620 | Monthly design retainer |
| INV-10424 | 2026-10-05 | Metroline Fitness | 2026-10-19 | Open | 310 | Supplemental billing |
| INV-10427 | 2026-10-09 | Cedar & Co. | 2026-10-23 | Open | 975 | · |
| INV-10429 | 2026-10-11 | Atlas Manufacturing | 2026-10-25 | Open | 7,420 | Equipment service |
| INV-10431 | 2026-10-14 | Juniper Hotels | 2026-10-28 | Open | 5,150 | Event support |
| INV-10433 | 2026-10-17 | Apex Logistics | 2026-10-31 | Open | 1,675 | Fuel surcharge |
| INV-10435 | 2026-10-19 | Stonebridge Cafe | 2026-11-02 | Open | 285 | Small order |
| INV-10437 | 2026-10-22 | Silver Pine Media | 2026-11-05 | Open | 1,340 | Ad production |
| INV-10439 | 2026-10-24 | Willow Creek Law | 2026-11-07 | Open | 1,990 | Retainer balance |
| INV-10441 | 2026-10-26 | Sunset Foods | 2026-11-09 | Open | 760 | Delivery fee |
| INV-10443 | 2026-10-29 | Harbor Freight Works | 2026-11-12 | Open | 6,825 | Parts and labor |
| INV-10444 | 2026-10-30 | Northwind Events | 2026-11-13 | Open | 1,475 | November planning |
How do you remove blank rows in Excel?
Export the sheet from Excel, then run a step that removes rows that are completely empty or only contain spaces. The other rows and columns stay in place, and rows that do not match the rule are left unchanged.
How it works
How to use the Remove Empty Rows 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.
Remove Empty Rows: questions
What export should I use?
What happens to rows that do not match the rule?
How do I change the rule 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