Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 122
Default Combining Data in Multiple Cells

Hello:

I have city, state, and zip in three different cells. I want to combine
that data into one cell with a space between city and state and a space
between state and zip code.

What formula would I need to write to accomplish this?

Thanks!

childofthe1980s
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Combining Data in Multiple Cells

"childofthe1980s" wrote in
message ...
Hello:

I have city, state, and zip in three different cells. I want to combine
that data into one cell with a space between city and state and a space
between state and zip code.

What formula would I need to write to accomplish this?

Thanks!

childofthe1980s


=a2&" "&b2&" "&c2


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Combining Data in Multiple Cells

Suppose A1 has city, B1 has state and C1 as zip then use the following
formula:

=A1&" " &B1 &" " &C1

You can use "," to replace space (" ") if you want.

===== * ===== * ===== * =====
Daniel CHEN


www.Geocities.com/UDQServices
Free Data Processing Add-in<

===== * ===== * ===== * =====

"childofthe1980s" wrote in
message ...
Hello:

I have city, state, and zip in three different cells. I want to combine
that data into one cell with a space between city and state and a space
between state and zip code.

What formula would I need to write to accomplish this?

Thanks!

childofthe1980s



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default Combining Data in Multiple Cells

Something like this...

=A1 & " " & B1 & " " & C1

The "&"operator concatenates the items together.
--
HTH...

Jim Thomlinson


"childofthe1980s" wrote:

Hello:

I have city, state, and zip in three different cells. I want to combine
that data into one cell with a space between city and state and a space
between state and zip code.

What formula would I need to write to accomplish this?

Thanks!

childofthe1980s

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Combining Data in Multiple Cells

Try something like

=A1&" "&B1&" "&C1


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"childofthe1980s"
wrote in message
...
Hello:

I have city, state, and zip in three different cells. I want
to combine
that data into one cell with a space between city and state and
a space
between state and zip code.

What formula would I need to write to accomplish this?

Thanks!

childofthe1980s



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
combining data in multiple cells adkmayhem Excel Discussion (Misc queries) 2 May 16th 10 12:11 PM
Combining data from multiple cells into one cell with commas lawandgrace Excel Discussion (Misc queries) 1 June 2nd 09 04:25 PM
Combining data from multiple cells into one cell. Steelsilk Excel Worksheet Functions 4 May 17th 07 06:54 PM
Combining Text from multiple cells under multiple conditions KNS Excel Worksheet Functions 2 June 15th 05 11:00 PM
Combining data (numeric format) in multiple cells into one cell (t GNAC SID Excel Discussion (Misc queries) 2 February 7th 05 04:09 PM


All times are GMT +1. The time now is 05:10 PM.

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"