Excel 2010/2013
Excel 2007
Excel 2003
Tips & Tricks
Excel Forum
Course Index CIG Excel Book
 
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  
 

News      User Comments     History     Notify Me

4/28/2008 3:40:15 AM
Excel: String Concatenation
By Richard Rost   Richard Rost on Facebook Richard Rost on Twitter Richard Rost on Google Plus Richard Rost on LinkedIn Email Richard Rost

 
Q: I have one column of street numbers and another column of street names. How can I put them together into another new column?

A: If your street number is in cell A1 and your street name is in cell A2, you could put this in A3 to merge them together:

=A1 & " " & A2

This is called STRING CONCATENATION. Now, Excel is going to try to play with your formula as you're entering it. Don't let it. Abort any kind of AutoComplete that pops up and just type in what I showed you above.

Permanent Link
Keywords: excel tips concatenation
Post Reply

compose formula by concatenation Comment from johan @ 12/1/2008
any possibility to concatenate cells content into a string to convert into a formula, in order to build dynamic formulas?
Show Just This Thread        Post Reply
Comment from Richard Rost @ 9/23/2008
Jason... OUCH. Who put the data together like that on you!? That's going to be a nightmare to separate. I don't have time to help you with it right now, but give me a day or two and I'll see if I can throw something together for you. If I don't post back here in a couple of days, remind me.
Show Just This Thread        Post Reply
Comment from Jason G @ 9/22/2008
Understood, however the data I'm working with has 18,000 records in the format without the space!  Is there perhaps a macro I could use that would search out and separate the numeric and alpha data?  It would only apply to the beginning of the string because I could very well have an address that looks like this:
123Hwy37E
Thanks in advance!
Show Just This Thread        Post Reply
String Concatenation Comment from Richard Rost @ 9/22/2008
Jason, that's what the " " is for. You have to put the space in there yourself. =A1&" "&B1
Show Just This Thread        Post Reply
String Concatenation Comment from Jason G @ 9/22/2008
Richard this is helpful however I don't have a space between the address number and street name.

ie  

10main street
1454park ave
123allen parkway

Can you put me on the right path to fix this issue?
Show Just This Thread        Post Reply

Add Your Comments or Subscribe
 
If you just want to subscribe to get email updates when the News is updated, then enter your name and email address and check the Notify Me box below. If you would optionally like to add your comments below to be posted, they are welcome.
 
  Your Name:  Required
  Your Email:  NOT Public
  Subject:
  Comments:

 

Sorry about this step. It's just to keep the spam bots away:
  Verify: What is 1+9:
  
  Notify me when the News is updated.
  Remember Me for my next comments
  
 
 
Please do not use this form for Customer Service inquiries! If you have questions about your account, shipping info, courses you've ordered, need passwords, etc. please use the Customer Service Center instead.

I value your comments. They will be displayed on this page (above). Your name will be displayed, but your email address will not be.
As always, I promise to never give away your personal information to anyone else, ever.

NOTE: If you don't leave your name and email address, DON'T expect a reply. I can't promise a personal reply to everyone who posts here. I TRY my best, but I cannot guarantee it. If you don't leave your real name and email address, I won't even bother. I usually just hit DELETE. -Richard

 

 

You may want to read these articles from the 599CD News:

5/4/2014Microsoft Access Expert 20
3/5/2013Excel Tip: Price Markups
2/3/2013Signed Copies of my Excel Book
9/27/2012Excel Expert 10 Handbook Ready
9/18/2012Two New Excel Tips: Date/Time Differences
6/20/2012Excel Tip: Sum Cells Between Two Values
6/16/2012New Excel Tip: Paste Link
3/26/2012Excel Tip: 2D Matrix Lookups
11/18/2011Dashboards in Excel
10/6/2011Excel Expert 11 On Hold
 

Learn
 
Accessindex
Excelindex
Wordindex
Windowsindex
PowerPointindex
Photoshopindex
Visual Basicindex
ASPindex
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Articles
Search Our Site
Waiting List
Production Schedule
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About Us
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Gift CDs
Contact
 
Live Chat
General Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

Google Plus    LinkedIn

Blog RSS Feed    YouTube Channel
Richard Rost Microsoft MVP