Tutorialheat mapExcelfloor plan

How to heat map Excel data on a floor plan: three methods

Heat map Excel data on a floor plan three ways: a conditional-format grid, Excel 3D Maps and Power BI, their limits, and two ways to do it live in Spatial Map.

10 min readPublished By Spatial Map team
Retail Mart Store demo in Spatial Map: three floors in 3D with department areas, racks and escalators

How do you heat map Excel data on a floor plan?

To heat map Excel data on a floor plan, you have three options in Microsoft’s own tools: colour a grid of cells that mimics the layout with conditional formatting, plot the data on a picture of the plan with Excel’s 3D Maps custom map, or use a floor-plan custom visual in Power BI. All three work, and all three give you a picture of one period. None knows where the walls are, and none updates when the data changes.

This guide walks through each Excel method and its limits, then shows two ways to put the same data on a live map in Spatial Map: colouring rooms and racks from an uploaded sheet, or a true density heatmap from points. If a snapshot for a meeting is all you need, stay in Excel.

What does your data need first?

Every method starts with the same sheet: a unique ID, a where (X and Y on the plan, or a room name), a how much (visitors, picks, minutes, readings), a floor, and ideally one period. Plot one floor and one period at a time; a heat map of a whole year hides the pattern.

Method 1: how do you build a heat map grid in Excel?

Build a grid of cells that stands for the floor, count your rows into the cells, and colour the cells with a colour scale. It is the classic method, and it works in any version of Excel.

  1. 1
    Make the cells square and number them

    Set the row height and column width to the same size (Home, Format; on the default font a row height of 15 and a column width of about 2.1 give roughly square cells). Decide what one cell means, such as one metre or one aisle bay, and put column numbers across row 1 and row numbers down column B.

  2. 2
    Count your rows into the cells

    Add two helper columns that turn each X and Y into a column and row number, then fill the grid with SUMIFS or COUNTIFS (formulas below).

  3. 3
    Apply a colour scale

    Select the grid, then Home, Conditional Formatting, Color Scales, and pick a two- or three-colour scale.

  4. 4
    Hide the numbers and lay the plan over it

    A custom number format of three semicolons (Format Cells, Number, Custom) shows colour but no digits. In current Microsoft 365 you can insert the plan as a picture and make it partly transparent (Picture Format, Transparency) over the grid.

text·Excel formulas · binning X and Y into grid cells
Helper columns on the data sheet (an Excel table named Data, cell size in a cell named CellSize):
  Col  =INT([@X]/CellSize)+1
  Row  =INT([@Y]/CellSize)+1

One grid cell, with the column number in row 1 and the row number in column B:
  =SUMIFS(Data[Value], Data[Col], C$1, Data[Row], $B2)

Use COUNTIFS instead of SUMIFS to count rows rather than add a value.

Method 2: can Excel 3D Maps heat map a floor plan?

Yes. Excel’s 3D Maps can use any picture as a custom map, such as a floor plan, plot your rows on it with X and Y values, and switch the layer to a heat map. Microsoft documents both steps: creating a custom map in 3D Maps and showing a heat map in 3D Maps.

  1. 1
    Put X and Y in the sheet

    Each row needs an X and a Y that match the picture, which must be a .jpg, .bmp or .png file. Microsoft suggests using Paint to read pixel positions if you have no coordinates yet.

  2. 2
    Open 3D Maps

    In desktop Excel (Microsoft’s guide says to use a desktop version), choose Insert, 3D Map, then New Tour.

  3. 3
    Add the floor plan as a custom map

    Choose Home, New Scene, New Custom Map, browse to your picture, then adjust the X and Y ranges (you can swap the axes or use AutoFit).

  4. 4
    Map your columns and pick Heat Map

    In the Layer pane assign your X and Y columns and add the value to heat. Then click the Heat Map icon for that layer.

The limits come with the tool. You work in a separate 3D Maps window, not on the sheet. One picture is one floor, so a three-storey building needs three scenes, and a new plan size means re-measuring. Microsoft notes that annotations are not available on heat maps. The heat does not follow walls, and you share a screenshot or a video of the tour, not a live link.

Method 3: is there a Power BI floor plan heat map?

Not built in. Power BI’s built-in map visuals are made for geography (places, latitude and longitude), not for X and Y on a plan. The usual route is a third-party custom visual from Microsoft’s AppSource store that fills areas of an image or SVG with a colour scale. Examples are Synoptic Panel by OKViz and Floor Plan Visual by Simpson Associates. Check each visual’s licence, limits and certification status first.

  1. 1
    Prepare the plan and the data

    Most of these visuals need the plan turned into named areas (a picture or SVG with one region per room, drawn in the visual’s own designer), and one data row per area with its exact name and a value.

  2. 2
    Add the visual

    In Power BI Desktop use Get more visuals in the Visualizations pane, search AppSource and add it.

  3. 3
    Bind fields and set the scale

    Put the area name in the category field and the value in the measure, then choose the colour scale.

Power BI is the strongest of the three when the numbers come from a database and need a refresh schedule and report filters. On the plan side it shares the grid method’s limits: areas drawn by hand, colour that ignores walls, one image per floor.

Which method should you use?

Excel gridExcel 3D MapsPower BI visualSpatial Map (paths A and B)
Heat stops at wallsNoNoNoPath B: yes, walls and closed doors stop it. Path A colours whole shapes
UpdatesRebuild or re-pasteRefresh the workbookScheduled refreshRe-import a file (A); as rows change (B)
SharingFile or screenshotScreenshot or videoPower BI reportsA read-only link, no account

How do you put Excel data on a live floor plan in Spatial Map?

Spatial Map has two paths, and they give different results, so pick by what your sheet holds. Path A uploads the sheet onto the rooms and racks you have drawn and colours each shape by its value with style rules. Path B sends rows that carry coordinates to a table and switches on the Heatmap, a true density map where the heat stops at walls and closed doors. The map Excel data on a floor plan page describes the same flow, and the indoor heatmap software page the Heatmap itself.

Path A: colour shapesPath B: point heatmap
Your sheet holdsOne row per room, rack cell or bin, naming its placeOne row per point, with longitude, latitude and a number
You getEach room or rack coloured by its value (steps, set by rules)A smooth density map; heat stops at walls and closed doors
How rows get inIntegrations, Upload file (a wizard)A table, filled through the write API (or a REST source)
UpdatingRe-import the file from its cardPost the rows again
Good forOccupancy by room, stock by rack, status by zoneFootfall, picks, reads, readings: many points in open space

Both start the same way: import the floor plan and draw its rooms, walls, doors and racks first. The shapes are what the colours land on, and what the heat stops at. AI Map drafts them for review; see how to create an indoor map.

Path A: how do you colour rooms and racks from a spreadsheet?

Upload the sheet so each row lands on the shape it names, then let style rules colour the shapes by a value, for example red above a threshold. This is the honest spreadsheet-to-map result: one colour per room or rack, not a smooth gradient.

  1. 1
    Name the shapes the way the sheet does

    A row finds a room by the name of its area, and the name must match exactly, apart from spaces at the ends: “Room 101” does not find “room-101”.

  2. 2
    Shape the sheet

    A header row, one column that names the place (a room name, a bin label, a code, or a rack with a row and column), and the value columns. CSV, TSV, Excel, JSON and GeoJSON up to 10 MB are accepted; a workbook is read from its first sheet with data.

  3. 3
    Upload and match

    Open Integrations, then Add integration, then Upload file. On Match, choose Other shape and the shape type Polygon for rooms, or Bin label, External code or Grid cell for rack cells.

  4. 4
    Map the columns

    Send each column to a built-in field (External code, SKU, Capacity, Notes or Status) or to a custom attribute. Status accepts only empty, occupied or reserved, so put a number such as visitors in Capacity or a custom attribute. Check the Preview, then import.

  5. 5
    Colour the shapes with style rules

    In the editor, clear the selection and open Style rules in the side panel. Add a rule with the scope Polygon (or Rack cell), a condition such as custom.visitors greater than 200, and a fill colour. Add one rule per band, with a lower and an upper bound on each so bands do not overlap.

The colours show in preview and on share links, and Re-import on the file’s card loads a newer sheet. Path A cannot place points or draw a gradient inside a room: a row has to name an existing shape. See the style rules guide and the integrations guide.

Path B: how do you get a true density heatmap from many points?

Send the rows to a table, show the table with a data link, and switch on the Heatmap. Points are placed by longitude and latitude, so each row needs both, plus a number to weight by. Spreadsheet upload does not create a table and the Tables screen has no paste or import, so rows arrive through the table write API (or a REST source).

  1. 1
    Shape the sheet

    One row per point, with a unique ID, a longitude, a latitude (decimal degrees) and a number to weight by, such as visitors or minutes. A sheet in plan metres needs a one-off conversion; the formulas are below.

  2. 2
    Create a table

    Go to Tables, then Create new table, name it and choose a kind such as Marker / POI. Make lat, lng and your number column Number fields, so the number can be used as a weight.

  3. 3
    Load the rows

    Type a few on the Records tab, or post the sheet through the table write API, up to 1,000 rows per bulk call; a short script that reads the workbook can do it. A table can also pull rows from a REST URL on a schedule.

  4. 4
    Add a data link

    In the editor choose Data links, New link, pick the table and the Live location marker mode. Under Connect fields set Longitude to lng and Latitude to lat. Choose which floor the layer shows on and save.

  5. 5
    Switch on Heatmap

    Open the facility in preview or on a share link. In the pill next to Live and Cluster, click Heatmap and choose Heatmap and items or Heatmap only. With one layer ticked, set the Weight to your number column.

Creating a table for the points
Create new table page: step 1 “Name it and say what it holds” with the Table name field and nine kind cards (Polygon / area, Circle, Marker / POI, Asset (mobile), Camera, Sensor, Shipment, RFID tag, Streaming / batch replay), and step 2 “Choose its fields” listing External code and Longitude rows with API key, Type and Required / Unique toggles
Create new table page: step 1 “Name it and say what it holds” with the Table name field and nine kind cards (Polygon / area, Circle, Marker / POI, Asset (mobile), Camera, Sensor, Shipment, RFID tag, Streaming / batch replay), and step 2 “Choose its fields” listing External code and Longitude rows with API key, Type and Required / Unique toggles
text·Excel formulas · plan metres to latitude and longitude
Plan offsets in metres (X east, Y north) from a reference point with known latitude and longitude:
  Latitude   =Lat0 + Y / 111320
  Longitude  =Lng0 + X / (111320 * COS(RADIANS(Lat0)))

These are accurate enough over a building. Use the real latitude and longitude of one surveyed corner as the reference; a marker’s side panel in the editor shows its Lat and Lng. If the plan is not drawn with north up, rotate X and Y first.

bash·curl · bulk upsert two points into a table
curl -X POST https://app.spatialmap.io/api/v1/public/tables/rows/bulk \
  -H "Authorization: Bearer $SPATIALMAP_TABLE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "rows": [
      { "entityKey": "P-001", "payload": { "name": "Entrance A", "lat": 52.31004, "lng": 4.76021, "visitors": 412 } },
      { "entityKey": "P-002", "payload": { "name": "Cafe", "lat": 52.31011, "lng": 4.76043, "visitors": 187 } }
    ]
  }'
The Connect fields step of a Live location marker link
Edit data link dialog for a Live location marker link at section 6 Connect fields: Longitude lng, Latitude lat, Elevation (optional) set to From field with elevation_m, Cluster group (optional) left at “— pick a field —” and Label field name, followed by section 7 Style with a green person marker
Edit data link dialog for a Live location marker link at section 6 Connect fields: Longitude lng, Latitude lat, Elevation (optional) set to From field with elevation_m, Cluster group (optional) left at “— pick a field —” and Label field name, followed by section 7 Style with a green person marker

Details that matter once it is on:

  • The Heatmap button only appears when the facility has a point layer. That means a data link in the Live location marker mode (Historical movement counts too). Without one, there is nothing for it to heat.
  • Weight. The Weight menu lists the number fields of the layer’s table: “Number of items” by default, or a field such as visitors. A weight works with one layer at a time; several layers can be ticked, each in its own colour.
  • One floor at a time. With several floors on screen the viewer pauses the heatmap and asks you to pick one. In tilted 3D views, heat behind a wall is hidden.
  • Sharing. The setting is kept in the page address, so a copied link opens with the same heatmap, layers and weight, with no account needed.

For warehouse pick density in particular, see warehouse heat map.

What does Spatial Map not do here?

It does not read an open Excel workbook: data arrives when you upload a file or post rows, not through a live link to a file on your computer. It draws what your rows say and does not count people or compute positions. A heatmap is a view of the rows; for numbers and exports, use reports. A 7-day free trial covers up to 5 facilities with no card, and Pro is $60 a month or $600 a year for up to 4 facilities.

Quick answers

Can Excel make a heat map on a floor plan image? Yes: 3D Maps with a custom map picture and X and Y columns, or a conditional-format grid with the picture laid over it.

Does the heat stop at walls? Not in Excel or Power BI. In Spatial Map’s Heatmap (path B) it stops at walls and closed doors that are drawn on the map. Path A colours whole rooms and racks instead.

Does the map update when I change my spreadsheet? Not by itself. For an uploaded sheet, click Re-import on the file’s card after you change the file. For a table, re-post the rows or edit them on the Records tab.

Try the platform your data belongs on.

Spatial Map turns spreadsheets, sensor streams, and CAD drawings into one live 3D facility view — nothing to install, seven-day free trial.

Keep reading