by TheExcelAddict.com How To Combine Text in Cells
Here’s another little-known feature available in Excel that I
bet you’ll find various uses for. It is the ability to combine
text from multiple cells into one cell.
I use it frequently for joining text when I receive a file that
has first and last names in separate columns. This feature
allows me to easily combine the last name from one column with
the first name of the other column and show the result as a full
name in another column.
Let me show you how easy it is.
Before I get started, when talking about text I'll often use the
terms ‘string of text’ or ‘text string’ to refer to text.
The best way for me to show you how this works is to give you a
simple example to do yourself.
Here’s the trick.
In cell C1 enter "Full Name" as your column heading.
=A2 & " " & B2 (will give you "Mickey Mouse")
Now just copy the formula down for the remaining cells. At this
point you'll want to convert the formulas in these cells into
values. To accomplish this, just highlight all of the formulas
in column C, click Edit, Copy, and then click Edit, Paste
Special, Values, OK. Now, if you want, you can delete the
original two columns of data.
NOTES: To insert a space between the first and last names we
have added a space between two quotation marks. The ampersand
(&) joins the text string from each cell into one string of
text.
|