Solved

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

Posted on 2012-03-20
2
194 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 500 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 500 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

772 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