How to Hide Zeros in Excel: Simple Steps to Clean Up Your Spreadsheets

Hiding zeros in Excel can make your spreadsheet look cleaner and more professional. To do this, you’ll need to use Excel’s built-in formatting options. In just a few steps, you can quickly hide zeros in any range of cells, making your data easier to read. Let’s dive into a step-by-step guide.

How to Hide Zeros in Excel

In this section, we will guide you through the steps to hide zeros in Excel. By the end of these steps, your spreadsheet will look cleaner and less cluttered.

Step 1: Open Your Excel File

Open the Excel file where you want to hide zeros.

First things first, you need to have your Excel file open. If it’s not open already, locate it on your computer and double-click to open it.

Step 2: Select the Range of Cells

Select the range of cells in which you want to hide zeros.

Click and drag your mouse to highlight all the cells where you want to hide the zeros. You can select a single cell, a range, or an entire column or row.

Step 3: Right-Click and Open ‘Format Cells’

Right-click the selected range and choose ‘Format Cells’ from the context menu.

This action will open the ‘Format Cells’ dialog box, where you can adjust various formatting options.

Step 4: Navigate to the ‘Number’ Tab

In the ‘Format Cells’ dialog box, click on the ‘Number’ tab.

Here, you’ll find various categories for number formatting, such as General, Number, Currency, and more.

Step 5: Choose ‘Custom’ Category

Choose the ‘Custom’ option from the list on the left side of the dialog box.

The ‘Custom’ category allows you to create your own number format, giving you more control over how your data appears.

Step 6: Enter a Custom Format Code

In the ‘Type’ field, enter the custom format code 0;-0;;@.

This format code tells Excel to display positive numbers as is, negative numbers with a minus sign, zeros as blank, and text as text.

Step 7: Click ‘OK’

Click the ‘OK’ button to apply the custom format to the selected cells.

Once you click ‘OK,’ Excel will update the formatting for the selected cells, hiding any zeros in those cells.

After these steps, any zeros in the selected range of cells will be hidden. Your spreadsheet will appear cleaner, making it easier for others to read and understand the data.

Tips for Hiding Zeros in Excel

  • Use Conditional Formatting: If you prefer not to use custom formats, conditional formatting can also hide zeros by making the font color match the background color.
  • Check for Hidden Zeros: Make sure to check that the zeros are only hidden and not deleted. Hiding zeros won’t affect your data calculations.
  • Apply to Entire Sheet: If you want to hide zeros across the entire sheet, you can select all cells by clicking the box in the top-left corner of the sheet.
  • Undo if Needed: If you make a mistake, you can always press Ctrl+Z to undo the last action.
  • Custom Formats for Different Needs: Explore other custom format codes if you have specific formatting needs beyond hiding zeros.

Frequently Asked Questions

Can I hide zeros without affecting calculations?

Yes, hiding zeros won’t change any calculations or formulas in your spreadsheet.

Will hiding zeros affect data import/export?

No, hiding zeros is purely a visual change and won’t affect how data is imported or exported.

Can I apply this to multiple sheets at once?

Yes, you can select multiple sheets and apply the custom format to hide zeros across all of them.

Is there a way to quickly unhide zeros?

Yes, you can go back to the ‘Format Cells’ dialog box and choose a different number format to quickly unhide zeros.

Can I use this method in Excel Online?

Yes, the steps are nearly identical in Excel Online, although the interface might look slightly different.


  1. Open your Excel file.
  2. Select the range of cells.
  3. Right-click and open ‘Format Cells’.
  4. Navigate to the ‘Number’ tab.
  5. Choose the ‘Custom’ category.
  6. Enter the custom format code 0;-0;;@.
  7. Click ‘OK’.


Hiding zeros in Excel is a simple but powerful way to clean up your spreadsheets. By following the steps outlined in this article, you’ll be able to make your data more readable and professional. Whether you’re preparing a report or just organizing your own data, hiding zeros can make a big difference in how your information is perceived.

If you found this guide helpful, consider exploring other Excel formatting options to further enhance your productivity. Excel offers a wealth of features that, once mastered, can make managing data a breeze. So, go ahead and try hiding those zeros in your next spreadsheet. You might be surprised at how much cleaner it looks!

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy