?
Solved

Excel 2003/2007/2010 - Formatting Zip code + 4 cells

Posted on 2012-03-20
2
Medium Priority
?
242 Views
Last Modified: 2012-04-17
I have a zip code 11111.
I would like to format it as 11111-0000 (I do not yet have the final four digits.)

Yet when I format it as 00000-0000, my digits appear in the rightmost group, not the leftmost group, which is what I want.
0
Comment
Question by:brothertruffle880
  • 2
2 Comments
 
LVL 81

Assisted Solution

by:zorvek (Kevin Jones)
zorvek (Kevin Jones) earned 2000 total points
ID: 37744728
Excel is not smart enough to know that the five digits belong in the left part.

You will have to use another column to display the zip codes or edit them to include the +4 part.

Kevin
0
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 2000 total points
ID: 37744738
If you use a second column use this formula to create a zip+4 value that will format correctly:

=IF(A1<100000,A1*10000,A1)

Kevin
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question