Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Combining Cell Contents.

Combining Cell Contents

Written by Allen Wyatt (last updated May 9, 2020)
This tip applies to Excel 2007, 2010, and 2013


3

At the heart of Excel is the ability to add formulas to worksheets. You use these formulas to manipulate information stored in different cells. One of the ways you can manipulate information is to combine the contents of your cells. For instance, let's assume you have a list of last names in column A, a list of first names in column B, and a list of titles (Mr., Ms., Dr., etc.) in column C. If you wanted to derive a full name for these people, you could use the following formula:

=CONCATENATE(C4, " ", B4, " ", A4)

The result of such a formula is that Excel combines the values (the names and titles) from the specified cells and places spaces between them.

If I am remembering my spreadsheet history correctly, the CONCATENATE function was originally included in Excel for compatability with other spreadsheet programs—most notably Lotus 123. Personally, I prefer to use what I've always viewed as the native concatenation operator for Excel, which is the ampersand. Here's how you could write the same concatenation formula mentioned above:

=C4 & " " & B4 & " " & A4

The ampersand character (&) is used to indicate that Excel should "add" text together to create a new text value.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9635) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Combining Cell Contents.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Making All Lines in a Paragraph the Same Height

If the line spacing in a paragraph appears uneven it may result of the combination of a larger character or object pasted ...

Discover More

Continuing Macro Lines

Program a macro, and you can easily find that some lines get very long. If you want to shorten the lines so they are more ...

Discover More

Centering a Paragraph with the Keyboard

Need a quick shortcut that you can use to center your paragraph between the margins? The answer is here.

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (ribbon)

Hiding Rows Based on Two Values

It's easy to use filtering to hide rows based on the value in a cell, but how do you hide rows based on the values in two ...

Discover More

Determining Winners, by Category

Do you need to determine the top three values in a range of columns? The techniques discussed in this tip will come in ...

Discover More

How Operators are Evaluated

Operators are used in formulas to instruct Excel what to do to arrive at a result. Not all operators are evaluated in the ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 - 0?

2022-01-15 19:43:06

John Mann

Just for interest sake the CONCATENATE funtion isn't listed in my version of Lotus 1-2-3 (release N9.8.0208.1200 Copyright 1991, 2002 - the last release).

The & for concatenating cell contents works, with minor syntax differences from Excel 2010.


2020-05-09 10:33:11

Ron Pineo

There is also the handy concat(A4:z4) function that can concatenate a range. Allows you to make very large strings that wouldn't normally fit in a cell.


2020-05-09 08:06:26

Alex B

If you have Office 2019, or Microsoft 365 you could use
=textjoin(" ",TRUE,C4,B4,A4)


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.