Typographers use different dashes for different purposes. The only difference between the dashes is their width. For instance, you get one type of dash when you press on the minus key—it is a dash that is very narrow. A longer dash is called an en dash, because it is the same width as a lowercase n. An en-dash is typically used to denote ranges of numbers. Wider still is the em-dash, which is just as wide as a lowercase m. The em-dash is typically used in sentences, as a dash between clauses.
To insert an en-dash in your document, hold down the Alt key and type 0150 on the numeric keypad; an em-dash is produced by holding down the Alt key and typing 0151. You could also use the Special Characters tab of the Symbol dialog box to add the dashes.
You may be familiar with using em- and en-dashes from working with Word. They work the same way in Excel. The only caveat is that when you use special dashes (as opposed to a regular minus sign), Excel automatically treats the information in your cell as text.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3577) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Inserting Different Dashes.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
Need to change some cell references in your defined names? Changing one or two is easy; changing dozens is a good deal ...
Discover MoreHave a worksheet in which there may be entire columns that are duplicates of each other? If you want to delete those ...
Discover MoreWhen pasting information into a worksheet, Excel tries to helpfully convert that information. This can cause undesired ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2021-06-28 19:12:56
Larry Fisackerly
I am using Microsoft 365 Excel. Ctrl + minus on the numeric keypad does nothing. Is that a quirk of Microsoft 365? Alt + 015 does insert the en-dash.
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2022 Sharon Parq Associates, Inc.
Comments