Log in
x
or
x
x
Register
x

or

How to create a heat map with conditional formatting in Excel?

Using a heat map can help you to understand data distribution and variation in a range of cells. This tutorial is going to show how to create a heat map in Excel with conditional formatting under three circumstances.

Create a heat map for a range of cells in Excel
Create a heat map in Excel Pivot Table
Create a dynamic heat map in Excel
More tutorial for charts…


Create a heat map for a range of cells in Excel

Please do as follows to create a heat map for a range of cells in Excel.

1. Select the range with the data you will set heat map for, click Home > Conditional Formatting > Color Scales > Green yellow – red color scale. See screenshot:

Then a heat map with the selected data is created as below screenshot shown.

You can see the selected data are highlighted with various colors. The green color represents larger values, the center color represents middle values, and the red color represents smaller values.

Notes:

  • 1. The highlight color will readjust automatically when values change.
  • 2. If you want to reconfigure the highlight color or other settings, please select the range again, click Home > Conditional Formatting > Manage Rules to get into the Conditional Formatting Rules Manager dialog. Double click the existing rule or select the rule and click the Edit Rule button to open the rule.
  • In the Edit Formatting Rule dialog box, modify the rule based on your needs.

Create a heat map in Excel Pivot Table

Supposing you have created a Pivot Table as below screenshot shown. Now you want to create a heat map for the number data in this Pivot Table, the method is the same as above.

1. Select the number data in the Pivot Table, click Home > Conditional Formatting > Color Scales > Green yellow – red color scale.

Now the heat map is created in the Pivot Table.


Create a dynamic heat map in Excel

In many cases, you don’t want to always display the heat map in your worksheet. You can insert a checkbox to control the heat map. When the checkbox is checked, display the heat map, and when the checkbox is unchecked, hide the heat map. Please do as follows.

1. Select the whole data range, press the Ctrl + T keys at the same time.

2. In the Create Table dialog box, click the OK button.

3. Click Developer > Insert > Checkbox (Form Control), and then draw a checkbox in worksheet.

4. Right click the checkbox and select Format Control. In the Format Control dialog box, enter a cell address into the Cell link box and then click the OK button. In this case, I link the checkbox to cell H1, so I enter H1 into the box.

5. Select the number cells you will use to create heat map, click Home > Conditional Formatting > Color Scales > More Rules. See screenshot:

6. In the New Formatting Rule dialog box, please configure as follows.

  • 6.1 Select 3-Color Scale from the Format Style drop-down list;
  • 6.2 Separately select Formula in the Type boxes under the Minimum, Midpoint and Maximum drop down lists;
  • 6.3 Copy the below formula into the first Value box under the Minimum column;
  • =IF($H$1=TRUE,MIN($C$2:$F$12),FALSE)
  • Copy the below formula into the second Value box under the Midpoint column;
  • =IF($H$1=TRUE,AVERAGE($C$2:$F$12),FALSE)
  • And copy the below formula into the third Value box under the Maximum column;
  • =IF($H$1=TRUE,MAX($C$2:$F$12),FALSE)
  • 6.4 Specify the highlight colors as you need;
  • 6.5 Click the OK button.

From now on, when checking the checkbox, the heat map will display, otherwise, it will be hidden all the time. See below demo:


Related articles

Create a bell curve chart template in Excel Bell curve chart, named as normal probability distributions in Statistics, is usually made to show the probable events, and the top of the bell curve indicates the most probable event. In this article, I will guide you to create a bell curve chart with your own data, and save the workbook as a template in Excel.

Create speedometer/gauge chart in Excel Have you ever tried to create a speedometer chart in Excel? This tutorial provides two methods to help you creating speedometer chart in Excel.

Create a bubble chart in Excel In Excel, a Bubble chart is a variation of a Scatter chart and its data is pointed as bubble. And if your each series has three data as shown as below, creating a Bubble chart will be a good choice to show the data series vividly.

Create dynamic interactive charts in Excel In Excel, if you have created multiple charts based on your range data series, and you want to make the charts look beautiful and clean. To do this, you can create the dynamic interactive charts in your worksheet, when you select one option, your corresponding chart will be showed as following screenshots. Here, I will introduce two types of interactive charts: Interactive charts using Drop down menu and Interactive charts using Option buttons.

Create funnel chart in Excel Have you ever wanted to create a funnel chart to show the data ascending or descending in Excel? In Excel, there is no a direct way to create a funnel chart, but now I will talk about a circuitous method to make a funnel chart in Excel.

More tutorial for charts…


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.