How to make zero a dash in Excel
Conversion of zero(0) into a dash(-) is a simple formatting technique used in Excel to visually show empty or blank cells instead of using zero. It is advantageous in presenting data in a more comprehensible format and is easy to use while dealing with situations in which zero is irrelevant or ambiguous.
There are many ways to convert a zero into a dash. However, in this tutorial, we’ll discuss the two most convenient methods to carry out this conversion.
METHOD 1 – By using the ‘Find and Select” command
In this method, we’ll use the “Find and Select” command in order to convert a zero into a dash.
Consider the following data set containing a record of pocket money spent by children in seven days:
The following steps should be followed to perform this conversion:
![](https://spreadcheaters.com/wp-content/uploads/Copy-of-METHOD-1-data-set-6.gif)
STEP 1 – Locate the “Find and Select” command
![](https://spreadcheaters.com/wp-content/uploads/Copy-of-METHOD-1-step1-Locate-the-Find-and-Select-command.gif)
- Go to the “Home” tab.
- Move your cursor to the “Editing” group.
- There you will observe the “Find and Select” command.
STEP 2 – Replace the zero(0) with the dash(-)
![](https://spreadcheaters.com/wp-content/uploads/Copy-of-METHOD-1-step2-Replace-the-zero0-with-the-dash-.gif)
- Click on the “Find and Select” command.
- Select the “Replace” option.
- In the “Find what” box, write “0”(zero).
- In the “Replace with” box, write “–”(dash).
- Select the “Replace All” option.
- All the zeros will be replaced with dashes.
METHOD 2 – By using the formatting technique
In this method, we’ll use the format option to replace the zero with a dash.
Consider the same data set as in the above case:
The following steps should be considered to replace a zero with a dash:
![](https://spreadcheaters.com/wp-content/uploads/Copy-of-METHOD-2-data-set-5.gif)
STEP 1 – Locate the “Format cells” option
![](https://spreadcheaters.com/wp-content/uploads/Copy-of-METHOD-2-step-1-Locate-the-Format-cells-option.gif)
- Select the data in which you want to replace the zero with a dash.
- Click on the Right-button. A drop-down menu will appear.
- There you will find the Format cells option.
- You can also find this option in the Home tab.
STEP 2 – Use the Custom category to replace the zero with a dash
![](https://spreadcheaters.com/wp-content/uploads/Copy-of-METHOD-2-step-2-Use-the-Custom-command-to-replace-the-zero-with-a-dash.gif)
- Click on the Format Cells option. A drop-down menu will appear.
- Select the Custom category and move your cursor in the typing box.
- Write the following command in the box: #;#;-
- Click on “OK”.
- All the zeros in the data will be converted into dashes.