Color Code Number Ranges in Google Sheets

Jacob Jul 28, 2026

Ever found yourself drowning in a sea of numbers in Google Sheets, wishing you could make sense of it all at a glance? Color coding number ranges to the rescue! This powerful technique allows you to quickly identify trends, outliers, and patterns in your data. Let's dive into how to color code number ranges in Google Sheets and transform your data into a colorful masterpiece.

How to get the HTML color codes in Google Sheets - Plus every color in the color picker!
How to get the HTML color codes in Google Sheets - Plus every color in the color picker!

Before we get started, ensure you're working with Google Sheets. If you're not, don't worry, the process is similar in other spreadsheet software like Excel. Now, let's get those numbers shining bright!

📊 Color Coded Dropdowns in Google Sheets
📊 Color Coded Dropdowns in Google Sheets

Understanding Conditional Formatting

To color code number ranges in Google Sheets, we'll be using a feature called Conditional Formatting. This tool allows you to apply formatting to cells based on specific conditions, such as cell value, text comparison, or custom formula.

How to Number Rows in Google Sheets (Add Serial Numbers)
How to Number Rows in Google Sheets (Add Serial Numbers)

In our case, we'll be using the 'Format cells if...' rule to apply colors based on the value of the cells. Let's explore how to set this up.

Setting Up the Rule

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

To begin, select the cells you want to format. Then, click on 'Format' in the menu, hover over 'Conditional formatting', and click on 'Format cells if...'. This will open a dialog box where you can set up your rule.

In the 'Format cells if...' dialog box, you'll see several options. For our purpose, we'll use the 'Custom formula is' option. This allows us to apply formatting based on a specific formula. We'll use this to target our number ranges.

Creating the Formula

the color code for all different types of computers and their names are shown in this chart
the color code for all different types of computers and their names are shown in this chart

Now, let's create the formula to target our number ranges. The formula structure is as follows: '=AND(A1>min_value, A1

For example, if you want to color cells between 10 and 50, your formula would look like this: '=AND(A1>10, A1<50)'. This formula tells Google Sheets to apply the formatting rule to any cell in column A that contains a number between 10 and 50.

Applying Colors to Your Ranges

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

With your formula set, it's time to apply some color! In the 'Format cells if...' dialog box, click on the paint can icon to open the formatting options. Here, you can choose the fill color for your cells.

Once you've chosen your color, click 'Done' to apply the formatting. You'll see your selected cells update with the new color. Repeat this process for each number range you want to color code.

How to Color Code in Google Sheets - ModernSchoolBus.com
How to Color Code in Google Sheets - ModernSchoolBus.com
goodnotes pen & highlighter hex codes ♡
goodnotes pen & highlighter hex codes ♡
Master the CODE Function in Google Sheets: Easily Convert Characters to Numeric Codes! (Step-by-Step
Master the CODE Function in Google Sheets: Easily Convert Characters to Numeric Codes! (Step-by-Step
How to Make Negative Numbers Red in Google Sheets - ModernSchoolBus.com
How to Make Negative Numbers Red in Google Sheets - ModernSchoolBus.com
an iphone screen showing the font and numbers in different colors
an iphone screen showing the font and numbers in different colors
Basic Formatting in Google Sheets
Basic Formatting in Google Sheets
Create Custom Color Swatches for Google Drive
Create Custom Color Swatches for Google Drive
How To Color Alternate Rows in Google Sheets
How To Color Alternate Rows in Google Sheets
Google Calendar Color Palette
Google Calendar Color Palette
a color chart with the numbers in different colors and letters on each side, including one letter
a color chart with the numbers in different colors and letters on each side, including one letter
the font and numbers in different colors are displayed on an iphone screen, with text below them
the font and numbers in different colors are displayed on an iphone screen, with text below them
How to Alternate Row Colors in Google Sheets - ModernSchoolBus.com
How to Alternate Row Colors in Google Sheets - ModernSchoolBus.com
How to Color-Code Google Drive Folders & Shortcuts
How to Color-Code Google Drive Folders & Shortcuts
Google Docs Custom Colors
Google Docs Custom Colors
100+ Trending Canva Color Palette Hex Codes 🎨
100+ Trending Canva Color Palette Hex Codes 🎨
CHECK the Conditional Formatting - Teacher Tech with Alice Keeler
CHECK the Conditional Formatting - Teacher Tech with Alice Keeler
How to Use Google Sheets Like a Pro
How to Use Google Sheets Like a Pro
Google Sheets: How to Alternate Row or Column Colors
Google Sheets: How to Alternate Row or Column Colors
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
the logo for create colorful checklists in sheets
the logo for create colorful checklists in sheets

Using Different Colors for Different Ranges

To use different colors for different number ranges, simply create a new rule for each range. Make sure to adjust the formula for each rule to target the correct range. You can also adjust the order of your rules in the 'Conditional formatting' menu to ensure that the correct rule is applied to each cell.

For example, you might use red for values over 100, yellow for values between 50 and 100, and green for values under 50. This can help you quickly identify high, medium, and low values at a glance.

Removing Color Coding

If you ever need to remove the color coding, simply select the cells and click on 'Format' in the menu, then 'Conditional formatting', and finally 'Remove individual rules'. This will remove all conditional formatting rules from the selected cells.

Alternatively, you can edit or delete individual rules in the 'Conditional formatting' menu. This allows you to fine-tune your color coding without losing all your hard work.

And there you have it! With a little bit of effort, you've turned your Google Sheets into a colorful, easy-to-read masterpiece. Color coding number ranges is a powerful tool that can help you make sense of your data and spot trends and patterns at a glance. So go forth and color code, and may your data always shine bright!