Adding a dash in Excel can be a bit tricky, but don't worry, we've got you covered. In this article, we'll take you through a step-by-step guide on how to add a dash in Excel, and explore some of the most common formatting options.
Why Add a Dash in Excel?
Dashes are useful in Excel for a variety of reasons. They can be used to separate numbers, indicate a range, or even create a custom number format. For example, you might want to use a dash to separate the area code from the rest of a phone number, or to indicate a range of dates.
How to Add a Dash in Excel
There are a few different ways to add a dash in Excel, depending on what you're trying to accomplish. Here are a few methods:
Using the Dash Symbol
The easiest way to add a dash in Excel is to simply type it in. You can do this by typing the dash symbol (-) on your keyboard. For example, if you want to enter a phone number with a dash, you can type it in like this: 123-456-7890.

Using a Custom Number Format
If you want to add a dash to a number format, you can use a custom number format. To do this, follow these steps:
- Select the cell or range of cells that you want to format.
- Right-click on the selected cells and choose "Format Cells" from the context menu.
- In the Format Cells dialog box, click on the "Number" tab.
- In the Category list, click on "Custom".
- In the Type field, enter the format code you want to use. For example, to add a dash to a phone number, you can use the format code: ###-###-####.
- Click OK to apply the format.

Using a Formula
If you want to add a dash to a number using a formula, you can use the TEXT function. The TEXT function converts a number to text, and allows you to specify a format code. To use the TEXT function, follow these steps:
- Select the cell where you want to display the formatted number.
- Type in the formula: =TEXT(A1,"###-###-####").
- Press Enter to apply the formula.

Tips and Tricks
Here are a few tips and tricks to keep in mind when adding a dash in Excel:
- To add a dash to a number format, you can use the format code: ###-###-####.
- To add a dash to a phone number, you can use the format code: (###) ###-####.
- To add a dash to a date range, you can use the format code: MM/DD/YYYY - MM/DD/YYYY.
- You can use the TEXT function to add a dash to a number, even if you don't want to display the number in a specific format.
Gallery of Excel Formatting Options
Excel Formatting Options









Frequently Asked Questions
Q: How do I add a dash to a phone number in Excel?
A: You can add a dash to a phone number in Excel by using a custom number format. To do this, select the cell or range of cells that you want to format, right-click on the selected cells and choose "Format Cells" from the context menu, and then enter the format code: (###) ###-####.
Q: How do I add a dash to a date range in Excel?
A: You can add a dash to a date range in Excel by using a custom number format. To do this, select the cell or range of cells that you want to format, right-click on the selected cells and choose "Format Cells" from the context menu, and then enter the format code: MM/DD/YYYY - MM/DD/YYYY.
Q: Can I use the TEXT function to add a dash to a number in Excel?
A: Yes, you can use the TEXT function to add a dash to a number in Excel. To do this, select the cell where you want to display the formatted number, type in the formula: =TEXT(A1,"###-###-####"), and then press Enter to apply the formula.
We hope this article has helped you to learn how to add a dash in Excel. Whether you're using a custom number format, the TEXT function, or simply typing in the dash symbol, there are many ways to add a dash to a number in Excel. Do you have any other questions about Excel formatting? Let us know in the comments below!