Type X-Bar and Other Statistical Symbols in Office 2016 for Mac
Question details
Create statistical symbols such as x-bar, y-bar, and d-bar in Office 2016 for Mac.

- Product
- Microsoft Word, Excel, and PowerPoint 2016 for Mac
- Device & OS
- Mac, macOS
- Scenario
- The user wants to add letters with overlines to documents, spreadsheets, or presentations, either as regular text or in equations.
- Observed behavior
- The desired result is a letter with a bar above it that can be used in the relevant Office file.
Decide whether you need the symbol as regular text or as part of a formatted equation. For regular text in Excel or PowerPoint, you can copy a Unicode symbol instead of relying on Word's Math AutoCorrect settings.
Use Math AutoCorrect for Regular Text in Word
Use this method to enter overlined letters as regular text in Word for Mac.
In Word, go to Tools > AutoCorrect and open the Math AutoCorrect tab.
Select Use Math AutoCorrect rules outside of math regions. Check that the Math AutoCorrect replacement for \bar is enabled, then close the settings.
In the document, type x\bar and press Space. Substitute y or d for x to create the corresponding symbol.

Insert a Bar Accent in an Equation
Use an equation when the symbol belongs in a mathematical expression in Word, Excel, or PowerPoint.
Copy Unicode Overlined Letters as Regular Text
Use Unicode text when you need the symbols in an Excel cell, PowerPoint text box, or Word document.
Add Overlined Letters to Files in WPS Office
Use WPS Writer, Spreadsheets, or Presentation on your Mac to paste Unicode overlined letters into documents, cells, or slide text.
- 1. Open your file: Open WPS Office and use Open to select a document, spreadsheet, or presentation.
- 2. Copy an overlined letter: Copy the symbol you need from these examples: x̅, y̅, or d̅.
- 3. Paste the symbol: Click in your document, spreadsheet cell, or slide text box, then press Command+V.
- 4. Check and save: Review the overline and change the font if needed, then choose File > Save.

Frequently Asked Questions
How do I type x-bar as regular text in Word for Mac?
In Tools > AutoCorrect > Math AutoCorrect, enable Use Math AutoCorrect rules outside of math regions. Then type x\bar and press Space.
Why doesn't the Word Math AutoCorrect shortcut work in Excel or PowerPoint?
The Word setting does not provide the same regular-text shortcut in those apps. Instead, paste a Unicode symbol such as x̅ into an Excel cell or PowerPoint text box, or use Insert > Equation.
Can I create y-bar and d-bar the same way?
Yes. In Word, type y\bar or d\bar and press Space after enabling Math AutoCorrect outside math regions. You can also copy and paste y̅ or d̅ as Unicode text.
What can I do if the bar is not centered over the letter?
Select the symbol and try another font using the app's font menu. Combining overline placement can vary by font and application.




