How to Build a Sales Heatmap in Excel

Create a year-by-month revenue matrix and apply one consistent conditional-formatting color scale to all values. Retain numeric labels and explain the scale. December 2026 is the largest observation at 25,000. A single color scale makes years comparable.
By Better Analyst3 min read
On this page

Start with the sample data

This example uses synthetic business data in USD. Download the CSV and import it through Excel’s Data → From Text/CSV. Set dates to Date, amounts to Decimal Number, and identifiers to Text. The examples use Excel for Microsoft 365 on desktop with English formula names and comma separators.

Download the sample CSV · Data dictionary

Keep an untouched copy of the input. These are educational examples, not customer records or measured customer outcomes.

The result to check

Highest monthly revenue: 25,000 USD

December 2026 is the largest observation at 25,000. A single color scale makes years comparable.

Build the analysis in Excel

1. Prepare the source and scope

Import sales.csv into a new worksheet with headers in row 1. Leave the source columns in their original order for the formulas below. Review the data dictionary before choosing the reporting period. Keep identifiers as text and convert numeric columns explicitly. Save a working copy so you can return to the original fixture.

2. Build the calculation

Create a year-by-month revenue matrix and apply one consistent conditional-formatting color scale to all values. Retain numeric labels and explain the scale.

=MAX(D2:D25)

3. Reconcile and interpret the output

The expected check is highest monthly revenue: 25000 USD. December 2026 is the largest observation at 25,000. A single color scale makes years comparable. If your result differs, inspect the selected rows, data types and date filters before changing the formula.

4. Adapt the workflow to a recurring report

Replace the sample with a copy of your own source, retaining the same column meanings and units. Extend bounded ranges to include new rows, refresh PivotTables where used, and compare the result to an independent source total. Record the reporting period and any exclusions beside the output. Do not apply independent color scales to rows when readers need to compare absolute amounts.

Checks before using your own data

  • Do not apply independent color scales to rows when readers need to compare absolute amounts.
  • Keep blanks distinct from zero. Investigate missing records rather than hiding errors with a blanket IFERROR formula.
  • Verify results after changing filters, sorting rows or appending a new period. The sample output is a check for this fixture, not a forecast for your business.

See the workflow in Better Analyst

A useful report keeps the source data close to the result. Use the totals you checked above as a reference when reviewing an analysis or dashboard.

Better Analyst showing a coffee sales table alongside scatter, distribution and box plots
The Better Analyst analysis workspace pairs source data with charts. This existing coffee-sales demo illustrates the interface; its figures are separate from this article’s sample. Select the image to see it full size.

Tools and reference guides

Continue with your own data

Create charts from your data

See the supported workflow and upload your file when you are ready. The sample is not loaded automatically.