To filter out zeros in Excel, the fastest method is to use the Filter tool: click the filter arrow in your column header, uncheck "0" from the list of values, and click OK. This hides all rows containing zeros without deleting the data, allowing you to focus only on active values.

Filtering out zeros is essential for cleaning up large datasets, making reports more readable, and preventing "visual noise" when dealing with formulas that return zero values in empty cells. Depending on your goal, you can either hide the rows entirely using a filter or make the zeros invisible using formatting.

What You'll Need

  • A computer with Microsoft Excel installed (Windows or macOS).
  • A dataset containing numerical values where some cells contain 0.

Step-by-Step

Depending on whether you want to hide the entire row or just make the zero invisible, follow one of these three methods. Note that menu labels may differ slightly depending on your version of Excel or region.

Method 1: Using the Filter Tool (Hides Rows)

  1. Click any cell within your data range.
  2. Go to the Data tab on the top ribbon and click the Filter button. You will see small drop-down arrows appear in the header of each column.
  3. Click the drop-down arrow in the column containing the zeros.
  4. In the list of values that appears, scroll down to find 0.
  5. Uncheck the box next to 0.
  6. Click OK. All rows containing a zero in that specific column are now hidden from view.

Method 2: Using Number Filters (For Large Datasets)

  1. Click the filter drop-down arrow in the column header.
  2. Hover your mouse over Number Filters.
  3. Select Does Not Equal... from the side menu.
  4. In the dialog box that appears, type 0 in the text field.
  5. Click OK. This is often faster than scrolling through a long list of checkboxes.

Method 3: Using Custom Formatting (Hides the 0 but keeps the row)

  1. Highlight the cells or columns where you want to hide zeros.
  2. Right-click the selected area and choose Format Cells... (or press Ctrl + 1 on Windows / Cmd + 1 on Mac).
  3. In the Category list on the left, select Custom.
  4. In the Type box, delete the existing text and enter the following code: 0;-0;;@
  5. Click OK. The zeros are still in the cells (and used in calculations), but they are no longer visible to the eye.

Method 4: Global Excel Setting (Hides all zeros in the sheet)

  1. Go to the File tab and select Options.
  2. Select the Advanced category from the left-hand menu.
  3. Scroll down to the section titled Display options for this worksheet.
  4. Uncheck the box that says Show a zero in cells that have zero value.
  5. Click OK. Every zero across the entire active worksheet will now be hidden.

Common Mistakes

  • Confusing "Hide" with "Delete": Using a filter only hides the row. If you delete the filtered-out data, you are removing it from the document permanently.
  • Applying Filters to Blank Cells: Sometimes a cell looks like it contains a zero but is actually empty (null). Filtering out "0" will not hide truly empty cells; you must also uncheck "(Blanks)" in the filter menu.
  • Formatting Overwrite: Using Custom Formatting (Method 3) may overwrite existing currency or percentage symbols. You may need to add those symbols to your custom code (e.g., $0;-$0;;@).

Tips

  • Quick Clear: To bring your zeros back quickly after filtering, go to the Data tab and click Clear (next to the Filter button) to reset all filters in the current range.
  • Keyboard Shortcut: You can toggle filters on and off quickly by pressing Ctrl + Shift + L (Windows).
  • Table Conversion: If you convert your data range into an official Excel Table (Insert > Table), filters are added automatically to your headers, making the process faster.

Troubleshooting

If the zeros are still appearing after filtering:

  • Check if the "zeros" are actually text. If the number is formatted as text, Excel treats it differently. Select the column, go to the Data tab, and use Text to Columns > Finish to convert text-numbers back to actual numbers.
  • Ensure you haven't accidentally filtered a different column. Check for the small filter icon on all column headers.

If the "Does Not Equal" filter isn't working:

  • Check for hidden decimals. A cell might look like 0 but actually be 0.001. Use the Decrease Decimal button on the Home tab to see if rounding is masking the true value.

Frequently Asked Questions

Does filtering out zeros delete my data?

No. Filtering only hides the rows from view. The data remains in the spreadsheet and is still included in any formulas or totals that reference those cells.

Can I filter out zeros and blanks at the same time?

Yes. When you click the filter drop-down arrow, you can uncheck both "0" and "(Blanks)" before clicking OK.

How do I make zeros reappear after using Custom Formatting?

Select the cells, go to Format Cells, and change the category back to General or Number.

Will hiding zeros via "Advanced Options" affect other sheets?

No. The "Show a zero in cells that have zero value" setting is specific to the individual worksheet you have active when you change the setting.

Why does my filter show "0" and "0.00" as two different options?

This usually happens when there is a mix of data types or different formatting applied to the cells. Excel may perceive them as different values if some are stored as text and others as numbers.