Inside The Web
    Facebook Twitter Instagram
    Inside The Web
    • Office
      • Excel
      • Ms Word
      • OneDrive
      • Google Docs
      • Google Sheets
      • Google Drive
    • Email
      • Gmail
      • Outlook
      • Emal Etiquette
    • Office Etiquette
    • Productivity
    Inside The Web
    Home»Office»Excel»How to Create Heat Map in Excel

    How to Create Heat Map in Excel

    Nisha GurungBy Nisha GurungSeptember 4, 2023 Excel 5 Mins Read

    If you’ve seen data with colors like this in Excel, it’s a Heat Map. While it is mostly used in geographical world maps, nowadays it has been a popular tool for data analysis in websites, businesses, temperatures, and risk management sectors.

    Heat Map’s contrasting color codes with hue, luminance, and saturation are what make it the best tool to illustrate the metrics of data. Just by looking at those color codes, a reader can easily interpret the high, low, and mid points at a glance.

    The common color palette used in Heat Map is warm to cool-toned colors like red, green, orange, yellow, blue, etc. But, of course, it’s up to you to choose the color as per your data analysis type.

    Create Heat Map

    When it comes to shading cells with color, Excel’s conditional formatting is the best. You can apply one of the default color scales. Or, create a custom color scale to make a Heat Map based on values.

    Apply Default Color Scales

    On the Excel sheet, select your data. In the Home tab, click on Conditional Formatting. Select the Color Scales and choose any one of the Colors.

    Create a Custom Color Scale

    Although applying the default color is easy, it does not shade the cells based on the criteria. So, you can create your own custom color scale by defining the minimum, midpoint, and maximum values.

    1. Select your data range.
    2. From the Home tab, go to Conditional Formatting. Click on Color Scales > More Rules.
      go to Conditional Formatting-Color Scales-More Rules
    3. On the New Formatting Rule dialogue box, hover over the Edit the Rule Description menu. Expand the drop-down for Format Style and select 3-Color Scale.
      Expand the drop-down for Format Style and select 3-Color Scale
    4. Now, on the Minimum category, set the criteria:
      Set the Type, Value, Color for Minimum Category
      • Type: Choose a Number format.
      • Value: Enter the Lowest number.
      • Color: Pick a Color to specify a minimum value. This is completely optional.
    5. Just like the Minimum Category, assign Type, Value, and Color for Midpoint and Maximum.
      assign Type, Value, and Color for Midpoint and Maximum
    6. See the Preview at the bottom to see the Heat Map color. If you’re satisfied, click OK to confirm.
      See Preview and click OK
    7. Now, you’ll have the Heat Map Based on the criteria.
      Create Heat Map in Excel using custom color scale

    Heat Map for Pivot Table

    For a Normal Range on your worksheet, the Conditional Formatting applies automatically whenever you add new data. However, this isn’t the case if you are creating a heat map in the Pivot Table. The conditional Formatting does not update for additional range in the table.

    So, after making a Heat Map in the Pivot Table, you need to follow extra steps to update the colors for new entries.

    1. Select the entire data.
    2. On the Home Tab, click on Conditional Formatting and choose Manage Rules.
      click on Conditional Formatting and choose Manage Rules
    3. On the Conditional Formatting Rules Manager window, select Edit Rule.
      select Edit Rule
    4. The Edit Formatting Rule window will show up on your screen. Below the Apply Rule To, select the Third option and click OK. Here, my option is All cells showing “Sum of Quantity sold” values for “Sales Representative”
      select the Third option and click OK
    5. Again, click OK.

    Create a Heat Map Template

    We’ve learned how to create a Heat Map based on the Values above. But, what if you want to create a Heat Map on your sheet without the numbers? For Instance, you might wish to create a template and share it with others. In that case, you can temporarily hide the numbers and display only the color codes for cells.

    1. Select your Heat Map data in your Excel Sheet.
      Select Heat Map
    2. Enter Ctrl + 1 shortcut key for the Format Cells window.
    3. On Format Cells, stay on Number Tab and click on Custom Category.
      stay on Number Tab and click on Custom Category
    4. In the Type field, enter 3 semicolons (;;;) and click OK. This custom format will hide the numbers.
      Enter ;;; and click OK
    5. Now, you won’t have any numbers on your Heat Map.
      Heat Map without Numbers
    NOTE: In case you want to show the numbers for the Heat Map later, select the data. Then, from the Home Tab, change from Custom to Number formatting.

    Create a Dynamic Heat Map

    Heat Maps are dynamic to some extent. Meaning, if you change the value, the color scale will update automatically with the conditional formatting. But, you still have to do it manually, isn’t it? Let’s make your Heat Map more dynamic such that you can switch between two different Heat Maps for the same data.

    To create a Dynamic Heat Map, we will need to go to the Developer Tab. So, check the Tab in the Ribbon and add them if needed. 

    Step 1: Add a Check Box

    1. On your sheet, go to the Developer tab.
      go to the Developer tab
    2. In the Controls group, click on Insert. Below Form Controls, select Check Box.
      Click on Insert and Select Check Box
    3. Now, click anywhere in the sheet to add a Check Box. To rename, double-click on the Check box and enter a different Name.
      Add Check Box in Excel
    4. To link the checkbox to a cell, right-click on the Check Box and pick Format Control.
      Right-click on Check box and choose Format Control
    5. On the Format Control window, hover over the Cell Link menu. Click the collapse icon to select a cell and hit OK. Here, we linked to $J$9 cell.
      Select a cell in cell link and hit OK
    6. Now, when you tick on the Check box, you’ll get TRUE in the linked cell. Similarly, if you untick, it’ll change into FALSE.
      TRUE and FALSE for linked check box cell

    Step 2: Create a Custom Color Scale

    1. Select your data set.
    2. From the Home tab, click on Conditional Formatting. Head to Color Scales > More Rules.
      Conditional Formatting -Color Scales-More Rules
    3. On the New Formatting Rule, set the Format Style to 3-Color Scale.
      set the Format Style to 3-Color Scale
    4. Now, for all Minimum, Midpoint, and Maximum categories, set the type to Formula.
      set the type to Formula for all categories
    5. Then, enter the formula for each of the following Value fields.
      Enter Formula in the Value for all categories
      • Minimum: =IF($J$9 = TRUE, MIN($B$5:$H$12), FALSE)
      • Midpoint: =IF($H$5 = TRUE, AVERAGE($B$5:$H$12), FALSE)
      • Maximum: =IF($H$5 = TRUE, AVERAGE($B$5:$H$12), FALSE)
    6. Choose Color for all three categories and click OK.
      Choose a Different color and click OK
    7. If you tick mark on the Check Box, your data will display a second Heat Map. Similarly, when the linked cell is FALSE, you’ll have the first Heat Map.
      Create a Dynamic Heat Map
    Excel Basics
    Nisha Gurung

      As a Business Student, Nisha first used Excel to outline data trends for her college projects. Later, she started exploring basic Excel functions when she realized it is a powerful tool for all businesses today. Nisha believes she can relate to many of the issues users face when starting their Excel Journey. She uses this knowledge and experience to curate contents that are fit for all types of Excel users. Apart from writing, she enjoys reading books and traveling.

      Related Posts

      Excel By Nisha Gurung

      How to Compare Two Columns in Excel Using VLOOKUP

      Excel By Nisha Gurung

      How to Share Excel Files with Multiple Users

      Excel By Nisha Gurung

      How to Filter Based on a List in Excel

      Add A Comment
      Table of ContentsToggle Table of ContentToggle
      • Create Heat Map
        • Apply Default Color Scales
        • Create a Custom Color Scale
      • Heat Map for Pivot Table
      • Create a Heat Map Template
      • Create a Dynamic Heat Map
      • Home
      • About Us
      • Privacy Policy
      © 2025 Inside The Web

      Type above and press Enter to search. Press Esc to cancel.