Menu
×
   ❮   
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE
     ❯   

Google Sheets Color Scale Formatting


Color Scale Formatting

Color Scales are premade types of conditional formatting in Google Sheets used to highlight cells in a range to indicate how large or small the cell values are.

Here is the Color scale part of the conditional format rules menu:

You can access the menu by selecting the Conditional formatting option in the Format menu.


Color Scale Options

From the conditional format rules menu you can choose:

  • Which cells the color scale applies to
  • What colors the scale uses
  • The min, mid, and max points

Apply to range

In the Apply to range field you can enter the cells and ranges that the color scale applies to.

You can enter cells and ranges separated by a comma , into the field.

You can also click the icon in the right of the field to select data ranges:

This will open a dialog box where you can add ranges by selection:

Custom color scale

You can customize the color scale by selecting min/mid/max point color icons on the right-hand side:

This will bring up a color picking menu. See the Format colors chapter for a detailed guide of how to customize colors.

Custom Min/Mid/Max Points

The color scale will apply relative to the chosen min/mid/max points.

The default option is Min/Max value:

With the Min/Max value option, google sheets will choose the min and max points based on the largest and smallest values in the selected range.

The other options are:

  • Number
  • Percent
  • Percentile

These options will let you specify precisely what the min, mid, and max points should be.



Color Scale Formatting Example (Min/Max Values)

Highlight the Speed values of each Pokemon with Color scale conditional formatting.

Copy Values

Conditional formatting, step by step:

  1. Select the range of Speed values C2:C10

  1. Click on the Conditional Formatting option in the Format menu

The Conditional Formatting menu will appear in the right-hand side of the spreadsheet:

  1. Select the Color Scales option

There are 9 default color scale options to choose from.

The color at the right-hand side of the icons will apply to the highest values by default.

  1. Click on the Preview scale "Choose Default Format"

  1. Select the "White to green" Color scale

Now, the Speed value cells will have a colored background highlighting:

Dark green is used for the highest values, and white for the lowest values.

Charizard has the highest Speed value (100) and Squirtle has the lowest Speed value (43).

All the cells in the range gradually change color from dark green, to ligher greens and then to white.


×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.

Copyright 1999-2024 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.