Workbook is too large, struggling to reduce size.

wit1111

New Member
Joined
Feb 16, 2018
Messages
9
Hi,

A colleague recently returned a workbook to me where she had added additional sheets, the file is now enormous 25MB.

There is no code nor extensive logic, it is primarily SUMIF functions.

I have worked through the sheets and cleared the contents of all unused cells, I have checked the sheets for any VBA's, I have checked the workbook for conditional formatting.

Any idea as to how I could reduce the size, all of the above have not worked.

Many thanks
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
This is a longshot because i dont think this could be responsible for 25MB but try making sure that your "white" cells are not actually white, but they are set to "No Fill" that will help a bit

check for hidden sheets

check for formulas referencing sheets outside the workbook maybe
 
Upvote 0
Formulas will take up more memory per cell than just a value, but it would be a lot of formulas.
Do you have the size of the file with just data, no formulas?
On large data sets, Pivot Tables can be more efficient and often provide the desired answers for the data set.
Conditional formatting and even regular formatting can add an amount to the file size.

I have hit bigger file sizes. However, I now try to separate data and analysis by using PowerQuery to link and bring data into the Data model which uses excellent compression technology. I have 150MB of data (multiple text files) that are loaded into a PowerPivot Workbook that is about 4MB of results. I can send the smaller workbook and while connections are broken and can't be updated, the data serving the Pivot Tables is still intact and the Pivot Tables can mostly be changed. Some things are still better via a network share.
 
Upvote 0
This is what i would try first. Go to each worksheet in turn and find the last cell with data. Highlight a row after the data then press CTRL-SHIFT-DOWN. Right click and delete. Press save.
 
Upvote 0
This is what i would try first. Go to each worksheet in turn and find the last cell with data. Highlight a row after the data then press CTRL-SHIFT-DOWN. Right click and delete. Press save.

If I select and delete the empty columns, excel just replaces them, I cannot reduce the columns to anything less than XFD?!?
 
Upvote 0
If I select and delete the empty columns, excel just replaces them, I cannot reduce the columns to anything less than XFD?!?
After you do this, SAVE your workbook. Then see where Excel thinks where the end is.
 
Upvote 0
Thanks, but still restores the deleted cells even after saving
What do you mean by it "restores the deleted cells"?
Is there something physically in these cells?
If so, how exactly are they being populated?
I would think if it is being populated with something, there must be some sort of VBA or linked data source populating it.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top