Chart & Visualization Issues

Use Custom Colors for Value Ranges in an Excel Map Chart

Muhammad TalhaMuhammad Talha Nov 18, 2026 869 views

Question details

Use fixed colors for defined value ranges in an Excel map chart instead of a continuous numeric gradient.

Product
Microsoft Excel
Device & OS
not provided
Scenario
The user wants to group geographic data into intervals such as Low, Medium, and High and display those groups on a map.
Observed behavior
A map chart based on numeric values normally displays a continuous color gradient.
Before you start

Arrange your location names and numeric values in columns, and decide the boundaries for each category. Include state or country names where needed to distinguish locations with the same name.

Solution 1Recommended

Create a category-based Excel map chart

Use a helper column to replace the numeric gradient with discrete category colors.

1
Add a category column

Insert a column named Category next to your data. For example, if the value is in B2, enter =IF(B2="","",IF(B2<10,"Low",IF(B2<20,"Medium","High"))) in C2 and fill it down. Adjust the thresholds to match your ranges.

2
Select the map data

Select the location and Category columns, including their headers. If the columns are not adjacent, hold Ctrl while selecting them.

3
Create the map

Go to Insert > Maps > Filled Map. Check that the legend shows your category names rather than a numeric scale.

4
Choose category colors

Select the chart and open Chart Design > Change Colors to choose a categorical palette. To specify an exact color for a region, select its data point, open Format Data Point, and use Fill options if available; repeat for other regions as needed.

Create a category-based Excel map chart
Check exact color assignments: Available color controls can vary by Excel version. A chart palette may not let you assign an exact color to every category at once, so verify the legend and map after formatting.
Free Microsoft Office alternative

Prepare Map Data with WPS Spreadsheets

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open Excel workbooks and prepare category columns for an easier move between office tools; Excel-specific map chart formatting still requires a compatible mapping tool.

Create helper columns for Low, Medium, and High rangesOpen and edit Microsoft Excel XLSX filesWork in a familiar, easy-to-use spreadsheet interfaceUse a lightweight office suite with a free version
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Excel map show a gradient instead of separate colors?

The chart is using numeric values. Add a text category column, such as Low, Medium, and High, and create a map using the location and category columns.

Can I choose an exact color for each range?

Chart Design > Change Colors offers categorical palettes. For an exact color, select a geographic data point and check Format Data Point > Fill; you may need to format regions individually, depending on your Excel version.

Why is a city missing from my filled map?

Excel may not recognize the location or may not support it as a filled geographic region. Add state or country information, or try Insert > 3D Map for a symbol-based map if that feature is available.

How do I change the boundaries between Low, Medium, and High?

Edit the threshold numbers in the helper-column IF formula, then fill the revised formula down the column. The categories and chart can update from the revised data.