Office for Mac Issues

How to Fix Excel for Mac Text Selection Bug in the Formula Bar

Kushani NimanthikaKushani Nimanthika Nov 3, 2026 868 views

Question details

Users experience a text-selection issue in the Excel for Mac formula bar after resizing the Defined Names box.

How to Fix Excel for Mac Text Selection Bug in the Formula Bar
Product
Microsoft Excel for Mac
Device & OS
macOS
Scenario
Editing formulas in the formula bar after adjusting the Defined Names box interface.
Observed behavior
The cursor selects text from the incorrect position in the formula bar, causing misalignment and making it difficult to edit formulas accurately.
Before you start

Ensure you save your current workbook and quit all running Office applications before modifying system library files.

Solution 1Recommended

Reset the Excel Application Container

Clearing the Excel container resolves application interface defects and resets cached layout settings.

This method clears temporary interface data and preferences that may be causing the visual cursor misalignment in the formula bar.

1
Quit Excel

Save your work and fully quit Microsoft Excel and all other Microsoft Office applications.

2
Navigate to Containers

Open Finder, press Command + Shift + G to open the 'Go to Folder' window, type ~/Library/Containers, and press Enter.

3
Remove the Excel Folder

Locate the folder named 'Microsoft Excel' (or 'com.microsoft.Excel' on newer macOS versions) and move it to the Trash.

4
Restart and Test

Restart your Mac, reopen Excel, and test editing text in the formula bar of a blank workbook.

Reset the Excel Application Container
First Launch: Excel may take slightly longer to open the first time after resetting the container as it rebuilds necessary default files.
Free Microsoft Office alternative

Try WPS Office for a Flawless Spreadsheet Experience on Mac

Tired of dealing with Excel interface bugs on your Mac? WPS Office offers a free, lightweight, and highly compatible alternative with a smooth user interface for managing your spreadsheets, formulas, and data seamlessly without cursor glitches.

Highly compatible with Microsoft Excel (.xlsx, .xls, .csv) formats.Lightweight and fully optimized for all macOS versions without UI glitches.Familiar, tabbed interface that requires zero learning curve.Completely free core spreadsheet features.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the formula bar cursor select the wrong text in Excel for Mac?

This is a known interface defect triggered when resizing the Defined Names box, which causes a misalignment between the visual cursor position and the actual text position in the formula bar.

Will deleting the Microsoft Excel container delete my spreadsheets?

No, deleting the container folder only resets the application's preferences and cached interface files. Your personal workbooks and data will remain completely unaffected.

Does this text selection bug only happen on older macOS versions?

No, users have reported this text selection bug across multiple macOS versions, including Mojave, Catalina, and Big Sur. Updating to the latest patched release of both macOS and Office is recommended to fix it.