You can create a heat map in Excel in two ways: the quickest is to use Conditional Formatting on a range of cells to apply a color scale, and the more visual option is to insert a 3D Maps (formerly Power Map) custom map with a heat map layer. The first method works in every modern Excel version and is ideal for showing patterns in a table; the second is better for geographic data and requires Excel for Microsoft 365, Excel 2019, or Excel 2016 on Windows. This guide walks through both, plus fixes for the usual snags.

What You'll Need

  • Excel 2016 or later (Excel for Microsoft 365, 2021, 2019, or 2016). Conditional formatting color scales work in older versions too, but 3D Maps is not available in Excel for Mac or Excel Online.
  • Your data in a clean table: one row per item, one column per category, with numeric values. Remove blank rows and merged cells.
  • For geographic heat maps: a column of location names (city, state, country) or latitude/longitude pairs, plus a numeric value column.
  • Optional: a separate small table of thresholds if you want custom color rules.

Step-by-Step

Method 1: Conditional Formatting Color Scale (works everywhere)

  1. Select the range of numeric cells you want to color. Include only the values, not the row or column labels, unless you want the labels colored too.
  2. On the Home tab, click Conditional Formatting > Color Scales.
  3. Pick a scale. Red-Yellow-Green is common for performance; Green-Yellow-Red works if high is bad. Hover over each to preview.
  4. To customize, choose More Rules. Set Minimum, Midpoint, and Maximum to Number, Percent, or Percentile, then pick colors. For example, Minimum = 0 (dark red), Midpoint = 50 (yellow), Maximum = 100 (dark green).
  5. Click OK. Excel colors each cell based on its value relative to the others in the range.
  6. To make the colors easier to read, add borders: with the range still selected, go to Home > Borders > All Borders.
  7. If you want the heat map to update automatically, convert your data to a table first (select the range, press Ctrl+T, confirm the range). Conditional formatting then extends to new rows.

Note: menu labels can differ slightly by Excel version, device, and region.

Method 2: 3D Maps Heat Map (Windows desktop only)

  1. Click any cell inside your data table. Make sure the table has a header row with clear names such as City, State, and Sales.
  2. Go to the Insert tab and click 3D Map (in some versions it appears as a globe icon labeled 3D Map). If prompted, enable 3D Maps; Excel may ask to download it the first time.
  3. In the 3D Maps window, the Field List pane appears on the right. Drag your location column (e.g., City) to the Geography area.
  4. Drag your numeric value column (e.g., Sales) to the Height area. A column chart appears on the globe.
  5. In the Layer Pane, click the small arrow next to the layer name and choose Heat Map. The columns change to a heat map layer.
  6. Adjust the heat map settings in the Layer Options: choose the color scheme, set the radius (how far each point spreads), and pick the opacity.
  7. Use the map controls to zoom and rotate. When satisfied, click Capture Screen to insert a static image into your worksheet, or use the ribbon to create a video or export a picture.

Common Mistakes

  • Selecting labels along with values. Text cells are ignored by color scales, but they can throw off the relative scale if they contain numbers stored as text. Select only numeric cells.
  • Using absolute values when relative comparison is needed. A color scale compares values within the selected range. If you want fixed thresholds (e.g., red below 50 regardless of other values), set the Minimum and Maximum to Number in More Rules.
  • Forgetting to convert to a table. Without a table, new rows added later won't inherit the formatting.
  • Expecting 3D Maps on Mac or Excel Online. It is not available there. Use conditional formatting or a third-party add-in instead.
  • Mixing data types in the value column. Ensure all values are numbers, not text with spaces or currency symbols that Excel treats as text.

Tips

  • Use a diverging color scale (e.g., red-white-blue) when values have a meaningful midpoint, such as zero or an average.
  • For large tables, freeze panes (View > Freeze Panes) so labels stay visible while you scroll.
  • To apply the same scale to multiple sheets, copy a formatted cell and use Paste Special > Formats.
  • If you need a heat map on a map but don't have 3D Maps, you can use a scatter chart with colored markers on a map background, but it won't show density like a true heat map.
  • Keep the color legend visible: add a text box explaining the scale, or use a two-color scale with clear min/max labels.

Troubleshooting

Color scale doesn't apply to all cells. Check for merged cells or cells formatted as text. Select the range, go to Home > Number Format, and choose General or Number. Then reapply the rule.

Colors look wrong or reversed. Open Conditional Formatting > Manage Rules, edit the rule, and swap the color order or change the Minimum/Maximum type.

3D Maps button is grayed out. Ensure your data is in a table and that you have a supported Excel version on Windows. Also check that 3D Maps is enabled: File > Options > Add-ins, then manage COM Add-ins and enable Microsoft Power Map for Excel.

Heat map layer not showing. In the Layer Pane, confirm the layer is set to Heat Map and that a numeric field is in the Height area. If you only have a location field, the heat map will not render.

Excel crashes when opening 3D Maps. Update your graphics driver and Excel to the latest version. If it persists, try disabling hardware graphics acceleration in File > Options > Advanced.

Frequently Asked Questions

Can I create a heat map in Excel for Mac?

You can use conditional formatting color scales on any version, including Mac. The 3D Maps feature is not available on Mac.

How do I make a heat map from text categories?

Arrange your data as a matrix: categories in rows and columns, with numeric values in the cells. Then apply a color scale to the numeric range.

Can I use custom colors for the heat map?

Yes. In Conditional Formatting > Color Scales > More Rules, choose Custom and pick your own colors for Minimum, Midpoint, and Maximum.

Why does my heat map show only one color?

All values may be identical or the scale may be set to a single color. Check the rule settings and ensure your range contains varied numbers.

Is there a heat map chart type in the Insert Charts menu?

No. Excel does not have a built-in heat map chart type. Use conditional formatting or 3D Maps as described above.