How to Fix the Replacement Character for an Em Dash in Excel
Question details
The user is seeing an unrecognizable replacement character instead of an em dash in their spreadsheet.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Pasting or typing an em dash into a cell where the current font does not have the corresponding glyph.
- Observed behavior
- Excel displays a replacement character, such as a square box or question mark, because the selected font lacks support for the em dash.
Ensure you are not pasting text containing unsupported web fonts from external sites. Select the affected cells before attempting to change their formatting.
Switch to a Compatible Standard Font
Changing the font of the affected cells to a universally supported typeface is the fastest way to render the em dash properly.
Many custom or decorative fonts do not include glyphs for special punctuation marks. Reverting to standard system fonts ensures all characters, including em dashes, are displayed as intended.
Click and drag to highlight the cell or range of cells currently displaying the replacement character.
Navigate to the 'Home' tab on the top Excel ribbon and locate the Font group.
Click the font drop-down menu and select a widely compatible font, such as Arial, Calibri, or Times New Roman, to restore the em dash.

Use the UNICHAR Formula to Insert the Em Dash
If you need to ensure the em dash appears regardless of manual text entry, you can generate it using its specific Unicode value.
Insert and Format Special Characters Perfectly in WPS Spreadsheet
WPS Spreadsheet handles special characters like em dashes effortlessly, providing a rich library of highly compatible fonts to ensure your data is displayed perfectly without replacement character errors.
- 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your existing spreadsheet.
- 2. Select the target cell: Click on the cell where you want to add the em dash.
- 3. Open the Symbol menu: Navigate to the 'Insert' tab on the ribbon and click the 'Symbol' button.
- 4. Insert the em dash: Switch to the 'Special Characters' tab within the dialog box, select the Em Dash, and click 'Insert'.

Frequently Asked Questions
Why does a square box appear instead of an em dash?
A square box or question mark is known as a replacement character. It appears when the specific font you are using was not designed with a glyph (visual representation) for the em dash. Changing to a standard font usually resolves this.
What is the keyboard shortcut for an em dash?
On a Windows computer with a numeric keypad, you can type an em dash by holding down the 'Alt' key and typing '0151'. Ensure your Num Lock is turned on before using this shortcut.
Can I use Find and Replace to fix all replacement characters at once?
Yes. Press Ctrl+H to open the Find and Replace dialog. Copy and paste the replacement character from your spreadsheet into the 'Find what' field, and type or paste a proper em dash into the 'Replace with' field, then click 'Replace All'.




