Workflow · Clean and combine · Opening soon
Remove blank rows
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.
Someone typed
“delete the rows that are completely empty or only have spaces in them, and keep every other row and column exactly as it is”
The agent read it as
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.
File
Invoice export
CSV export · 25 rows
Step
Remove empty rows
Step 1
Result
Remove Empty Rows
25 rows · 12 flagged
Schedule
Runs when you say
Proposed
- FileInvoice exportCSV export · 25 rows
- StepRemove empty rowsStep 1
- ResultRemove Empty Rows25 rows · 12 flagged
- ScheduleRuns when you sayProposed
On the sample files, every step runs and the result has 25 rows.
- 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.
Remove Empty RowsSample data25 rows
13 paid12 open
| 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 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 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.
Remove Empty Rows: questions
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.
What export should I use?
Use the Excel file export for the sheet you want to clean. If you need to work on a specific tab or range, export that data in the file you get from Excel.
What happens to rows that do not match the rule?
Rows that are not completely empty, or that contain any other values, are kept. Only rows that are blank or contain spaces are removed.
How do I change the rule in words?
Change the wording to match the rows you want removed. For example, say to remove rows where every cell is empty, or to keep rows with any text or number in them.
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
Remove duplicates, tidy names and addresses, fill the blanks, and merge files into one.
- 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
- Merge Excel or CSV filesOne tidy table with every file's rows, re-sent rows dropped, and a Period columnSee the workflow Template
- 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
- Multi-entity consolidationEvery entity's balances in one currency, by accountSee 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