#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 989
Default Excel help

I am trying to combine 2 columns of data. The first column contains city and
state, while the second column contains zip code. I'd like a new column to
contain city, state and zip code.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default Excel help

If city and state are in A1 and zip is in A2 and you want the combination in
A3, put the following in A3:

=A1 & " " & A2

You can then copy the formula in A3 down for however many rows you have.
Will

"mark" wrote:

I am trying to combine 2 columns of data. The first column contains city and
state, while the second column contains zip code. I'd like a new column to
contain city, state and zip code.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Excel help

=a1&", "&b1&" "&text(c1,"00000")
or
=a1&", "&b1&" "&text(c1,"[99999]00000-0000;00000")



mark wrote:

I am trying to combine 2 columns of data. The first column contains city and
state, while the second column contains zip code. I'd like a new column to
contain city, state and zip code.


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Excel help

Sorry, I thought you had three columns.

=a1&" "&text(b1,"00000")
or
=a1&" "&text(b1,"[99999]00000-0000;00000")


Dave Peterson wrote:

=a1&", "&b1&" "&text(c1,"00000")
or
=a1&", "&b1&" "&text(c1,"[99999]00000-0000;00000")

mark wrote:

I am trying to combine 2 columns of data. The first column contains city and
state, while the second column contains zip code. I'd like a new column to
contain city, state and zip code.


--

Dave Peterson


--

Dave Peterson
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



All times are GMT +1. The time now is 06:04 AM.

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

About Us

"It's about Microsoft Excel"