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.
On this page7
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. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “excel reducing file size”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. 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. That is what makes a data step that keeps your analysis trustworthy useful in real work: repeatable, auditable, and not dependent on memory or luck.
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. When the result is not what you expected, undo straight away rather than repairing it by hand — undo restores the sheet exactly, while manual fixes tend to leave small inconsistencies behind that surface later.
In Google Sheets
This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. Treat “excel reducing file size” as a routine rather than a one-off. Once you know which setting or command controls it, the same few steps handle every workbook where it comes up in Excel, and you can explain them to a colleague in a sentence.
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.