Dec 27 2022 02:16 AM - edited Dec 27 2022 04:46 AM
Abnormal.xlsx file size caused by converting Excel tables to data areas (empty areas with no data but occupied by styles). Is there a way to clear styles without opening the file
Dec 27 2022 03:56 AM
Dec 27 2022 04:24 AM
Thank you very much for your answer. After experiments, the size of the file is not reduced. Maybe my description of the problem is not accurate enough
Dec 27 2022 04:44 AM
I recorded the steps, and what I want to do is fix the action that caused the file size explosion
Dec 27 2022 07:31 AM
With permission of all, I would offer an additional solution.
This is how you could reduce the volume of your Excel file again:
To be on the safe side, make a backup of the file first.
Try to delete the superfluous cells by marking the rows or columns,
right-clicking with the mouse and selecting Delete rows.
Quickly delete multiple cells/columns:
select/click cell/column,
CTRL+left shift key+ right or down arrow
depending on the cell or column, press .
Save the file. Close and open again. If you look at the file size in Explorer, it should now be significantly reduced and the table should be usable again.
If the size doesn't really change afterwards, try copying the spreadsheet to a new file and saving it accordingly. At least that should help.
Happy new year and much success with Excel.
Dec 27 2022 09:51 AM
I see. Essentially, you need to re-size the table, but the workbook won't open to where you can fix it.
You can still update the table dimensions using xml.
1. Make a copy of the workbook
2. Re-name the workbook to end with .zip instead of .xlsx
3. Open the .zip using File Explorer
4. Go to 'xl' folder then open 'tables' folder. In the Tables folder you'll have an xml file for each table in the workbook (table1, table2, table3 - it always shows the default generic name here).
5. Drag table1.xml outside of the zip package to another folder and then open it with Notepad.
6. Within the xml file you have to update the dimensions in two places as seen in capture here:
7. After correcting the table dimensions, save the xml file and close it. Drag and drop the xml file back into the zip package in the tables folder - opt to 'Copy and Replace' when prompted.
8. Back out of the zip package entirely. Re-name the .zip to be .xlsx once again. Open .xlsx.
9. Enjoy
Dec 29 2022 04:39 AM
Dec 29 2022 09:19 AM
If on Pro: Inquire -> Clean Excess Cell Formatting
If on 365: open in Excel for Web -> Check Performance -> Optimize
Or on any version select unused area, Home -> Clear -> Clear All
Dec 29 2022 04:54 PM
Dec 30 2022 02:26 AM