Office Apps Crashing

How to Stop Excel Crashing When Removing Duplicates on Mac

Steve KSteve K Nov 13, 2026 868 views

Question details

The user needs to stop Microsoft Excel for Mac from unexpectedly quitting when using the Remove Duplicates feature and to identify whether a damaged workbook, Excel cache, outdated software, or profile conflict is responsible.

Product
Microsoft Excel for Mac
Device & OS
macOS
Scenario
The user is cleaning a dataset by removing duplicate rows in Excel on a Mac and the application closes unexpectedly.
Observed behavior
Excel crashes or quits without warning when the user selects Data > Remove Duplicates, especially in a specific workbook or across all files.
Before you start

Before changing Excel settings, save and close any open workbooks, note whether the crash happens in one file or all files, and check for pending macOS and Office updates.

Solution 1

Update Excel and macOS Then Test a New Workbook

Use this first to determine whether the crash is caused by an outdated app or a damaged workbook before changing system files.

1
Save and close current workbooks

Save any open Excel files, then quit Excel from the Excel menu > Quit Excel.

2
Install pending Office updates

Open the Mac App Store or use Help > Check for Updates in Excel, install all Microsoft Office updates, then restart Excel.

3
Check for macOS updates

Go to Apple menu > System Settings > General > Software Update and install available macOS updates.

4
Test in a new workbook

Open Excel, create a blank workbook, enter sample duplicate rows, select the range, and go to Data > Remove Duplicates to see whether it still crashes.

Free Microsoft Office alternative

Switch to WPS Office for Stable Duplicate Removal on Mac

If Excel keeps crashing when you remove duplicates, WPS Office offers a free and lightweight Microsoft Office alternative on Mac. It opens .xlsx workbooks, keeps the familiar ribbon workflow, and lets you manage duplicate data without the same cache corruption issues.

Built-in duplicate removal tools in WPS Spreadsheets help you clean .xlsx data on Mac without Excel crashesOpens, edits, and saves Microsoft Excel .xlsx files with high compatibilityFree and lightweight alternative to Microsoft Office on macOSFamiliar ribbon interface makes switching from Excel to WPS Office easy
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel crash when I choose Remove Duplicates on Mac?

Excel can crash because of a damaged com.microsoft.excel container cache, an outdated version of Excel or macOS, a corrupt workbook, or interference from background applications and the user profile.

How do I reset the Excel cache on Mac to stop Remove Duplicates crashes?

Close all Office applications, open Finder > Go > Go to Folder, enter ~/Library/Containers, move the com.microsoft.excel folder to the Desktop, restart the Mac, and test Excel again.

Does Safe Mode help fix Excel crashing during Remove Duplicates?

Yes. Restart the Mac while holding the Shift key, open Excel in Safe Mode, and test Remove Duplicates. If the crash stops, a startup item or background app is likely causing the conflict.

Will WPS Office open my Excel file after Excel keeps crashing on Mac?

Yes. WPS Spreadsheets opens and saves Microsoft Excel .xlsx files, and you can remove duplicate values without relying on the damaged Excel cache.