Read a three-character ZIP prefix

Turn 02108 or 02108-1234 into the text 021 for grouping.

What you'll make

In Excel: 02108 becomes text 021.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1A8The ZIP or ZIP+4, stored as text."02108"
23How many characters to keep.3
3LEFT( … )Keeps the first three characters."021"

The result is text, so leading zeros like the 0 in 021 stay.

=LEFT(A8,3)

How to use it

Yellow bar at the top? Click Enable Editing.

  1. See it work. The Example tab shows 20 made-up examples with the formula already in.
  2. Use your own addresses. Paste ZIPs or ZIP+4s into the green column of the Template tab. The prefixes fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Use this only when your grouping really uses the first three digits. A prefix isn't a city, county or distance.

Microsoft's help: LEFT function