To hide negative values in Excel while keeping the underlying data intact, use number formatting or conditional formatting. Number formatting is the simplest method and works instantly for display only—no data is changed. Conditional formatting offers more visual control but is less efficient for large datasets. This guide covers both approaches using built-in Excel features only.

What You'll Need

  • Microsoft Excel (any modern version: 2016, 2019, 2021, Microsoft 365)
  • A worksheet containing negative numbers you want to hide visually
  • Basic familiarity with selecting cells and using the Format Cells dialog

Step-by-Step

  1. Open your Excel workbook and navigate to the sheet containing the negative values.
  2. Select the range of cells where you want to hide negative numbers. You can click and drag to highlight a block, hold Ctrl while clicking to select non-adjacent ranges, or press Ctrl+A after selecting one cell to highlight the entire data region.
  3. Right-click anywhere inside your selected range and choose Format Cells from the context menu. Alternatively, press Ctrl+1 (the number one key) on your keyboard to open the dialog directly.
  4. In the Format Cells window, go to the Number tab.
  5. In the Category list on the left, scroll down and select Custom.
  6. In the Type box at the bottom, delete any existing text and enter the following custom format code: 0;0;"". This tells Excel to display positive numbers as usual (first section), negative numbers as positive (second section—but we’ll override this), and blank out negatives (third section). The final empty pair of quotes ensures negatives show as blank cells.
  7. Click OK to apply the format. Negative values in the selected range will no longer be visible, but they remain in the cell values and will still be included in calculations like SUM or AVERAGE.

Common Mistakes

  • Using 0;0;0 instead of 0;0;""—this will show negative numbers as zero, not blank, which can mislead viewers into thinking the value is zero rather than hidden.
  • Applying the format to the entire sheet unintentionally; always double-check your selection before applying custom number formats.
  • Confusing hiding with deleting—number formatting does not remove or alter data. If you need to exclude negatives from calculations, you must use functions like IF or FILTER, not formatting.
  • Forgetting to reapply the format after inserting new rows or columns—custom formats apply only to the selected cells at the time of application.

Tips

  • Save the workbook immediately after applying the format to preserve your work in case of unexpected crashes.
  • For large datasets, use the Name Box (to the left of the formula bar) to type a range like B2:D1000 and press Enter to quickly select that area before applying the format.
  • Test the format on a small range first—apply it to three cells, one positive, one negative, one zero, to verify it works as expected before scaling up.
  • If you later want to revert the change, repeat the steps and set the Type to General or select General from the Category list.
  • Use conditional formatting if you want to replace negatives with text like "N/A" or color them light gray—this gives more visual flexibility than blanking them out entirely.

Troubleshooting

If negative values still appear after applying the custom format, follow these checks:

  1. Verify the format code—ensure you entered exactly 0;0;"" with double quotes around the third section. Extra spaces, missing semicolons, or single quotes will cause errors.
  2. Check for text entries—if a cell contains the text "-5" (not a number), Excel will not format it. Select the cells, press Ctrl+H, and replace any leading minus signs with nothing—but only do this if you’re certain they’re not intentional text.
  3. Confirm no conditional formatting overrides—select a cell showing a negative and go to Home > Conditional Formatting > Manage Rules. If a rule applies to that cell, it may override your number format. Delete or disable conflicting rules.
  4. Restart Excel—occasionally, Excel’s formatting cache may glitch. Close and reopen the workbook to refresh.
  5. Check regional settings—in rare cases, non-English regional settings change how custom formats are interpreted. Go to File > Options > Advanced > Use system separators and ensure settings match your locale. If unsure, temporarily switch to English (United States) format.

Frequently Asked Questions

Does hiding negative values affect formulas like SUM or AVERAGE?

No. Number formatting only changes how values are displayed. Excel still uses the original signed numbers in all calculations. A cell showing as blank because of formatting still contains its negative value for formulas.

Can I hide negatives only in specific columns?

Yes. Simply select only the columns you want (e.g., column C but not column D) and apply the custom format. You can repeat the process for multiple non-contiguous ranges by holding Ctrl while selecting them before opening Format Cells.

Why do some negatives still show after applying the format?

Most likely, those cells contain text entries (e.g., "-10" instead of -10) or were formatted with a different style later. Press Ctrl+G > Special > Text to quickly find text constants, or use Format > Format Cells to inspect those specific cells.

Does this work in Excel Online or mobile apps?

Yes—the custom number format method works in Excel for the web and mobile apps, but cell selection and menu access may differ slightly. In Excel Online, right-click may not work on all devices; use the Home tab > Number group > Click the small arrow in the bottom-right corner to open Format Cells.

Can I make negatives appear in red but still visible?

Absolutely. Use the custom format 0;[Red]0;"" to show positives in black, negatives in red, and blanks for zero values. Or use 0;[Red]0;0 to show positives as black, negatives in red, and zeros as zero.

What if I need to exclude negatives from calculations instead of hiding them?

Use a formula like =SUMIF(A1:A100,">0") to sum only positive values, or =AVERAGEIF(A1:A100,">0") for averages. For more complex logic, combine IF statements: =IF(A1<0,"",A1) creates a helper column that blanks out negatives before summing.