FormulaCraft

How to apply a color scale by value in Excel and Google Sheets

Excel & Google Sheets
=AVERAGE(B2:B7)

Verified example

Computed by a real spreadsheet engine on the sample data below.

ProductSales
Widget A150
Widget B200
Widget C175
Widget D300
Widget E250

=AVERAGE(B2:B7)215

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Select the range of cells you want to format with a color scale.
  2. 2In Excel, go to the Home tab > Styles group > Conditional Formatting > Color Scales. In Google Sheets, click Format > Conditional formatting.
  3. 3Choose a color scale from the options provided.
  4. 4Adjust the settings if necessary, such as setting specific thresholds for colors.
  5. 5Click OK to apply the color scale.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

Can I use custom colors for my color scale?

Yes, in both Excel and Google Sheets, you can customize the colors used in a color scale.

What happens if I change the data after applying a color scale?

The color scale will automatically adjust to reflect the new data values.

Is it possible to remove a color scale once applied?

Yes, you can remove a color scale by selecting the formatted cells, going to Conditional Formatting in the menu, and choosing 'Clear Rules'. In Google Sheets, click Format > Conditional formatting > Manage rules > Delete.

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: