How to Show Dash Instead of Zero in Excel (4 Easy Methods) (2024)

Often, we want to show Dash (-) instead of 0 in Excel due to the absence of any data. This article shows all the possible methods to do so. We will show all possible ways to answer the question of how to show dash instead of zero in Excel.

Show Dash Instead of Zero in Excel: 4 Easy Methods

There are 4 ways to show dash instead of zero in Excel. To understand better, we will consider this real-life example below. Here the dataset contains the number of different products sold over 3 days and their Product IDs.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (1)

All the methods are described step by step below.

1. Using Format Cells Dialogue Box

This method is the most common way to show a dash instead of a zero in Excel. The steps for this method are below.

Steps:

  • First, we need to select the range of cells where we want to show a dash instead of zero. In our case, the cell range is (C6:E10).

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (2)

  • Next, we need to press Ctrl+1. A dialog box named Format Cells will appear.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (3)

  • Then, we need to go to Accounting in the Format cells panel, select None as Symbol, and press OK.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (4)

  • In the end, we will see there is Dash (-) instead of zero in the cell range.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (5)

2. Defining Custom Number Format

This method is applicable when we are working with a large amount of data. Defining a custom number format will also work on newly inserted data as well. The steps to complete this method are below.

Steps:

  • At first, we need to select the cell range like the previous method and then press Ctrl+1 to open the Format Cells panel.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (6)

  • Next, we will select Custom, and in the Type section, copy and paste the following number format and then press OK.

#,##0.00;[Red]-#,##0.00;"-"

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (7)

  • As a result, we will see all the zeros have been replaced by a dash.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (8)

3. Utilizing IF Formula

We can make a separate column and show dash instead of zero in Excel separately using the IF Formula. For this method, we will follow these steps. In our case, we will show it in the Day 1 column under the New field.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (9)

Steps:

  • First, we need to select the cell where we will show the updated values. In our case for C6, we will show it in F6.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (10)

  • Next, select cell F6. Type the following formula in the formula bar.

=IF(C6=0,"-",C6)

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (11)

  • Then, we will press Enter and see if there is no change, as we did not have a 0 value in C6. It will show 10 as in C6.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (12)

  • Furthermore, we will drag the Fill Handle to cell F10 to automatically update the rest of the cells.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (13)

  • Finally, we will see a dash inserted instead of zero in the F7 cell.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (14)

Read More: How to Find and Replace Using Formula in Excel

4. Using Replace Feature

When we are working on a large datasheet, we cannot select cells according to our needs. Find and Replace is a useful feature to find specific values across the worksheet. We will use this feature to show dash instead of zero in Excel. Here are the steps to do so.

Steps:

  • In the beginning, we need to press Ctrl+H to trigger the Find and Replace dialog box.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (15)

  • Then we will give 0 in the Find what box and give Dash (–) in the Replace withbox.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (16)

  • Next, we need to tick the Match entire cell contents box and click on Find Alloption.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (17)

  • As a result, it will show all the cells containing 0 value in them. We can check here if all the cells or values contain 0 or not.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (18)

  • Again, we will click on Replace All option if all the cells found are correct.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (19)

  • Finally, we will see all the Zeros have been replaced by Dash in the datasheet.

How to Show Dash Instead of Zero in Excel (4 Easy Methods) (20)

Read More: How to Find and Replace Values in Multiple Excel Files

Things to Remember

  • In the first method, the alignment will be changed to Right and show numbers up to 2 decimal places.
  • For the other three methods, the alignment will remain the same.
  • We can repeat the If formula method for Day 2 and Day 3 fields as well, but we will need to do it in new columns.
  • The entire demonstration was done in Microsoft Office 365. So, the user interface may vary for different versions.

Download Practice Workbook

You can download the practice workbook from here.

Showing Dash Instead of Zero.xlsx

Conclusion

The purpose of the article is to show different methods through which we can show dash instead of zero in Excel. If you’re still having trouble with any of these methods, let us know in the comments. Our team is ready to answer all your questions.

Related Articles

  • How to Find and Replace Text Color in Excel
  • How to Find and Replace within Selection in Excel
  • How to Find and Replace Multiple Words from a List in Excel
  • How to Replace Text in Excel Formula
  • Replace Text of a Cell Based on Condition in Excel

<< Go Back to Find and Replace | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
How to Show Dash Instead of Zero in Excel (4 Easy Methods) (2024)

References

Top Articles
Latest Posts
Article information

Author: Tish Haag

Last Updated:

Views: 6242

Rating: 4.7 / 5 (67 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Tish Haag

Birthday: 1999-11-18

Address: 30256 Tara Expressway, Kutchburgh, VT 92892-0078

Phone: +4215847628708

Job: Internal Consulting Engineer

Hobby: Roller skating, Roller skating, Kayaking, Flying, Graffiti, Ghost hunting, scrapbook

Introduction: My name is Tish Haag, I am a excited, delightful, curious, beautiful, agreeable, enchanting, fancy person who loves writing and wants to share my knowledge and understanding with you.