How to Create a Risk Heat Map in Excel (3 Easy Methods)

Method 1 – Applying Conditional Formatting to Create a Risk Heat Map in Excel

We have a dataset showing math, chemistry, and physics scores. We are going to identify the risk level of every student’s score.

Applying Conditional Formatting to Create a Risk Heat Map in Excel

We consider a mark less than 40 as poor and denote it as a high-risk level. If the obtained mark falls between 40 and 60, we will consider it a medium-risk level, and if the mark falls between 80 and 100, we will consider it a low-risk level.

Applying Conditional Formatting to Create a Risk Heat Map in Excel

Steps:

  • Select the range of the cells C5:E13.
  • Go to the Home tab, select Conditional Formatting, and select the New Rule option.

  • When the New Formatting Rule dialog box appears, select the Format all cells based on their values option.
  • Select the 3-Color Scale in the Format Style box.
  • Enter the numbers 40, 60, and 80 in the Value boxes, respectively, and select your desired colors from the Color dropdowns.
  • Press OK.

Applying Conditional Formatting to Create a Risk Heat Map in Excel

  • Here’s the result.

Applying Conditional Formatting to Create a Risk Heat Map in Excel

Read More: How to Make a Heatmap in Excel


Method 2 – Using Conditional Formatting with a 2-Color Scale Rule

We’ll consider a mark less than 60 as poor and denote it as high-risk. As long as the mark falls between 80 and 100, we will consider it low-risk.

Steps:

  • Select the range of the cells C5:E13.
  • Go to the Home tab, select Conditional Formatting, and select the New Rule option.

Using Conditional Formatting with 2-Color Scale Rules

  • When the New Formatting Rule dialog box appears, select the Format all cells based on their values option.
  • Select 2-Color Scale in the Format Style box.
  • Enter the numbers 60 and 80 in the Value boxes and select your desired colors from the Color options.
  • Press OK.

  • Here’s the result.

Using Conditional Formatting with 2-Color Scale Rules


Method 3 – Creating a Risk Heat Map Using Form Controls

We’ll consider the top 10 marks low-risk and the bottom 10 high-risk.

Steps:

  • Go to the Developer tab, select Insert, and choose the Option Button.

Creating a Risk Heat Map Using Option Buttons

  • Repeat to get another option button and change the names of the two options to Low and High.

  • Put the mouse cursor on the Low button, right-click on it, and select the Format Control box.

Creating a Risk Heat Map Using Option Buttons

  • When the Format Object dialog box appears, click on Checked and press $H$3 in the Cell Link.
  • Repeat with the High button.

  • Select the range of the cells C5:E13.
  • Go to the Home tab, select Conditional Formatting, and select the New Rule option.

Creating a Risk Heat Map Using Option Buttons

  • When the New Formatting Rule dialog box appears, select Use a Formula to determine which cells to Format option.
  • Insert the following code in Format values where this formula is true box.

=IF($H$3=1,IF(C5>=LARGE($C$5:$E$13,10),TRUE,FALSE))

$H$3=1 indicates the Low button. The LARGE function returns the n-the largest value from the dataset. Using the IF function, we will get only the value that is above 80.

  • Select your desired color from the Format option.
  • Press OK.

  • You will get the following output where the values above 80 are highlighted in green.

Creating a Risk Heat Map Using Option Buttons

  • Open Conditional Formatting New Rule again for the range.
  • Select the Use a Formula to determine which cells to Format option.
  • Use the following code in the Format values where this formula is true box.

=IF($H$3=2,IF(C5<=SMALL($C$5:$E$13,10),TRUE,FALSE))

$H$3=2 indicates the Low button. The SMALL function returns the n-the smallest value from the dataset. Using the IF function, we will get only the value that is less than 56.

  • Select your desired color from the Format option.
  • Click on OK.

  • You will get the following output where the values below 56 are highlighted in yellow.

Creating a Risk Heat Map Using Option Buttons


Download the Practice Workbook

Download this practice workbook to exercise while you are reading this article.


Related Articles


<< Go Back to Heatmap in ExcelData Visualisation in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Saquib Ahmad Shuvo
Saquib Ahmad Shuvo

Saquib Ahmad Bhuiyan, holding a BSc degree in Naval Architecture & Marine Engineering from Bangladesh University of Engineering and Technology, skillfully integrates engineering expertise with a passion for Excel. He provides solutions to complex issues as an Excel & VBA Content Developer for ExcelDemy Forum. He demonstrates an enthusiastic mindset and adeptness in managing critical situations with finesse, showcasing his commitment to excellence. Apart from creating Excel tutorials, he is interested in Data Analysis with MS Excel, Rhinoceros,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo