Skip to main content

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…

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


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!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations