What a heat map does and when to use one
A heat map in Excel uses color to show you where numbers are high, low, or somewhere in between across a range of cells. Instead of reading hundreds of numbers, you see red cells where values are large, blue cells where they are small, and shades in between. This works because your eye catches color patterns faster than it reads numbers.
Heat maps are useful when you have organized data in a table — like monthly expenses by category, sales numbers by region, or temperature readings across days. They help you spot which months were expensive, which regions performed best, or which days were hottest without scanning every cell.
Key Takeaways
- Excel's conditional formatting feature creates heat maps by coloring cells based on their values, and you access it through the Home tab in the ribbon.
- You select the range of numbers you want to visualize, choose a color scale from the conditional formatting menu, and Excel applies the colors automatically.
- A two-color scale (like blue to red) works well for straightforward comparisons, while a three-color scale (blue to white to red) shows high, medium, and low values more clearly.
- You can adjust which colors represent which values, and you can remove the heat map later by clearing the formatting without changing the numbers underneath.
Selecting the data range for your heat map
Start by opening your spreadsheet and identifying the cells that contain the numbers you want to visualize. Do not include headers or labels — select only the numeric values. For example, if you have a table with months down the left side and expense categories across the top, select only the cells with dollar amounts, not the row and column labels.
Click on the first cell in your range, then hold Shift and click on the last cell. Excel will highlight all cells between them. If your data is not in one continuous rectangle, you can select multiple separate ranges by holding Ctrl and clicking on each range, but a single rectangle is simpler to work with.
Opening conditional formatting and choosing a color scale
With your range selected, look at the top of Excel and find the Home tab in the ribbon. In the Styles group, click on Conditional Formatting. A dropdown menu will appear with several options.
Click on Color Scales. Excel will show you preset options: two-color scales (like blue-red or green-yellow) and three-color scales (like blue-white-red). A three-color scale is often clearer because the middle color (usually white or yellow) represents medium values, making it easier to see which cells are truly high or low. Choose the one that matches what you want to see, and Excel applies it when ready to your selected range.
Understanding what the colors mean
By default, Excel assigns colors based on the actual values in your range. The lowest number gets the "cold" color (usually blue), the highest gets the "hot" color (usually red), and everything in between gets a shade in the middle. This happens automatically — you do not have to set thresholds yourself.
If you want to change which colors represent which values, right-click on the colored range and select Conditional Formatting Rules Manager. Click Edit Rule, and you can swap the colors or change the values that trigger each color. Most of the time the default assignment works fine, so you can skip this step unless the colors feel backwards to you.
Removing or changing a heat map
If you want to remove the heat map and see only the numbers again, select the range, go to Home > Conditional Formatting, and click Clear Rules. Choose Clear Rules from Selected Cells. The colors disappear, but your numbers stay exactly as they were.
To change the color scheme without starting over, select the range again, go to Conditional Formatting > Color Scales, and pick a different preset. The new colors explore when ready. You can experiment with different scales to see which one makes patterns easiest to spot.
Common mistakes and how to avoid them
The most common mistake is selecting headers or labels along with your numbers. If your range includes text cells, Excel either ignores them or produces unexpected colors. Always select only the numeric cells.
Another mistake is explore a heat map to data that is not organized in a table. Heat maps work best when each row and column represents a meaningful category (like months and expense types), not when data is scattered or mixed with other information. If your data is messy, organize it into a clean table first.
A third mistake is using a heat map when a straightforward sort or filter would be faster. If you just need to find the three largest numbers in a column, sorting is quicker than creating a heat map. Use heat maps when you want to see patterns across a two-dimensional table at a glance.
Frequently Asked Questions
Can I use a heat map on data that includes negative numbers?
Yes. A three-color scale works especially well because you can set the middle color to represent zero, negative numbers get one color, and positive numbers get another. This makes it straightforward to see at a glance which cells are in the red and which are in the black.
What if I want to use custom colors instead of the presets?
Right-click the range, select Conditional Formatting Rules Manager, and click Edit Rule. You can change each color in the scale to any color you want. Click the color box next to each value and choose from Excel's color palette.
Does the heat map update automatically if I change the numbers?
Yes. The colors recalculate when ready whenever you edit a cell in the range. If you change a number from 50 to 500, the color updates to reflect its new position in the range.
Can I print a heat map?
Yes. The colors print exactly as they appear on screen. If you want to print without colors, remove the conditional formatting before printing, or print to PDF and the colors will be included there too.