• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Stephen L. Nelson

Author. Accountant. Aspiring Apiarist.

  • Articles
  • e-Books
    • Maximizing Section 199A Deduction
    • Setting a a Reasonable S Corporation Salary
    • Small Business Tax Deduction Secrets
    • Real Estate Tax Loopholes & Secrets
    • DIY LLC Formation and Incorporation Kits
    • Sample LLC Operating Agreements
    • Sample Corporation By-Laws
  • Contact

Quick Primer on Charting: Mapping Geographic Data

May 18, 2015 By Stephen L. Nelson Leave a Comment

Excel includes a useful tool for mapping geographic data. The Microsoft Map tool that comes with Excel (but often isn’t installed until you first attempt to use it) makes to easy create charts that show data using maps.

The following section describes how to add the Map button to the toolbar. The first time you click the Map button and attempt to create a map, Excel may prompt you to insert your Office or Excel CD-ROM to install the Map tool. If Excel doesn’t prompt you to install the Map tool, run the Excel or Office Setup program by clicking the Start button, choosing Settings, clicking Control Panel, and double-clicking the Add/Remove programs icon. Select Excel or the version of Office you have from the list, click Add/ Remove, and continue the process of adding the Map feature.

Adding the Map Button to the Toolbar

To quickly access the Data Map tool, you may want to add its button to the toolbar. To do so, follow these steps:

  1. Choose the Tools menu’s Customize command, and click the Commands tab.
    When you do this, Excel displays the Customize dialog box. If the Commands tab doesn’t already show, click it so that the Categories and Commands list boxes, as shown in Figure 3-26, appear.

    Figure 3-26. The Commands tab of the Customize dialog box.
    Figure 3-26. The Commands tab of the Customize dialog box.
  2. Click the Insert item in the Categories list.
    When you select the Insert item in the Categories list, Excel displays a list of the Insertion commands and toolbar buttons that can be added to menus and the toolbar.
  3. Click the Map item in the Commands list.
    Scroll down to see the Map item. Click the Description button to see a pop-up box that describes the selected command.
  4. Drag the Map button to the toolbar, and then click the Close button.
    Click the Map button and then, while holding down the mouse button, drag the Map button to an appropriate location on the toolbar. Because the Map button is another charting tool, for example, you may want to place it next to the Chart Wizard toolbar button.

Creating a Data Map

After you’ve installed the Microsoft Map tool, you’re ready to begin using it to geographically map data. To do this, enter your to-be-plotted data into a worksheet using either full (and correctly spelled) names or the generally accepted abbreviations. Figure 3-27 shows an example of how you might do this using fictitious sales by state.

Figure 3-27. A worksheet of fictitious sales by state data.
Figure 3-27. A worksheet of fictitious sales by state data.

Map lets you plot by country, state, or postal code. However, Map needs you to arrange your data arranged in a columnar format, as shown in Figure 3-27. This means that the geographic feature names need to appear in the first column. Note, too, that these geographic feature names need to be text labels. This isn’t a problem for country or state names, but postal codes (which often use only numbers) can appear as values to Map—unless you precede each postal code with an apostrophe (’). The apostrophe character tells Excel to treat the value that follows, in this example, a postal code, as a label even though it looks like a value.

After you enter the to-be-plotted data into a worksheet, follow these steps:

  1. Select the worksheet data.
    You can do this by clicking on the top left corner of the worksheet range and then dragging the mouse to the lower right corner.
  2. Indicate where you want Excel to draw the map.
    To identify the rectangle you want Excel to use as the data map’s chart area, drag the crosshair mouse pointer from the top left corner to the bottom right corner of the rectangle.
  3. If necessary, choose the appropriate map for your geographic features.
    If Microsoft Map has more than one map that matches the geographic features in your to-be-plotted data, it lists descriptions of the available maps and asks which you want to use. To select a map, double-click it.

When you finish the last step, Excel draws the data map by interpreting the geographic features you’ve named in your to-be-plotted data. Figure 3-28 shows a data map based on the worksheet shown in Figure 3-27.

Figure 3-28. A data map of sales by country.
Figure 3-28. A data map of sales by country.
The map object that Map creates floats over the Excel worksheet like any other object. This means you can print the object by printing the worksheet, resize the object by clicking it and then dragging its selection handles, and remove the object by clicking it and then pressing Delete.

Customizing Your Data Maps

Microsoft Map provides three sets of tools you can use to change the appearance of your data maps: the Map menus (including its shortcut menus), the Map toolbar buttons, and the Map Control dialog box. This section briefly describes the Map toolbar buttons and the Map Control dialog box, and then lets you rely on your own experimentation to explore the Map menus (which essentially duplicate the functionality of the toolbar and Map Control dialog box). The Map toolbar provides several toolbar buttons, as detailed in Table 3-2 below.

TOOL DESCRIPTION
Select Objects Tells Map that you want to select objects. To select objects after you click this toolbar button, click the objects (hold down the Ctrl key to select more than one object). Or, you can draw a rectangle that borders the objects you want to select by dragging the mouse from the top left corner to the bottom right corner of the rectangle.
Grabber Tells Map that you want to move the map within the map’s window. To move objects after you click the Grabber tool, simply drag the item you want to move.
Center Map Tells Map that the point you next click should be the map’s center point. To use this tool, click it and then click the center point you want.
Map Labels Tells Map you want to add labels to the map. To use this tool, click it and then point to the geographic features you want to label, such as countries, lakes, states, and so on. If Map provides a label for the item you point to, Map displays the label. To place the label on your map, click the label.
Add Text Tells Map you want to add text to the map. To use this tool, click it, click the spot where you want to add the text, and then type.
Custom Pin Map Tells Map you want to add a push-pin icon to the next place you click on the map. After you click, Map lets you also add text by typing.
Display Entire Map Resizes the map so it can be seen in entirety in the chart area.
Redraw Map Redraws the map to minimize any stretching of geographic features, such as might occur after using the Grabber tool.
Map Refresh Updates the map for changes in the data.
Show/Hide Microsoft Map Control Opens the Microsoft Map Control window, which provides additional tools for controlling the appearance of your data map.
Zoom Percentage of Map Resizes the map object to some percentage of its original size. Note that you indirectly change the level of detail shown in the map when you resize it.
Help Opens the Microsoft Map online Help file.
Table 3-2. Map Toolbar tools

The Microsoft Map Control dialog box provides additional toolbar buttons that you can use to customize your data map, including changing both the data it plots and the appearance it takes (see Figure 3-29).

Figure 3-29. The Microsoft Map Control box after selecting two formats.
Figure 3-29. The Microsoft Map Control box after selecting two formats.

If you want to change the appearance of the data that Map initially plots, then you need to choose how you want each series formatted by using the formatting buttons in the Microsoft Map Control dialog box. Drag the Value Shading button to the Format box (in the white box) to use shades of gray. Drag the Category Shading button to the Format box (in the white box) to use color. Drag the Dot Density button to the Format box if you want to use patterns of dots, varying the density to show magnitude. Drag the Graduated Symbols button to the Format box to use a symbol, such as a bubble or star, of varying sizes to show magnitude. Drag the Pie Chart button to the Format box to use a pie chart. And, finally, drag the Column Chart button to the Format box to use a column chart. Figure 3-29 uses the Dot Density format for the sales data series and the Column Chart format for the offices data series.

If your to-be-plotted data provides only a single data series, you must use one of the following formatting options: Value Shading, Category Shading, Dot Density, or Graduated Symbols. The Pie Chart and Column Chart options work for cases in which your data includes multiple data series.

After you’ve selected the formats you want to use, you assign data series to each format. To do this, drag the data series buttons shown on the top half of the dialog box to the Column buttons. In Figure 3-29, for example, you can see buttons for Count Of State, Sales, and Offices. To plot Offices using the Column Chart format, drag the Offices button to the Column box that’s just to the right of the format button. Figure 3-30 shows an example data map with sales indicated by dot density and offices shown in a column chart.

Figure 3-30. A data map that shows number of offices and a column chart of three-year sales.
Figure 3-30. A data map that shows number of offices and a column chart of three-year sales.
If you can’t figure out which button represents which data series, just click the button.

After you specify how each data series should be formatted and select your data, you can further customize each data series. To see your options, drag the Formatting option button to the white box and double-click it. Map displays a Format Properties dialog box that you can use for further customization. If you have a question about an option that appears on the Format Properties dialog box, click the Question button in the dialog box’s upper right corner and then click the item you have a question about.

Moving Beyond Simple Mapping

The brief discussion provided in this chapter may be all you need to know to use Microsoft Map, but readers who want to delve deeper into geographic mapping may find it useful to know three additional points:

  • Excel comes with a workbook full of geographical data called mapstats.xls. You can find this workbook (you might have more than one if you’ve purchased more than one copy of Excel over the years) by using Microsoft Windows’ Start menu’s Find command. If you’re serious about data mapping, you’ll definitely want to find and review the mapstats.xls workbook because it provides a rich and very interesting (albeit somewhat dated) data set.
  • Microsoft Office 2000 includes a stand-alone data mapping program called MapPoint 2000 that you can use to create more sophisticated data maps. MapPoint essentially extends the functionality of Map by adding maps, features, and geographic data.
  • MapInfo, the company that developed the mapping technology used by Microsoft for Microsoft Map, sells high-end data mapping tools. If you’re interested in learning more about these products, visit the MapInfo web site at www.mapinfo.com.

Filed Under: Using Excel Tagged With: charting basics

About Stephen L. Nelson

Stephen L. Nelson is the author of more than two dozen best-selling books, including Quicken for Dummies and QuickBooks for Dummies.

Nelson is a certified public accountant and a member of both the Washington Society of CPAs and the American Institute of CPAs. He holds a Bachelor of Science in Accounting, Magna Cum Laude, from Central Washington University and a Masters in Business Administration in Finance from the University of Washington (where, curiously, he was the youngest ever person to graduate from the program).

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Article Categories

  • Accounting
  • Business Planning
  • Finance
  • Real Estate
  • Statistics
  • Taxes
  • Using Excel

Copyright © 2025 Stephen L. Nelson, Inc. · Contact · Steve’s Bio · Publications · Glossary