How to Create an Excel Heat Map Using UK Outward Postcodes
Question details
The user needs to generate an accurate geographic heat map using UK postcodes, as mapping the full postcodes results in incomplete data visualizations.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Creating geographic heat maps or filled map charts using a dataset of UK locations.
- Observed behavior
- Excel's mapping feature fails to recognize all full UK postcodes (e.g., DN16 3ST), leading to missing data points and an incomplete heat map.
Ensure you have an active internet connection, as Excel's geographic map charts rely on Bing Maps to plot locations accurately.
Extract Outward Codes for Accurate Mapping
Separate the outward postcode (the first part of the postcode, e.g., 'DN16') into its own column. Bing Maps recognizes these broader district codes much more reliably than full, street-level postcodes.
Excel's Map feature works best with regional or district-level geographic data. Full UK postcodes contain both an outward code (district) and an inward code (sector/unit). By isolating the outward code, you significantly improve the software's ability to locate and plot the data.
Right-click the column letter directly to the right of your existing full postcodes and select 'Insert' to create a blank column. Name the header 'Outward Code'.
In the first blank cell of your new column, enter the formula =LEFT(A2, FIND(" ", A2)-1) (assuming your full postcode is in cell A2). Press Enter, then drag the fill handle down to apply this formula to your entire list.
If you have data from multiple countries or want to prevent regional conflicts, add another column titled 'Country' and fill it with 'UK' or 'United Kingdom'.
Highlight your newly extracted 'Outward Code' column alongside your data values. Go to the 'Insert' tab on the ribbon, click on 'Maps', and select 'Filled Map' to generate your visualization.

Switch to WPS Office for Seamless Data Management
If you frequently struggle with complex chart integrations or heavy spreadsheet applications, try WPS Office. It provides a free, lightweight, and familiar interface for managing, cleaning, and visualizing massive datasets, with seamless compatibility for your Excel files.
- 1. Download and Install: Get WPS Office for free from the official website and complete the lightweight installation in seconds.
- 2. Open Your Datasets: Open your existing .xlsx postcode datasets in WPS Spreadsheet without losing any formatting or data integrity.
- 3. Clean and Visualize: Use familiar formulas, text-to-column tools, and rich standard chart options to prepare and present your data effortlessly.

Frequently Asked Questions
Why doesn't Excel recognize my full UK postcodes on the map?
Excel relies on Bing Maps to plot locations. While Bing Maps handles regions, cities, and outward postal codes well, it often struggles to perfectly map highly specific, street-level data like full UK postcodes on a regional heat map.
Is there a way to separate outward postcodes without using formulas?
Yes. You can use the 'Text to Columns' feature. Select your full postcodes, go to the 'Data' tab, click 'Text to Columns', choose 'Delimited', check the 'Space' box, and finish. This splits the postcode into two separate columns.
What should I do if a specific outward code is still mapping to the wrong country?
You need to provide the mapping service with more context. Add an adjacent column labeled 'Country' and populate it with 'United Kingdom'. Select both columns when inserting your map so Excel knows exactly which country's postal system to use.
Can I use 3D Maps to plot full postcodes instead of Filled Maps?
Excel's 3D Maps (formerly Power Map) sometimes handles granular data slightly better than the basic Filled Map chart. You can try highlighting your full data set and navigating to Insert > 3D Map to see if it plots your full postcodes more accurately.




