Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Insert a Map in Excel Online: Step-by-Step Guide

· 8 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You cannot insert a Google-style custom map in Excel Online. What Excel Online does offer is the Map Chart, which plots your data as coloured regions on a world map, and that is the tool this guide covers. Select your data table with a country, state or province column, go to Insert on the ribbon and choose Maps, then pick the region. A Map Chart renders from your values, so the map updates only when you change the underlying cells — it is a data visualisation, not a picture you can pan and pin. If you genuinely need a browsable street map with pins, you have to build it in desktop Excel with an add-in or paste a static image instead. Menu labels vary slightly by version, device and region, so treat the paths below as a close guide rather than a guarantee.

What You'll Need

  • A free Microsoft account signed in to Excel for the web (office.com or microsoft365.com), or a Microsoft 365 work or school account.
  • A table of data with a text column holding place names — country, state, province, county or region — plus at least one numeric column to drive the colours.
  • Place names spelled the way Microsoft's geographic data recognises them. English country and region names work best; abbreviations can fail silently.
  • No special add-in or licence beyond Excel for the web itself. The Map Chart is included in the browser app's Insert tab.
  • Your data laid out as a proper table or a clean rectangular range with a header row, one header per column, and no blank rows in the middle.

Step-by-Step

  1. Open the workbook in the browser. Go to office.com, sign in and open your file in Excel for the web. This guide is written for the browser version; the Windows desktop app has a slightly different ribbon layout and extra pane options.
  2. Put your places and values side by side. In two adjacent columns, list the place names in one column and the numbers in the other. For example, put Country in A1 and Sales in B1, then country names down column A and figures down column B. A region column plus a count or total is the classic setup: one row per place, no totals row, no merged cells.
  3. Clean the place names before you start. Trim trailing spaces, expand abbreviations to full names (write United States rather than USA, California rather than CA) and make sure each place appears only once. Duplicate rows get added together, which is sometimes what you want and sometimes quietly wrong.
  4. Select the whole range, headers included. Click in the top-left cell and drag to the bottom-right, or click the first cell and press Ctrl+Shift+End. Both columns must be in the selection — the map needs the names to locate the shapes and the numbers to colour them.
  5. Go to Insert and choose Maps. On the Insert tab, find the Maps button and click it. If you see a small dropdown or a group of chart icons, open it and choose the filled map option. On narrow browser windows the ribbon collapses, so you may need to click the Insert tab first to expand it.
  6. Confirm the region. Excel reads your data and picks a map region, usually World or the matching continent. A small pane or menu appears where you can switch the region to World, Europe, North America, a single country and so on. Pick the level that matches your data: country names need the World or continent map, US states need the United States map.
  7. Check the chart appears. A filled map with regions shaded from lighter to darker based on your numbers is inserted next to the table. The legend and colour scale are generated for you. If cells show blank instead, see the troubleshooting section — it almost always means unrecognised place names.
  8. Fine-tune labels and colours. Click the map to select it, then use the chart options to show or hide the legend and data labels. Labels show region names or values and tend to clutter at world level, so turn them on only for a small number of regions. Colour ranges are set automatically from your smallest and largest value.
  9. Move and resize the map. Drag the chart by its border to position it on the sheet, and drag a corner handle to resize. Map charts do not have a movable viewport, so you cannot scroll or zoom into a continent — the framing is fixed by the region you chose.
  10. Save and share. Changes save automatically to OneDrive or SharePoint, so there is nothing to press. To share, use the Share button in the top right and set view or edit permissions for the people who need the file. Anyone opening it in Excel for the web sees the same live map.

Common Mistakes

The most frequent problem is unselected data: inserting the map with a single cell active, or with only the place column selected, produces an empty or grey map because there are no values to colour. Always select names and numbers together, including headers.

The second big one is place names Excel cannot match. "UK", "USA", "St. Louis" and "Washington DC" style abbreviations are the usual culprits — replace them with United Kingdom, United States, Saint Louis and Washington, and the shapes fill in. Blank rows in the middle of the range break the table into fragments and can drop regions entirely.

Using the wrong region setting is another common trap. If you choose the United States map but your list contains countries, most shapes stay blank. Conversely, a single-country map will not plot anything for names that are states.

People also expect the map to behave like an online street map. It will not show roads, zoom into a city or accept pin coordinates — it plots filled administrative areas only. Finally, copying the map into Word or PowerPoint as a picture freezes it at that moment; the copy no longer updates when the spreadsheet changes, so re-copy it after edits rather than editing the image.

Tips

Keep the relationship between place column and value column strictly one-to-one and adjacent — any helpful column wedged between them can confuse the automatic chart setup, so move notes out of the way first.

Sort your table by value descending before inserting the map. It does not change the colours, but it puts the biggest numbers where you expect them when reading the table beside the chart, which makes reviewing the map far quicker.

Use a heading that states the level, such as "State" or "Country", rather than a vague "Region", and make sure every cell in that column is the same level. Mixing countries and cities in one column produces a patchwork map.

For a small comparison, keep the number of regions modest. A world map shaded by twenty tiny countries is hard to read on a laptop screen; a continent-level or single-country map usually communicates better, and you can add a second map for a different region instead of cramming everything onto one.

If you want the map on a slide, build it in Excel first, then copy and paste it into the slide as a picture or linked object. Doing the data work in the spreadsheet keeps the numbers auditable.

Troubleshooting

The map is completely blank. Re-select the full range including headers and insert again. If the shapes appear but stay grey, your numeric column probably contains text — numbers stored as text, or values with spaces — so retype or convert them. Applying a number format helps confirm they are real numbers.

Some regions are missing. Those names are unmatched. Check spelling against standard English forms, remove extra spaces, and expand abbreviations. Also confirm the region setting covers them.

The chart will not insert at all. Refresh the browser tab, sign out and back in, and try again in a fresh tab. If it still refuses, check whether your workbook is in a format that blocks it or was opened in view-only mode from a colleague's link — switch to editing if you have permission.

Labels overlap. Turn labels off at world level; they are only practical for a handful of regions. Enlarge the chart instead of shrinking the text.

The map has stopped updating after edits. If the chart was pasted elsewhere as an image, that copy is static. Recopy it. In the sheet itself, the chart reads the table live, so edits should show within a moment — if not, save and reload the page.

You need a real map with pins. That is not available in Excel for the web. Use a dedicated mapping tool or the desktop add-in route, and treat the Map Chart as what it is: a chart, not a navigable map.

Frequently Asked Questions

Can I insert a Google Map with pins in Excel Online?

No. The browser app has no feature for embedding an interactive map. The Map Chart is the only built-in mapping tool, and it shades regions rather than showing pins or streets.

Which place names does the Map Chart understand?

Common English country, state, province and county names, plus many city names. Abbreviations and unusual spellings often fail. When a name does not match, that region simply stays blank.

Does the map update when I change the numbers?

Yes, within the spreadsheet. Edit a value in the source range and the shading updates. Pasted copies into other documents do not update, because they are pictures.

Can I colour specific regions manually?

Not individually. Colours come from the value ranges and are applied automatically across the whole map. To emphasise one region, restructure your data or use a narrower map.

Why is my country column showing as grey shapes?

The map found the shapes but no usable numbers. Check that the value column is adjacent, selected and numeric rather than text.

Does this work on mobile browsers or the Excel app?

Chart creation is fiddly on small screens and some chart options are limited or missing in mobile versions. Insert the map on a desktop or laptop browser for reliable results, then view it on mobile.