Jul 28, 2026 — Digital Edition
Gloria Ideas
Independent Journalism & Insight
Feature

"Color Code Positive & Negative Numbers in Google Sheets"

Color-coding numbers in Google Sheets can greatly enhance readability and understanding of your data. This is particularly useful when dealing with positive and negative numbers. Here's how you can achieve this:

How to Change Your Google Sheets Theme Color
How to Change Your Google Sheets Theme Color

Google Sheets offers a simple way to color-code cells based on their values. You can use conditional formatting to apply different colors to positive and negative numbers. Let's dive into the process:

An easy to follow, quick script for getting the hex code colors for a Google Sheet cell
An easy to follow, quick script for getting the hex code colors for a Google Sheet cell

Understanding Conditional Formatting

Conditional formatting is a feature in Google Sheets that allows you to apply specific formatting to cells based on their values. This could be text color, fill color, or even icons.

How to Make Negative Numbers Red in Google Sheets - ModernSchoolBus.com
How to Make Negative Numbers Red in Google Sheets - ModernSchoolBus.com

In our case, we'll use conditional formatting to apply different fill colors to positive and negative numbers:

Applying Conditional Formatting

Count the Colors in Google Sheets - Teacher Tech with Alice Keeler
Count the Colors in Google Sheets - Teacher Tech with Alice Keeler

To start, select the range of cells containing the numbers you want to color-code. Then, click on "Format" in the menu, hover over "Conditional formatting", and select "Format cells if...", as shown below:

Setting Up Rules

In the "Format cells if..." dialog box, you'll set up rules to determine which cells should be formatted and how. Here's how to set up rules for positive and negative numbers:

How to Color Code in Google Sheets - ModernSchoolBus.com
How to Color Code in Google Sheets - ModernSchoolBus.com
  1. Under the 'Format cells if...' dropdown, choose 'Cell value is'.
  2. In the 'Value or formula' field, enter "<0" for negative numbers. This will select all cells with values less than zero.
  3. Choose the formatting style you want (e.g., fill color) and select your preferred color.
  4. Click 'Done'.

Repeat these steps to create another rule for positive numbers. In the 'Value or formula' field, enter ">0" for positive numbers:

  1. Click on 'Add another rule'.
  2. Under the 'Format cells if...' dropdown, choose 'Cell value is'.
  3. In the 'Value or formula' field, enter ">0".
  4. Choose your formatting style and color for positive numbers.
  5. Click 'Done'.
How to Color-Code Google Drive Folders & Shortcuts
How to Color-Code Google Drive Folders & Shortcuts

Adjusting Rules for Zero

If you want to color-code zero separately, you can add another rule. Here's how:

Basic Formatting in Google Sheets
Basic Formatting in Google Sheets
a screenshot of an excel spreadsheet with the add tab highlighted in red
a screenshot of an excel spreadsheet with the add tab highlighted in red
Create Custom Color Swatches for Google Drive
Create Custom Color Swatches for Google Drive
TikTok · Stephanie Nash
TikTok · Stephanie Nash
the color chart for different types of hair dyes and how they are used to create them
the color chart for different types of hair dyes and how they are used to create them
Google Calendar Color Palette
Google Calendar Color Palette
Google Sheets For Beginners - Lock Top Row
Google Sheets For Beginners - Lock Top Row
the color chart for each type of paint, including different colors and numbers on lined paper
the color chart for each type of paint, including different colors and numbers on lined paper
Coloring automatically in Google Sheets
Coloring automatically in Google Sheets
Google Keep
Google Keep
Google Sheets: Alternate Colors - Teacher Tech with Alice Keeler
Google Sheets: Alternate Colors - Teacher Tech with Alice Keeler
Google Sheets Customization Tips
Google Sheets Customization Tips
Google Sheets: How to Alternate Row or Column Colors
Google Sheets: How to Alternate Row or Column Colors
100+ Trending Canva Color Palette Hex Codes 🎨
100+ Trending Canva Color Palette Hex Codes 🎨
an iphone screen showing the settings for different types of buttons and numbers on each button
an iphone screen showing the settings for different types of buttons and numbers on each button
the color scheme for different font and numbers
the color scheme for different font and numbers
How to Get the Absolute Value in Google Sheets
How to Get the Absolute Value in Google Sheets
google calendar dark color code aesthetic
google calendar dark color code aesthetic
the different font and numbers used in this poster are drawn with crayon pencils
the different font and numbers used in this poster are drawn with crayon pencils
Pastel hex codes for GoodNotes
Pastel hex codes for GoodNotes

Creating a Rule for Zero

Follow the same steps as above, but this time, in the 'Value or formula' field, enter "=0". This will select all cells with a value of zero:

  1. Click on 'Add another rule'.
  2. Under the 'Format cells if...' dropdown, choose 'Cell value is'.
  3. In the 'Value or formula' field, enter "=0".
  4. Choose your formatting style and color for zero.
  5. Click 'Done'.

Now, your positive, negative, and zero values should be color-coded according to your chosen formatting. This makes your data much easier to read and understand.

Remember, you can always adjust the rules or formatting by clicking on the three dots (...) that appear when you select a cell with conditional formatting. This will open a menu where you can edit or delete rules.

Color-coding your numbers in Google Sheets is a powerful tool that can help you analyze and understand your data more effectively. So, go ahead and give it a try!