Printing zip codes that start with 0

G

Guest

I formatted the cell for zip codes and in Excel 2003, the 0 shows up but when
I try to mail merge into a Publisher document, it won't print the 0 in zip
codes that start with 0. Please help
 
N

Nick Hodge

That's because Excel is only showing the leading zero because of the format.
Try preceding the data with a single apostrophe or pre-format the cells as
text

If this still doesn't work, try using the TEXT function to correct the data

=TEXT(A2,"000000")

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
(e-mail address removed)
 
G

Guest

Thank you. The apostrophe worked!

Nick Hodge said:
That's because Excel is only showing the leading zero because of the format.
Try preceding the data with a single apostrophe or pre-format the cells as
text

If this still doesn't work, try using the TEXT function to correct the data

=TEXT(A2,"000000")

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top