Formatting Issues

How to Show an Equals Sign for Zero with a Custom Excel Number Format

Olivia MillerOlivia Miller Nov 10, 2026 869 views

Question details

The user wants to format numbers in a spreadsheet so that positive percentages show green up arrows, negative percentages show red down arrows, and zero values display as an equals sign.

How to Show an Equals Sign for Zero with a Custom Excel Number Format
Product
Spreadsheet
Device & OS
not provided
Scenario
Creating visually distinct financial or performance reports using custom number formatting to indicate increases, decreases, and stagnant values.
Observed behavior
The user needs to implement a custom formatting rule to display visual indicators (arrows and equals signs) and specific colors based on the cell's numeric value.
Before you start

Highlight the cells or range containing the percentage values you want to format before applying the custom number rule.

Solution 1Recommended

Apply a Three-Section Custom Number Format

Use the custom formatting feature to define specific displays for positive, negative, and zero values in a single formatting rule.

Custom number formats follow a specific structure consisting of up to four sections separated by semicolons: [Positive Format];[Negative Format];[Zero Format];[Text Format]. By leveraging this structure, you can assign colors and symbols to each state without relying on complex Conditional Formatting rules.

1
Select the target cells

Highlight all the cells containing the percentage or numeric values you wish to format.

2
Open Format Cells dialog

Right-click the selected cells and choose "Format Cells" from the context menu, or simply press the Ctrl + 1 shortcut on your keyboard.

3
Navigate to Custom format

In the Format Cells window, go to the "Number" tab and select "Custom" from the Category list on the left.

4
Enter the formatting code

In the "Type" text box, enter the following three-section code: [Color10] 0% ↑;[Red] 0% ↓;"="

5
Apply the format

Click "OK" to apply the formatting. Your positive numbers will now show a green up arrow, negative numbers a red down arrow, and zero values will display as an equals sign.

Apply a Three-Section Custom Number Format
Color Code References: [Color10] represents a specific shade of dark green in the color index. You can also use [Green] for standard green. Ensure the equals sign is wrapped in double quotes (e.g., "=") so the spreadsheet recognizes it as text.

Format Numbers with Custom Symbols in WPS Spreadsheet

WPS Spreadsheet fully supports advanced custom number formatting, allowing you to effortlessly add visual indicators like directional arrows and text symbols to your data reports without using formulas.

  1. 1. Open your spreadsheet: Launch WPS Spreadsheet and open the workbook containing your dataset.
  2. 2. Select your data: Highlight the data range you want to format with visual indicators.
  3. 3. Open Format Cells: Right-click the selection and choose 'Format Cells', or press Ctrl + 1.
  4. 4. Apply custom format: Under the Number tab, click 'Custom' and paste the formatting code: [Color10] 0% ↑;[Red] 0% ↓;"="
Fully compatible with Microsoft Excel custom number formatting syntax and color indexes.Easily insert special symbols directly from the WPS Ribbon.A free, lightweight, and fast alternative for all your daily spreadsheet tasks.
microsoft office alternative - wps office

Frequently Asked Questions

How do I type the up and down arrow symbols in my formatting code?

You can insert them using the 'Symbol' menu under the Insert tab, copy and paste them from a web page, or use numeric keypad shortcuts: hold 'Alt' and press '24' for an up arrow (↑), and 'Alt' + '25' for a down arrow (↓).

Why is my custom number format showing an error?

Ensure that you are separating the positive, negative, and zero sections with semicolons (;). Also, verify that any text characters or symbols you want to display, like the equals sign, are enclosed in double quotation marks (e.g., "=").

Can I use different colors in my custom number format?

Yes, you can use basic named colors enclosed in brackets like [Red], [Blue], or [Green], or you can use the [ColorN] index where N is a number from 1 to 56 representing different shades from the color palette.

Is conditional formatting better than custom number formats for this task?

Custom number formatting is typically faster, simpler to set up, and uses less processing power than conditional formatting for basic color and symbol changes based solely on whether a value is positive, negative, or zero.