Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL: Zip Codes in Data Map Must Be Formatted with Zip Code Style


View products that this article applies to.

Symptoms

If you select a column of unformatted ZIP codes and you attempt to create a Data Map object from this information, you receive the following error message in Microsoft Excel version 7.0:
A column of data in your selection must contain geographical data.
In Microsoft Excel 97 and later, no error message is displayed, but no data is added to the chart.

↑ Back to the top


Cause

When you create a Data Map object that is based on ZIP codes, the ZIP codes must be formatted with the special Zip Code number format.

↑ Back to the top


Workaround

To format a range of ZIP codes, follow these steps:
  1. On the Format menu, click Cells.
  2. Click the Number tab.
  3. In the Category list, click Special.
  4. In the Type list, click the Zip Code or the Zip Code + 4 format.

↑ Back to the top


Status

This behavior is by design to prevent the possible misinterpretation of numeric data as ZIP codes.

↑ Back to the top


Keywords: KB131929, kbualink97

↑ Back to the top

Article Info
Article ID : 131929
Revision : 4
Created on : 8/15/2005
Published on : 8/15/2005
Exists online : False
Views : 512