Google Sheets Color Based on Value: Ultimate Guide to Conditional Formatting

Joan Jul 01, 2026

Ever found yourself wishing your Google Sheets data could leap off the screen and grab your attention? Well, with conditional formatting, it just might. One of the most powerful features of Google Sheets is its ability to change the color of cells based on their values. This not only makes your data more visually appealing but also helps in quick identification of important or unusual data points.

Earth Tone Google Sheets Planner Templates | Natural & Aesthetic Designs
Earth Tone Google Sheets Planner Templates | Natural & Aesthetic Designs

In this guide, we'll delve into the world of Google Sheets color-based formatting, exploring how to apply colors to cells based on their values, and how to use this feature to enhance your data analysis and presentation.

Google Sheets Tips #1 : How to change the color of an entire row based on the value of a cell
Google Sheets Tips #1 : How to change the color of an entire row based on the value of a cell

Understanding Conditional Formatting

Before we dive into the specifics of color-based formatting, let's ensure we're on the same page regarding conditional formatting. In essence, conditional formatting allows you to apply formatting to a range of cells based on the values in those cells. This could be a fill color, text color, or even icons.

The Ultimate Google Sheets Keyboard Shortcut Cheat Sheet for Beginners & Pros
The Ultimate Google Sheets Keyboard Shortcut Cheat Sheet for Beginners & Pros

Google Sheets offers a wide range of conditions to apply formatting, including 'Cell value is', 'Text is exactly', 'A date is', and many more. But today, we're focusing on the 'Cell value is' condition, which allows us to apply formatting based on the value of a cell.

Applying a Single Color Based on Cell Value

a calendar with clouds above it and the words gray sky in blue, red, white and
a calendar with clouds above it and the words gray sky in blue, red, white and

Let's start with the basics. Say you want to highlight all cells in a column that have a value greater than 100. Here's how you do it:

  1. Select the range of cells you want to apply the formatting to.
  2. Click on 'Format' in the menu, then 'Conditional formatting'.
  3. Under the 'Format cells if...' dropdown, select 'Cell value is'.
  4. In the 'Value or formula' field, enter '>100'.
  5. Choose the formatting style you want, such as fill color, and click 'Done'.

Now, all cells with a value greater than 100 will be highlighted with the color you chose.

Struggling to add Alternating Colors in Google Sheets
Struggling to add Alternating Colors in Google Sheets

Applying Multiple Colors Based on Cell Value

But what if you want to apply different colors based on different value ranges? For instance, you might want to highlight values between 50 and 100 in one color, and values above 100 in another. Here's how:

  1. Follow steps 1-3 from the previous section.
  2. Instead of entering a single value, enter a formula like '>50'.
  3. Choose your first formatting style, then click on the '+' icon to add another rule.
  4. In the 'Value or formula' field of the new rule, enter '>100'.
  5. Choose your second formatting style, then click 'Done'.
the color picker for google sheets is shown in this screenshote screen shot
the color picker for google sheets is shown in this screenshote screen shot

Now, cells with values between 50 and 100 will be highlighted in one color, and cells with values above 100 will be highlighted in another.

Using Color Scales for Better Visualization

the water lily is surrounded by blue and pink flowers
the water lily is surrounded by blue and pink flowers
An easy to follow, quick script for getting the hex code colors for a Google
An easy to follow, quick script for getting the hex code colors for a Google
How to Change Your Google Sheets Theme Color
How to Change Your Google Sheets Theme Color
an image of a computer screen with yellow and blue colors
an image of a computer screen with yellow and blue colors
shades of purple and black with white text on the bottom right corner, which reads
shades of purple and black with white text on the bottom right corner, which reads
Create Custom Color Swatches for Google Drive
Create Custom Color Swatches for Google Drive
a bunch of flowers that are in some kind of color scheme with the names on them
a bunch of flowers that are in some kind of color scheme with the names on them
the color palette is shown with different colors
the color palette is shown with different colors
the words cream, brush, coral peach, azalea are written in different languages
the words cream, brush, coral peach, azalea are written in different languages
an image of the color scheme for a plant's leaves in shades of blue, brown
an image of the color scheme for a plant's leaves in shades of blue, brown
the color palettes are all different colors
the color palettes are all different colors
Create a Beautiful Unique Dashboard in Google Sheets
Create a Beautiful Unique Dashboard in Google Sheets
the color palette is shown in different colors and sizes, including pinks, purples,
the color palette is shown in different colors and sizes, including pinks, purples,
four different color palettes for the navy blue, pale pink, pale green and sky blue
four different color palettes for the navy blue, pale pink, pale green and sky blue
Excel Accounting Sheet - Business Google Sheets Planner Templates | Professional Spreadsheet Desi...
Excel Accounting Sheet - Business Google Sheets Planner Templates | Professional Spreadsheet Desi...
the color chart for different shades of paint
the color chart for different shades of paint
Pink Dream
Pink Dream

While applying single or multiple colors can be useful, sometimes you might want a more nuanced visualization of your data. This is where color scales come in. A color scale applies a gradient of colors based on the values in your cells.

For example, you might want to show the distribution of scores in a column, with the lowest scores at one end of the spectrum and the highest at the other. Here's how to do it:

Applying a Color Scale

Applying a color scale is similar to applying a single color, but with a few differences:

  1. Follow steps 1-3 from the first section.
  2. Under the 'Format cells if...' dropdown, select 'Custom formula is'.
  3. In the 'Value or formula' field, enter a formula like '=score/max_score' to normalize your scores.
  4. Click on the color scale icon to choose your scale. The leftmost color will be applied to the lowest values, and the rightmost color to the highest.
  5. Click 'Done'.

Now, your data will be color-coded based on its values, providing a clear visual representation of your data's distribution.

Using Data Bars for Quick Identification

Data bars are another type of conditional formatting that can help you quickly identify important data points. Instead of filling the entire cell with color, data bars fill only a portion of the cell, with the length of the bar representing the value of the cell.

To apply data bars, follow steps 1-3 from the first section, then select 'Data bars' under the 'Format cells if...' dropdown. You can then choose the style of your data bars and click 'Done'.

And there you have it! With these techniques, you're well on your way to transforming your Google Sheets data into a vibrant, engaging, and informative visual experience. So go ahead, let your data shine!