How do you remove blank rows from many Excel files at once on a Mac?
By Kayabyte · Last updated 11 November 2026
In Excel for Mac you can select a column, use Go To Special, Blanks, and delete the sheet rows, one sheet at a time. The catch is that this removes every row where that one column is blank, even if other columns have data. For a folder of workbooks, Gridhand’s Clean tool has an “Empty rows and columns” step that removes empty rows and columns in every file, with a preview first. It takes .xlsx and .xlsm files only.
The manual way in Excel for Mac
- Select the range or columns that hold your data.
- Use Edit, Go To, Special, Blanks. Excel selects every blank cell in the range.
- On the Home tab choose Delete, then Delete Sheet Rows. Microsoft’s page on inserting and deleting rows and columns describes Home, Delete, Delete Sheet Rows, and says the rows below shift up (checked 11 November 2026).
The risk is in step 2. If one column has a blank where the others have values, that whole row is deleted. To delete only rows that are blank all the way across, add a helper column with =COUNTA(A2:Z2)=0 (adjust the range), filter for TRUE and delete those rows, or filter on a column that is always filled. Menu paths can differ between Excel versions on a Mac, so check them in your own Excel.
Do this for every sheet in every file and it is easy to miss one or to hit a row that mattered.
What Gridhand can do here
Gridhand is a Mac app we make for batch jobs on Excel files. Its Clean tool has an “Empty rows and columns” step: empty rows and columns are removed, and formulas, charts and named ranges that pointed past them are adjusted. The step works on a whole folder of workbooks in one run.
Things to know:
- The preview shows examples and counts before anything is written.
- Formulas that look cells up by position, such as INDIRECT or INDEX on a whole column, are not changed, so check those in the result.
- In a workbook with pivot tables, Clean removes no rows or columns, because a removed row would leave the pivot pointing at the wrong cells. The run report says so.
- Each file stays the same type, macros included. Results go into a new output folder and your originals are never modified.
- Only .xlsx and .xlsm files are read. Save .xls or .numbers files as .xlsx first, and unlock password-protected workbooks in Excel.
- Blank lines in a CSV are a different job: convert the CSV to XLSX with Gridhand’s Convert tool, then run Clean on the result.
- Clean removes empty rows and columns; it does not delete rows that are only partly blank. Use it on sheets where a row you want to drop has nothing in it.
Steps with Gridhand
- Drop the workbooks, or a folder, onto the Gridhand window.
- Choose Clean and tick “Empty rows and columns”. Leave the other steps off if you only want this one.
- Read the preview and the counts.
- Choose an output folder and press Run (Cmd-R).
- Read the report, especially the notes marked “Check these”, and open one result next to the original.
Your first 2 runs are free, each on up to 2 input files; previews are always free. Gridhand Pro is USD 49 once, for 2 Macs, with one year of updates and a 30-day refund. Download Gridhand · Pricing
Questions
Will it delete a row that has data in only one column? The step removes empty rows and columns. It is not a “delete where this column is blank” filter, which is the risky manual method above.
Will my formulas break? Formulas, charts and named ranges that pointed past removed rows or columns are adjusted. Position-based lookups such as INDIRECT are not, so check them.
Does it change the originals? No. Cleaned copies are written to the folder you choose.
What about a workbook with a pivot table? Clean removes no rows or columns there, and the report tells you.
Related guides
- Clean data in many Excel files at once on a Mac
- Unmerge cells in many Excel files on a Mac
- Remove duplicates across multiple Excel files
Microsoft and Excel are trademarks of the Microsoft group of companies. Gridhand is made by Kayabyte and is not affiliated with or endorsed by Microsoft.
More guides
- Is there an ASAP Utilities for Mac, and what can you use instead?
- How do you batch convert CSV files to XLSX on a Mac?
- How do you combine multiple CSV files into one Excel workbook on a Mac?
- How do you combine multiple Excel files into one sheet on a Mac?
- How do you compare two Excel files on a Mac?
- How do you convert XLSX to CSV on a Mac, for every sheet and many files?
- Why are the dates in my CSV the wrong way round, or stuck as text, in Excel on a Mac?
- Why does a CSV show garbled characters or sit in one column in Excel on a Mac?
- A CSV with more rows than Excel can hold: how to split it into several files on a Mac
- How do you find and replace in multiple Excel files on a Mac?
- How do you change a reference or a value inside formulas across many Excel files on a Mac?
- Gridhand on the Mac App Store or direct from kayabyte.dev: which should you use?
- Gridhand vs Kiolix Xel and SysTools Excel Split & Merge on a Mac
- Gridhand vs XLclick vs XLWizard: which Excel tool for Mac?
- How do you keep leading zeros when you open a CSV in Excel on a Mac?
- Is there a Kutools for Mac, and what are the alternatives for Mac?
- How do you merge CSV files on a Mac?
- How do you merge Excel files on a Mac?
- Numbers stored as text in many Excel files: why SUM shows 0, and how to fix every file on a Mac
- Can you use Power Query on a Mac to merge Excel files?
- How do you split Excel data into one file per customer, region or month on a Mac?
- How do you split an Excel workbook into one file per sheet, or every N rows, on a Mac?
- How do you do a VLOOKUP between two Excel files on a Mac?