Why Your Excel File Gets Large and What You Can Do About It
Excel files grow large for specific reasons: images embedded in the spreadsheet, formatting applied to thousands of empty cells, unused columns and rows saved in the file, or formulas that recalculate across huge ranges every time you open it. The good news is that most of these problems are fixable without losing your actual data, and the fixes take minutes.
The fastest way to shrink a file is usually to delete the things you do not need — images, blank rows, unused sheets — rather than trying to compress the file itself. After you clean it up, you can then compress it if you want to make it even smaller for email or cloud storage.
Key Takeaways
- Embedded images are usually the biggest culprit; removing or replacing them with links often cuts file size in half.
- Deleting unused columns, rows, and sheets removes formatting data that Excel stores even when cells are empty.
- Saving your file as .xlsx (the default format) instead of .xls or .xlsm can reduce size by 20 to 40 percent.
- After cleaning up, you can compress the file further by zipping it, which typically reduces size by another 30 to 50 percent.
- Clearing the undo history before saving removes cached versions Excel keeps in memory, which adds to file size.
Remove Images and Replace Them With Links
Images embedded directly in an Excel file are almost always the largest single component. A single photograph can add 500 KB to 2 MB to your file. If your spreadsheet contains multiple images, this is where you will find the most dramatic size reduction.
To see what images are in your file, click the Find & Select button on the Home tab (in the Editing group), then choose Go To Special. Select Objects and click OK. Every image in the sheet will be highlighted. You can then delete them one by one by pressing Delete, or select all of them at once and remove them together.
If you need those images for reference, do not delete them from your computer — instead, store them in a separate folder and link to them from your spreadsheet. This keeps your Excel file small while preserving access to the images. To insert a link instead of embedding an image, go to Insert > Pictures, and before you click Insert, look for a dropdown arrow next to the button that says Link to File.
Delete Unused Columns, Rows, and Sheets
Excel stores formatting information for every cell in a used range, even if the cell is empty. If your data ends at column F but you have formatting applied all the way to column Z, Excel is carrying that extra information in the file. The same is true for rows: if you have data in rows 1 through 100 but formatting extends to row 500, the file size reflects all 500 rows.
To find the actual end of your data, press Ctrl+End (or Cmd+End on Mac). This takes you to the last cell that Excel considers part of your used range. If there is a lot of empty space beyond your actual data, select from that point to the end of the sheet, right-click, and choose Delete. Then select the entire row or column header and delete it.
Check for sheets you no longer use. Right-click any sheet tab at the bottom of the window and choose Delete Sheet. Each unused sheet adds to the file size, even if it contains no data. After you delete columns, rows, and sheets, save the file. The size reduction should be noticeable if you had a lot of unused space.
Clear the Undo History Before Saving
Excel stores your undo history — every change you made in the current session — inside the file itself. This can add 1 to 5 MB depending on how much editing you have done. Once you are satisfied with your spreadsheet and ready to save it as final, you can clear this history to reduce file size.
To clear the undo history, go to File > Options (or Preferences on Mac). In the left sidebar, click Advanced. Scroll down to the Editing options section and uncheck the box that says Keep the last 100 actions on the undo list (or however many actions are shown). Then click OK. Now save the file. The undo history will be cleared and the file will be smaller.
Note that this action is permanent for that save — you will not be able to undo changes made before you cleared the history. Only do this when you are certain the spreadsheet is complete.
Save in the Right Format
The file format you choose makes a real difference in size. .xlsx (Excel Open XML format) is the modern default and is significantly smaller than the older .xls format. If your file is currently .xls, converting it to .xlsx can reduce size by 20 to 40 percent with no loss of data or functionality.
To convert your file, open it and go to File > Save As. In the File Format dropdown, select Excel Workbook (.xlsx). Click Save. If the file contains macros (automated scripts), Excel will warn you that macros cannot be saved in .xlsx format and will ask if you want to save as .xlsm instead. Choose .xlsm if you need the macros; otherwise, .xlsx is the smallest option.
Avoid saving as .xlsm (macro-enabled) unless you actually use macros. The macro framework adds file size even if no macros are present.
Compress Formulas and Remove Unnecessary Calculations
Large formulas that reference thousands of rows or entire columns can slow down the file and increase its size. If you have a formula like =SUM(A:A) that sums an entire column, change it to =SUM(A1:A1000) or whatever the actual data range is. This tells Excel exactly what to calculate instead of making it scan the whole column.
Similarly, if you have conditional formatting or data validation applied to huge ranges, limit it to only the cells that actually contain data. Select the range with the formatting, go to Home > Conditional Formatting (or Data > Validation), and delete or modify the rule to apply only to your actual data range.
After making these changes, save the file. You may not see a dramatic size reduction, but the file will open and recalculate faster, and every bit helps when you are trying to keep file size down.
Zip the File for Sharing and Storage
After you have cleaned up and optimized your Excel file, you can compress it further by creating a zip archive. This is especially useful if you need to email the file or upload it to a service with size limits. Zipping typically reduces file size by another 30 to 50 percent, depending on the content.
On Windows, right-click the Excel file, hover over Send to, and click Compressed (zipped) folder. Windows will create a .zip file in the same location. On Mac, right-click the file and select Compress. The zipped file will be much smaller and can be unzipped by the recipient with a simple double-click.
Keep in mind that zipping does not change the original file — it just creates a compressed copy. The original Excel file remains the same size. If you want to permanently reduce the file size, you need to do the cleanup steps above. Zipping is best used as a final step before sending or archiving.
Frequently Asked Questions
Will removing images or deleting columns damage my spreadsheet?
No, as long as you delete only truly unused content. If you delete a column or row that contains data you need, you can undo it immediately by pressing Ctrl+Z. Before you delete anything, make sure you are not removing data you will need later. Images can always be re-added or linked later if you change your mind.
What is the difference between saving as .xlsx and .xls?
.xlsx is the modern format and is smaller, faster, and more compatible with other programs. .xls is the older format and should only be used if someone specifically requires it. Most people and organizations now use .xlsx by default, so there is no downside to converting.
Can I undo changes after I clear the undo history?
No. Once you clear the undo history and save the file, you cannot undo changes made before that point. Only clear the undo history when you are completely finished editing and satisfied with the spreadsheet. If you think you might need to undo something later, skip this step.
Does zipping a file make it permanently smaller?
No. Zipping creates a compressed copy of the file, but the original remains the same size. When someone unzips it, they get the full-size file back. To permanently reduce file size, you must delete unused content, remove images, or change the file format. Zipping is useful only for temporary storage or sharing.
Why is my Excel file still large after I deleted everything?
The most common reason is that formatting or formulas are still applied to a large range of cells. Press Ctrl+End to find the actual end of your used range, then delete everything beyond that point. Also check for hidden rows or columns (right-click row or column headers and look for an unhide option) and for unused sheets that might contain old data.