#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Green
 
Posts: n/a
Default combining text

In Excel 2002, I want to combine three cells (City, State, and Postal Code)
into a single cell. I know this string will work for putting a space in
between each item:
=A1&" "&A2&" "&A3
This yield this type of output: Seattle WA 98102

What do I do to place a comma after the "city" so that it yields this type
of output:
Seattle, WA 98102


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default combining text


Dave,

=A1&","&" "&A2&" "&A3

Cheers,

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=509331

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default combining text

Try something like this:

=A1&", "&A2&" "&A3


Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Dave Green" wrote:

In Excel 2002, I want to combine three cells (City, State, and Postal Code)
into a single cell. I know this string will work for putting a space in
between each item:
=A1&" "&A2&" "&A3
This yield this type of output: Seattle WA 98102

What do I do to place a comma after the "city" so that it yields this type
of output:
Seattle, WA 98102


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
How do I look up a number within a string of text Rich Hayes Excel Worksheet Functions 3 October 14th 05 05:49 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM
SUMPRODUCT vs Text??? Ken Excel Worksheet Functions 2 April 9th 05 07:21 PM
Combining & formatting cells with text - Excel 2002 Bob Excel Discussion (Misc queries) 4 March 4th 05 10:35 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 11:08 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"