ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel help (https://www.excelbanter.com/excel-discussion-misc-queries/142012-excel-help.html)

Mark

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.

roadkill

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.


Dave Peterson

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

Dave Peterson

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


All times are GMT +1. The time now is 01:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com