Inside The Web
    Facebook Twitter Instagram
    Inside The Web
    • Office
      • Excel
      • Ms Word
      • OneDrive
      • Google Docs
      • Google Sheets
      • Google Drive
    • Email
      • Gmail
      • Outlook
      • Emal Etiquette
    • Office Etiquette
    • Productivity
    Inside The Web
    Home»Office»Excel»Why is My Excel File so Large? How to Fix It

    Why is My Excel File so Large? How to Fix It

    Asmi DhakalBy Asmi DhakalSeptember 18, 2023 Excel 7 Mins Read

    Say, you’re working on a very long important spreadsheet when it starts to run slow. You start troubleshooting and figure out it’s because your file size has ended up being too large.

    If you’re wondering, “Why is My Excel File so Large?”, it’s probably because your spreadsheet contains too many elements. While Excel offers a number of tools for visualization like Charts, Power Query, and PivotTables, these elements quickly expand the file size.

    In this article, we will explore what makes your Excel files bloat, and how you can limit it to some extent.

    Why is My Excel File so Large?

    Apart from visualization tools, your file may even expand if you have a sea of data that seemingly never ends. Here are some of the other elements that could have drastically increased the size of your spreadsheet:

    • Conditional Formatting
    • Formulas
    • Formatting
    • Excess Named Ranges
    • Charts
    • Images
    • Macros
    • PivotTable Cache
    • Embedding Objects within the Sheet
    • External Links

    Remember that using these elements will only increase your file size if you’ve inserted them excessively.

    How to Check Sizes for Individual Sheets?

    Before you head into the fixes, consider checking the size each spreadsheet takes up for the entire workbook. Sometimes, there are only one or two worksheets causing size issues, so identifying them beforehand will speed up the process of decreasing the file size.

    We have a macro that checks and returns the size of each spreadsheet in the active workbook. Make sure you’ve enabled the developer tab and follow these steps to create a macro in Excel:

    1. Go to the Developer tab.
    2. Select Visual Basic from the Code section.
    3. From the menu bar, select Insert > Module.
      Insert Module in VBA Editor
    4. Enter the following code:
    Sub GetEachWorksheetSize()
    Dim strTargetSheetName As String
    Dim strTempWorkbook As String
    Dim objTargetWorksheet As Worksheet
    Dim objWorksheet As Worksheet
    Dim objRange As Range
    Dim i As Long
    Dim nLastEmptyRow As Integer
    strTargetSheetName = "Sheet Sizes in Bit"
    strTempWorkbook = ThisWorkbook.Path & "\Temp Workbook.xls"
    With ActiveWorkbook.Worksheets.Add(Before:=Application.Worksheets(1))
    .Name = strTargetSheetName
    .Cells(1, 1) = "Sheet"
    .Cells(1, 1).Font.Size = 14
    .Cells(1, 1).Font.Bold = True
    .Cells(1, 2) = "Size (approx)"
    .Cells(1, 2).Font.Size = 14
    .Cells(1, 2).Font.Bold = True
    End With
    Set objTargetWorksheet = Application.Worksheets(strTargetSheetName)
    For Each objWorksheet In Application.ActiveWorkbook.Worksheets
    If objWorksheet.Name <> strTargetSheetName Then
    objWorksheet.Copy
    Application.ActiveWorkbook.SaveAs strTempWorkbook
    Application.ActiveWorkbook.Close SaveChanges:=False
    nLastEmptyRow = objTargetWorksheet.Range("A" & objTargetWorksheet.Rows.Count).End(xlUp).Row + 1
    With objTargetWorksheet
    .Cells(nLastEmptyRow, 1) = objWorksheet.Name
    .Cells(nLastEmptyRow, 2) = FileLen(strTempWorkbook)
    End With
    Kill strTempWorkbook
    End If
    Next
    End Sub
    Excel VBA Macro
    1. Hit F5 on your keyboard.
    2. Wait for the macro to finish.

    After the Macros are done running, you will see a new worksheet named “Sheet Sizes in Bit”. You can check the sizes of the corresponding sheet names in column B. The calculated sheet sizes will be in bits.

    Macro to calculate indivdual sheet size

    How to Shrink an Excel File?

    Back to the main bit, how to reduce the size of large Excel files? The size of your files in Excel is dependent on the elements we listed, prior in this article. Depending on what you think may be causing this file issue, refer to the following fixes:

    Manage Conditional Formatting Rules

    Conditional Formatting is a complex Excel feature. Whenever you refresh your worksheet, Excel has to check if any of the referenced cells meet the set rule. If you’ve set a conditional formatting rule on a now, static range, you can remove the rule and instead shade the cell with a background color.

    1. Go to the Home tab.
    2. Select Conditional Formatting > Manage Rules.
      Manage Conditional Formatting Rules
    3. Next to Show formatting rules for, choose This worksheet.
    4. Scroll through the conditional formatting rules. If you locate one you can replace with cell shading, select it.
    5. Click on Delete Rule. 
      Delete Conditional Formatting Rule
    6. Repeat steps 4 and 5 for all unwanted rules.
    7. Close the Conditional Formatting Rules Manager.

    Convert Formulas to Static Values

    If your worksheet has a lot of formulas, they may be increasing the size of your worksheet. If you no longer have values to add to your sheet, you can convert the formula into static values to save space.

    1. Select the cell containing your formula and copy it (Ctrl+C).
    2. Right-click on the same cell.
    3. Click V on your keyboard.
      Paste Formulas as Values

    Avoid Nesting Too Many Functions

    As I’ve mentioned before, using functions tends to take up a good chunk of space in your spreadsheet. So, if you can avoid nesting multiple functions in a formula, you can save some of that space.

    For example, you can use the COUNTIFS function instead of nesting the COUNT and IF function and use either VLOOKUP, HLOOKUP, or XLOOKUP instead of nesting INDEX and MATCH.

    Remove Excess Formatting

    While you may save space by opting for manual formatting over conditional formatting, over-using them will also contribute to increasing your sheet size.

    If you’re an Excel 365 user and have Excel 365 for enterprises or Office Professional Plus, you can use the Inquire add-in to remove such formatting from your sheet. Otherwise, you’ll have to manually remove the formatting from Home > Clear > Clear Formats.

    1. Go to File > Options.
      Excel Options
    2. From the sidebar, click Add-ins.
    3. Next to Manage, select COM Add-ins > Go.
      COM Addins Excel
    4. Select Inquire > OK.
    5. Switch to the Inquire tab.
    6. Select Clean Excess Cell Formatting from the Miscellaneous section.
      Clean excess formatting Excel

    Store File in .xslb Format

    You can also save your document as a binary workbook, in the .xslb format. This will compress your workbook and significantly reduce the size of your file.

    1. Go to File > Save As.
    2. Click on Browse and head to the location you wish to save your file in.
      Browse to Save As
    3. Name your file next to File name.
    4. Select the fly-out next to Save as type.
    5. Choose Excel Binary Workbook (.xlsb).
      Save as Excel Binary Workbook
    6. Click Save.

    Adjust Image Resolution and Compression

    You may have heard the saying, “One picture is worth a thousand words”. While this is true, one high-resolution image is also worth a lot of MB!

    If the image is there for purely decorative purposes, consider removing it. However, if you really want to keep it, you can lower the image resolution or compress it to reduce the size it takes up on your spreadsheet.

    Adjust Resolution

    1. Head to File > Options.
    2. Select Advanced from the sidebar.
    3. Scroll down to the Image Size and Quality section.
    4. Enable Discard Editing Data and disable Do not compress images in file.
    5. Set the Default resolution to 150 ppi or lower.Reduce Image Resolution Excel

    Compress Image

    1. Select the image then head to Picture Format.
    2. From the Adjust section, click Compress Pictures.
      Compress Pictures in Excel
    3. Under Compression options, uncheck Apply only to this picture so that the following configuration is applied to all pictures.
    4. Enable Delete cropped areas of pictures. This will remove the cropped bits of your image.
      Compress Pictures Window
    5. Set a lower Resolution.
    6. Click OK.

    Remove Unused Macro

    If you’re an avid macro user, you may have stored up a lot of macros in your workbook. If there is a macro you used for a one-time task (like the one we have in this article!), it is best you remove it to clear up some room.

    1. Go to the Developer tab.
    2. Click Macros from the Code section.
    3. Select the macro you wish to delete from the window.
    4. Click Delete.
      Delete Macro

    Remove PivotTable Cache

    PivotTables are great for summarizing a long data set. However, when you create a PivotTable, you end up collecting redundant data from the source of the PivotTable, called PivotTable Cache. You can clear the cache to free up some file storage.

    1. Select a cell from your PivotTable.
    2. Go to the PivotTable Analyze tab.
    3. From the PivotTable section, click on Options.
      PivotTable Options
    4. Switch to the Data tab.
    5. Uncheck Save Source data with file.
    6. Enable Refresh Data when opening the file.
      Refresh PivotTable Cache
    7. Click OK.

    Clear Excessive Embedding

    In Excel, you can embed external content such as a PDF inside your worksheet. These embeds update automatically as you make changes in the source file.

    If these embeddings aren’t crucial, try limiting their use within your sheet as they can make your file size pretty large. You can clear embedding by simply clicking on it and pressing the Delete key on your keyboard. 

    Break Links

    Linking is a great way to cite your information. However, if you do it in excess, they will take up space. Therefore, if you have hyperlinks or internal links that aren’t as useful in the document, consider breaking them to save up some space.

    1. Go to Data.
    2. From the Queries & Connection section, select Edit Links.
      Edit Links EXcel
    3. Hold the Ctrl key and select the links you wish to break.
    4. Click Break Link.
    Excel Error
    Asmi Dhakal

      Asmi is a content writer specializing in MS Office. She loves writing Excel-related content to assist other users to learn their way around the program. She started using Excel when she first entered the industry as a marketing intern. Soon, she realized that learning the often-overlooked spreadsheet program was no piece of cake. In her articles, she attempts to brief out complex topics to help beginner to intermediate-level Excel users. Asmi uses Excel for everything, including creating a grocery list to managing her personal finance. She’s a bit dramatic when it comes to the Flash Fill feature; so much so that could write a eulogy out of it. When she’s not working, you’ll find her learning a new recipe, or cleaning up her mess (out of the failed recipe).

      Related Posts

      Excel By Nisha Gurung

      How to Compare Two Columns in Excel Using VLOOKUP

      Excel By Nisha Gurung

      How to Share Excel Files with Multiple Users

      Excel By Nisha Gurung

      How to Filter Based on a List in Excel

      Add A Comment
      Table of ContentsToggle Table of ContentToggle
      • Why is My Excel File so Large?
      • How to Check Sizes for Individual Sheets?
      • How to Shrink an Excel File?
        • Manage Conditional Formatting Rules
        • Convert Formulas to Static Values
        • Avoid Nesting Too Many Functions
        • Remove Excess Formatting
        • Store File in .xslb Format
        • Adjust Image Resolution and Compression
          • Adjust Resolution
          • Compress Image
        • Remove Unused Macro
        • Remove PivotTable Cache
        • Clear Excessive Embedding
        • Break Links
      • Home
      • About Us
      • Privacy Policy
      © 2025 Inside The Web

      Type above and press Enter to search. Press Esc to cancel.