Excel can store temporary information to help workbooks open faster, refresh data, and sync changes to cloud storage. When that information becomes outdated or damaged, you may see slow performance, refresh errors, sync warnings, or a workbook that displays old results. Clearing the right Excel cache can often help—but “Excel cache” can mean several different things, and there is no single button that clears all of them.
This guide explains how to clear the most common Excel caches in Windows, macOS, and Excel for the web. It also covers what a cache clear does, what it does not do, and how to avoid deleting unsaved work or information you still need.
What Does the Excel Cache Store?
A cache is temporary or reusable data that Excel keeps so it can work more efficiently. Depending on how you use Excel, the data may include cached PivotTable results, external data, information waiting to sync, or temporary files created while a workbook is open. Excel may also retain calculated results so it does not have to recalculate every formula each time you view a sheet.
Because these caches serve different purposes, the best way to clear Excel cache depends on the problem. A PivotTable showing old records may need its PivotTable cache refreshed. A workbook stuck while syncing may need attention to the Office document cache. If Excel is simply slow, restarting the app and checking workbook size may be more appropriate than deleting files manually.
Before You Clear Excel Cache
Save your work and close any workbook you do not want to lose. If a file is stored on OneDrive or SharePoint, confirm that its latest changes have synced before you remove cached files or troubleshoot the Office document cache. When in doubt, make a copy of the workbook first.
- Do not delete cache folders while Excel is open or while a file is uploading.
- Do not remove files from a cache folder unless you know which cache it belongs to and have followed the applicable Office guidance.
- Remember that clearing temporary data may sign you out of an account or require files to download or sync again.
- Use the targeted method below rather than trying to clear every kind of cache at once.
How to Clear a PivotTable Cache in Excel
A PivotTable cache stores a snapshot of its source data. This helps the PivotTable respond quickly, but it can also mean that old items remain in a filter list after they have been removed from the source. Refreshing the PivotTable is the first step; changing its retention setting can remove obsolete items.
- Click anywhere inside the PivotTable.
- Open the PivotTable Analyze tab. In some Excel versions, the tab is called Analyze or Options.
- Select Refresh to update the PivotTable from its source data.
- To remove old field items, right-click the PivotTable and choose PivotTable Options.
- Open the Data tab. For Number of items to retain per field, choose None.
- Select OK, refresh the PivotTable again, and save the workbook.
The exact labels may vary slightly by Excel version. This setting applies to retained PivotTable items; it does not erase the source data or clear every cache in the workbook. If the PivotTable still shows unexpected results, check that its source range or table includes the latest rows, then refresh again.
How to Refresh or Reduce an External Data Cache
Queries, connections, and some imported data sources can keep results in the workbook. If the worksheet is displaying old information, refresh the connection before trying to remove stored data.
- To refresh one query or connection, open Data and select Refresh All, or use the refresh command for the relevant table or query.
- To review connection settings, open Data and look for Queries & Connections or Connections, then inspect the relevant connection’s properties.
- For a PivotTable connected to external data, check its PivotTable options and connection settings as well as the source itself.
Options such as refreshing data when the file opens or saving source data with the workbook vary by connection type and Excel version. If you turn off saved data, the workbook may need an internet connection or access to the original data source before it can display refreshed results. Do not change these settings unless you understand how the workbook is used.
How to Clear the Office Document Cache on Windows
The Office document cache is used with cloud-based documents and syncing. It is different from a PivotTable cache. If an Excel file is stuck uploading, shows a sync problem, or appears to have conflicting cloud changes, start by checking the sync status in Excel and in OneDrive or SharePoint. Resolve any files that need attention before clearing cached document data.
In some Office installations, the Microsoft Office Upload Center provides controls for cached documents. If it is available, open it from the Windows Start menu, find its settings, and use the option to delete cached files. The Upload Center is not present in every current Microsoft 365 installation, so the menus and available controls depend on your Office version.
Do not assume that deleting a folder manually is the best fix. Office cache locations differ by version and configuration, and removing the wrong files while documents are open can interrupt syncing. If the Upload Center is unavailable, first close Office apps, verify that cloud files are synced, restart the computer, and retry the document. If the problem continues, follow Microsoft’s current support instructions for your Office version or contact your organization’s IT team.
How to Clear Temporary Files in Windows
Temporary Windows files are not the same as Excel’s workbook data or PivotTable cache. However, removing general temporary files can sometimes help when your device is low on storage or an app has left behind temporary data.
- Save your work and close Excel and other Office apps.
- Open Settings in Windows.
- Go to System > Storage > Temporary files.
- Review the categories carefully and select only items you are comfortable removing.
- Choose Remove files, then restart Excel.
Avoid selecting a category if you are unsure what it contains. In particular, do not treat temporary-file cleanup as a substitute for resolving an Office sync warning. If a workbook may not have saved successfully, look for its recovery options before removing anything.
How to Clear Excel Cache on a Mac
Excel for Mac does not provide one universal command to clear every cache. Start with a refresh that matches the problem: refresh the PivotTable for outdated PivotTable results, or refresh the relevant query or connection for outdated imported data. Save the workbook and quit Excel completely before troubleshooting application issues.
If Excel continues to behave unexpectedly, quit and reopen the app, then restart your Mac. Check that Excel and macOS are up to date. For a cloud workbook, confirm that OneDrive or SharePoint has finished syncing before making further changes. Avoid deleting Office or Excel folders from the Library by guesswork; they can contain settings or information used by other Office apps. For persistent problems, use Microsoft’s support instructions for your specific Excel for Mac version.
How to Clear the Cache in Excel for the Web
Excel for the web runs in a browser, so some performance or display issues may involve the browser rather than the workbook. First, save your changes and check that the file has finished saving to OneDrive or SharePoint. Then reload the page or close and reopen the workbook.
If the problem affects other websites or web apps too, clearing the browser’s cached images and files may help. Browser menus differ, so use the browser’s own settings and select the appropriate time range. Be aware that clearing cookies and site data can sign you out of websites. If only one workbook has a problem, check its data connections and sync status before clearing the browser cache.
What Clearing Excel Cache Will Not Do
Clearing a cache usually removes stored or temporary information; it does not repair every workbook problem. It will not fix incorrect formulas, broken links, missing source data, or permissions that prevent a file from syncing. It also does not necessarily reduce workbook size: formatting, embedded images, unused styles, and large ranges can contribute to a large file independently of a cache.
Excel does not have a general-purpose “clear all formula results” button. If formulas appear out of date, check the calculation mode under Formulas > Calculation Options. You can recalculate the workbook with F9, or use Ctrl+Alt+F9 on Windows to force a full calculation. These commands recalculate formulas; they are not cache-clearing commands.
Common Excel Cache Problems and the Best Fix
- Old items in a PivotTable filter: Refresh the PivotTable and set retained items to None.
- Out-of-date query results: Refresh the query or connection and check its source.
- A cloud workbook is not syncing: Check OneDrive or SharePoint status and resolve pending uploads before troubleshooting the document cache.
- Excel is slow: Restart Excel, update Office, and check whether the workbook contains unusually large data ranges or complex formulas.
- Excel for the web displays incorrectly: Save, reload the workbook, and investigate browser cache only if the issue appears browser-related.
Conclusion
To clear Excel cache safely, identify which cache is related to the issue instead of trying to erase everything. Refresh PivotTables and queries for outdated data, use the appropriate Office document-cache options for cloud sync problems, and treat browser or Windows temporary files as separate troubleshooting steps. Save your work, verify cloud sync, and avoid manually deleting unfamiliar folders. These precautions make it more likely that you will fix the Excel problem without losing changes or disrupting a workbook.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.