In Excel: press Ctrl+End to see where the used range really ends — if it lands far past your data, delete the excess rows and columns and save; then save as .xlsx (or .xlsb for formula-heavy books) and compress embedded pictures via Picture Format ▸ Compress Pictures.
Press Ctrl+End on every sheet. If it lands beyond the real data, select the first empty row header, press Ctrl+Shift+Down, right-click ▸ Delete, do the same for excess columns, then save the file — the used range only resets on save.
If the file is a legacy .xls, use File ▸ Save As and pick Excel Workbook (.xlsx); for large formula-heavy books pick Excel Binary Workbook (.xlsb) instead.
Select any picture, open Picture Format ▸ Compress Pictures, untick Apply only to this picture, and choose 150 ppi or lower.
For PivotTables whose source data lives in the same workbook, right-click the pivot ▸ PivotTable Options ▸ Data and untick Save source data with file (tick Refresh data when opening the file so it rebuilds).
Freeze finished formula blocks: copy them, then Paste Special ▸ Values — this also removes volatile functions like NOW, TODAY, OFFSET and INDIRECT that force constant recalculation.
Check Formulas ▸ Name Manager for stale defined names pointing at dead ranges, and unhide sheets to find forgotten data dumps.
What this does
An oversized workbook almost always has one dominant culprit, so diagnose before you optimize. The most common is used-range bloat: Excel keeps tracking cells that once held data or formatting, so the file stores hundreds of thousands of effectively empty rows. Other frequent causes are the legacy .xls format, uncompressed images, PivotTables that keep a duplicate copy of their source data in the pivot cache, and huge blocks of formulas that could be static values. Fixing the one real cause typically cuts the file by 80–90%; blanket tricks barely move it. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “compress excel file size”. Start on a copy or a tiny sample, keep the affected cells visible, and compare the result with the tool above before you touch the real workbook. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. The point is a data step that keeps your analysis trustworthy, but the practical win is that someone else can open the file and understand what happened without asking you.
A worked example
A 48 MB report opens slowly. Ctrl+End jumps to XFD1048576 although the data ends at H2100. Click the row 2101 header, press Ctrl+Shift+Down, right-click ▸ Delete, repeat for the columns right of H, and save: the file drops to 19 MB. Saving it again as Excel Binary Workbook (.xlsb) brings it to 6 MB. A slimmer workbook opens faster, recalculates faster, and fits through email attachment limits. Finding the one real cause takes minutes and routinely turns a 48 MB monster back into a 6 MB file. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.
In Google Sheets
Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. The short version of “compress excel file size”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.
Common mistakes
- Deleting the excess rows but not saving afterwards — Excel only recalculates the used range when the file is saved.
- Clearing cell contents with the Delete key instead of deleting the rows and columns themselves; cleared cells still count toward the used range because formatting remains.
- Keeping the old .xls format, which stores data far less efficiently and caps sheets at 65,536 rows.
- Compressing pictures one at a time with Apply only to this picture still ticked.
- Choosing .xlsb for a workbook other tools must read — many import pipelines and Google Sheets handle .xlsx far more reliably.
Frequently asked questions
Why is my Excel file huge with hardly any data in it?
Almost certainly used-range bloat. Press Ctrl+End: if the cursor lands far below or right of your data, Excel is storing all those empty cells. Delete the excess rows and columns and save; the size drops immediately.
Does saving as .xlsb lose anything?
No formulas, formatting or VBA are lost, and it usually saves 50–75% of the size and opens faster. The trade-off is that .xlsb is not XML-based, so some external tools and Google Sheets import it poorly.
How much does compressing pictures help?
A lot in image-heavy files: Compress Pictures at 150 ppi often shrinks pasted screenshots by 90%, and it can also permanently delete cropped-away areas.
Other ways people ask this
On the way here you may have searched this as “how to compress excel file size” and “how to compress size of excel file” — it is all the same task, and this page is the single, complete answer to it.
Why do people search for this in so many different ways?
Because the same task has many names. “how to compress excel file size”, “how to compress size of excel file” all point at the one operation explained on this page, which is why they all lead here.