"Color Code Positive & Negative Numbers in Excel: A Step-by-Step Guide"

Jacob Jul 28, 2026

Ever found yourself drowning in a sea of numbers in Excel, wishing you could easily distinguish between positive and negative values? You're not alone. Color coding can be a lifesaver in such situations, making your data more readable and understandable. Let's dive into how you can color code positive and negative numbers in Excel.

Color Coding Drop-down list in Excel l Drop down list in cell #excelshorts #ytshorts #shorts
Color Coding Drop-down list in Excel l Drop down list in cell #excelshorts #ytshorts #shorts

Before we begin, ensure your Excel version is up-to-date. The steps may vary slightly depending on the version you're using. We'll be using Microsoft 365 for this guide. Let's get started!

How To Highlight All Negative Numbers In Red In Excel
How To Highlight All Negative Numbers In Red In Excel

Color Coding Positive Numbers

We'll start by coloring positive numbers green, signifying growth or progress. Here's how:

Excel Custom Number Format Guide • My Online Training Hub
Excel Custom Number Format Guide • My Online Training Hub

1. Select the cells containing the positive numbers you want to color.

Using Conditional Formatting

How to change positive numbers to negative in Excel?
How to change positive numbers to negative in Excel?

Excel's Conditional Formatting feature allows you to apply colors based on specified rules.

2. Click on the 'Home' tab, then click on 'Conditional Formatting' in the 'Styles' group.

3. Select 'Highlight Cell Rules', then choose 'Equal to'.

Sum by Colour in Excel in One Click
Sum by Colour in Excel in One Click

4. In the 'Format cells that are EQUAL TO' dialog box, enter '0' in the 'Format cells with' field, then click the 'Format' button.

5. In the 'Format Cells' dialog box, click on the 'Fill' tab, choose the green color you prefer, then click 'OK'.

6. Click 'OK' again to close the 'Format cells that are EQUAL TO' dialog box.

excel create color - coded drop - down menu
excel create color - coded drop - down menu

Using a Formula

If you want to color cells based on a formula, you can use the 'New Rule' option in Conditional Formatting.

Excel Tutorial - How to Color Code Financial Models
Excel Tutorial - How to Color Code Financial Models
Hex codes
Hex codes
How to Filter by Multiple Colors in Excel (2 Ways) - ExcelDemy
How to Filter by Multiple Colors in Excel (2 Ways) - ExcelDemy
the top ten white colors in each color
the top ten white colors in each color
How to Color Code Cells in Excel (3 Methods) - ExcelDemy
How to Color Code Cells in Excel (3 Methods) - ExcelDemy
How to Color Code Notes for Faster Revision (Study Tips)
How to Color Code Notes for Faster Revision (Study Tips)
How to Make a Number Negative in Excel: A Comprehensive Guide - Earn and Excel
How to Make a Number Negative in Excel: A Comprehensive Guide - Earn and Excel
How To - Color-Coding Your Planner - A Detailed Guide (part 1)
How To - Color-Coding Your Planner - A Detailed Guide (part 1)
How to Get Cell Color in Excel (2 Methods) - ExcelDemy
How to Get Cell Color in Excel (2 Methods) - ExcelDemy
100+ Trending Canva Color Palette Hex Codes 🎨
100+ Trending Canva Color Palette Hex Codes 🎨
CheatSheets (@thecheatsheets) on Threads
CheatSheets (@thecheatsheets) on Threads
Colours 🤍🖤
Colours 🤍🖤
5 rules for a dashboard color palette - Excel Off The Grid
5 rules for a dashboard color palette - Excel Off The Grid
#Excel #Charts: Custom Data Labels that change colors dynamically
#Excel #Charts: Custom Data Labels that change colors dynamically
an iphone screen showing the font and numbers in different colors
an iphone screen showing the font and numbers in different colors
Excel Workbook Theme - Application of Predefined/Custom Themes and Troubleshooting - ExcelDemy
Excel Workbook Theme - Application of Predefined/Custom Themes and Troubleshooting - ExcelDemy
How Can You Alternate Row Colors in Excel? (4 Easy Ways) - ExcelDemy
How Can You Alternate Row Colors in Excel? (4 Easy Ways) - ExcelDemy
How to Make Excel Tables Look Good (8 Effective Tips) - ExcelDemy
How to Make Excel Tables Look Good (8 Effective Tips) - ExcelDemy
How to Hard-Code Phone Numbers in Excel (tutorial with pictures!)
How to Hard-Code Phone Numbers in Excel (tutorial with pictures!)
Custom Data labels in Excel Charts that Change Color based on underlying value
Custom Data labels in Excel Charts that Change Color based on underlying value

7. Repeat steps 1-3, but this time, select 'Use a formula to determine which cells to format'.

8. In the 'Format cells that meet the following conditions' dialog box, enter the formula '=A1>0'. This will color cells where the value is greater than 0 (i.e., positive numbers).

9. Follow steps 5-6 to choose your green color and close the dialog boxes.

Color Coding Negative Numbers

Now, let's color negative numbers red to indicate losses or setbacks.

1. Repeat steps 1-3, but this time, choose 'Less Than' in the 'Highlight Cell Rules' menu.

Using a Formula

12. Repeat steps 7-8, but use the formula '=A1<0'. This will color cells where the value is less than 0 (i.e., negative numbers).

13. Follow steps 5-6 to choose your red color and close the dialog boxes.

And there you have it! You've successfully color-coded your positive and negative numbers in Excel. This should make your data analysis much more intuitive and efficient. Happy crunching!