Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Compress Excel Files (Reduce Size)

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Large Excel workbooks can slow down your computer, cause crashes, and make files impossible to email. Compressing an Excel file reduces its size by removing hidden data, compressing images, and eliminating unnecessary formatting. This guide shows you several practical methods to shrink your Excel files, from built-in features to external tools, and helps you avoid common mistakes.

What You'll Need

  • Microsoft Excel (2016 or later for most features; older versions may lack some options)
  • Access to the file you want to compress
  • Optional: A file archiver like 7-Zip or WinRAR for further compression
  • Optional: An image editor if you need to resize images before inserting

Step-by-Step

Method 1: Remove Unused Cells and Formatting

  1. Open your Excel file. Make a backup copy first, just in case.
  2. Find the last used cell. Press Ctrl + End on your keyboard. Excel jumps to the last cell that contains data or formatting.
  3. Check for excess columns and rows. If the last cell is far beyond your actual data (e.g., row 1,000,000 when your data ends at row 500), you have unnecessary formatting.
  4. Select and delete unused rows. Click on the row number of the first unused row (just below your data), then press Ctrl + Shift + Down Arrow to select all rows to the bottom. Right-click and choose Delete.
  5. Select and delete unused columns. Click on the column letter of the first unused column (just right of your data), then press Ctrl + Shift + Right Arrow. Right-click and choose Delete.
  6. Save the file. Press Ctrl + S. The file size should drop noticeably.

Method 2: Compress Images Inside the Workbook

  1. Open the workbook and select any image (picture, shape, or chart).
  2. Go to the Picture Format tab (or Format tab for shapes/charts) in the ribbon.
  3. Click Compress Pictures in the Adjust group.
  4. Choose an appropriate resolution. For on-screen viewing, select Screen (150 ppi) or Email (96 ppi). For printing, use Print (220 ppi). Uncheck Apply only to this picture if you want to compress all images.
  5. Click OK and save the file.

Method 3: Remove Hidden Sheets and Data

  1. Right-click any sheet tab at the bottom of the Excel window.
  2. Select Unhide to see if there are any hidden sheets. If there are, review them and either delete or unhide them if they contain important data.
  3. Delete any sheets you don't need. Right-click the tab and choose Delete.
  4. Check for hidden rows/columns. Select all cells by pressing Ctrl + A, then right-click any row number and choose Unhide. Do the same for columns.
  5. Save the file.

Method 4: Save as Binary Format (.xlsb)

  1. Click File > Save As.
  2. Choose a location and in the Save as type dropdown, select Excel Binary Workbook (*.xlsb).
  3. Click Save. This format is often 30-50% smaller than the standard .xlsx format, and it preserves all features.
  4. Note: Some older Excel versions and third-party tools may not support .xlsb, so consider compatibility.

Method 5: Use a File Archiver (ZIP)

  1. Close the Excel file.
  2. Right-click the .xlsx file and select Send to > Compressed (zipped) folder (Windows) or Compress (Mac).
  3. This creates a .zip file that you can email or store. The recipient will need to unzip it before opening.
  4. For better compression, use a tool like 7-Zip (free) and choose 7z format with a higher compression level.

Common Mistakes

  • Not removing unused formatting: Even if cells look empty, they may contain formatting that inflates the file size.
  • Using high-resolution images: Photos taken on phones are often 3000x4000 pixels, far larger than needed for a spreadsheet.
  • Keeping hidden sheets: Hidden sheets still take up space. Delete them if they're not needed.
  • Ignoring the .xlsb format: Many users don't know about it, but it's a simple and effective way to shrink files.
  • Compressing with ZIP and then sending the .zip: This works, but the recipient must unzip it. If you need a direct Excel file, use the other methods.

Tips

  • Use the 'Inspect Workbook' feature: Go to File > Info > Check for Issues > Inspect Workbook. This can find hidden data, external links, and other content that may be removable.
  • Convert images to a smaller format: If you have many images, consider resizing them in an image editor before inserting them into Excel.
  • Break up very large workbooks: If you have a file with dozens of sheets, consider splitting it into multiple files.
  • Use Excel's 'Optimize' feature: In newer versions, there's a 'Compress' button under File > Info that does some of these steps automatically.
  • Save a copy after cleaning: After removing unused cells and images, save a new copy to avoid losing data.

Troubleshooting

File is still large after following steps: Check for embedded objects (like PDFs or other files) by going to Insert > Object. Also, look for conditional formatting rules that may be applied to entire columns.

Cannot delete rows/columns because they contain data: Press Ctrl + End to see the last used cell. If it's far beyond your data, select the entire rows/columns and press Delete (not just the content).

Compress Pictures option is grayed out: This happens if you have a shape or chart selected. Select an actual picture instead.

.xlsb file won't open in older Excel: Use .xlsx format instead, or convert to .xlsb only for the final version you send to users with newer Excel.

ZIP file is not much smaller: Excel files are already compressed (ZIP) internally. The ZIP method works best if you have many uncompressed images or other embedded objects.

Frequently Asked Questions

Why is my Excel file so large even with no images?

Often it's due to excessive formatting, hidden sheets, or data in cells far beyond your visible range. Use the Ctrl + End method to find and remove them.

Does compressing images reduce their quality?

Yes, but usually not noticeably for on-screen viewing. Choose the resolution based on how the file will be used. If you need high-quality print, use Print (220 ppi) which is still smaller than original.

Can I compress an Excel file without losing any data?

Yes, removing unused formatting and using .xlsb format preserves all data. However, compressing images does reduce their resolution, which is a loss of quality but not data.

Is .xlsb compatible with Google Sheets?

No, Google Sheets does not support .xlsb. Use .xlsx if you need to share with users who may use Google Sheets.

How much can I expect to reduce the file size?

It varies. Removing unused formatting can reduce by 10-30%, compressing images can reduce by 50-90% if images are large, and .xlsb can save another 20-40% compared to .xlsx.

Will compressing the file affect formulas or macros?

No, all formulas and macros are preserved when using the methods above. However, if you save as .xlsb, macros are still supported (with .xlsb, but not .xlsm).