Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default How to merge Excel address columns when some zips begin with zeros

I can successfully merge 3 columns containing a City, State, and Zip code,
using a formula of =a1& ", " &b1& " " &c1), where d1 is the merged column.

However, in the merged column, 5 digit zip codes beginning with zero drop
the 1st zero. 9-digit zip codes leading with zero print correctly. However,
most of my zip codes are 5-digit ones. Can you help me?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default How to merge Excel address columns when some zips begin with zeros

Replace: & C1
By: & TEXT(C1,"00000")
in the first formula and copy down the column
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"LeoLady" wrote in message
...
I can successfully merge 3 columns containing a City, State, and Zip code,
using a formula of =a1& ", " &b1& " " &c1), where d1 is the merged
column.

However, in the merged column, 5 digit zip codes beginning with zero drop
the 1st zero. 9-digit zip codes leading with zero print correctly.
However,
most of my zip codes are 5-digit ones. Can you help me?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default How to merge Excel address columns when some zips begin with zeros

try

=a1& ", " &b1& " " &TEXT(c1,"000000")

"LeoLady" wrote:

I can successfully merge 3 columns containing a City, State, and Zip code,
using a formula of =a1& ", " &b1& " " &c1), where d1 is the merged column.

However, in the merged column, 5 digit zip codes beginning with zero drop
the 1st zero. 9-digit zip codes leading with zero print correctly. However,
most of my zip codes are 5-digit ones. Can you help me?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default How to merge Excel address columns when some zips begin with z

Thanks, JeremyB! It worked. LeoLady

"JeremyB" wrote:

try

=a1& ", " &b1& " " &TEXT(c1,"000000")

"LeoLady" wrote:

I can successfully merge 3 columns containing a City, State, and Zip code,
using a formula of =a1& ", " &b1& " " &c1), where d1 is the merged column.

However, in the merged column, 5 digit zip codes beginning with zero drop
the 1st zero. 9-digit zip codes leading with zero print correctly. However,
most of my zip codes are 5-digit ones. Can you help me?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default How to merge Excel address columns when some zips begin with z

Thanks, Bernard Liengme. Your solution worked! Leo Lady

"Bernard Liengme" wrote:

Replace: & C1
By: & TEXT(C1,"00000")
in the first formula and copy down the column
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"LeoLady" wrote in message
...
I can successfully merge 3 columns containing a City, State, and Zip code,
using a formula of =a1& ", " &b1& " " &c1), where d1 is the merged
column.

However, in the merged column, 5 digit zip codes beginning with zero drop
the 1st zero. 9-digit zip codes leading with zero print correctly.
However,
most of my zip codes are 5-digit ones. Can you help me?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
when i megre cells that begin with zeros , I lose the zeros RDC Excel Discussion (Misc queries) 1 November 16th 07 03:31 PM
How do I merge address information in Excel into Word? Matt Excel Discussion (Misc queries) 1 August 30th 07 05:34 PM
How do I show zeros transfered from excel to mail-merge word? Megan Excel Worksheet Functions 3 August 9th 07 04:18 PM
How do I make an address label in excel, then merge it with Word. Marcdavid62 Excel Discussion (Misc queries) 7 November 23rd 06 12:33 PM
How come Word is adding zeros to a mail merge number from Excel? Randy Toch Excel Worksheet Functions 1 May 24th 06 05:50 AM


All times are GMT +1. The time now is 07:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"