Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. 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: Using the CONCATENATE Worksheet Function.
Written by Allen Wyatt (last updated September 4, 2021)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365
Excel provides a function called CONCATENATE which can be used to combine the contents of several cells, or even to combine cell contents with other text. For instance, let's say you wanted to add together the contents of cells A3 and B3, separate them by a space, and have the result appear in cell C3. All you need to do is put the following formula in cell C3:
=CONCATENATE(A3," ",B3)
Primarily, the CONCATENATE function is used for compatibility with other (older) spreadsheet programs. You can just as easily use the ampersand (&) operator to combine text values using a formula. For instance, the following is equivalent to the example of CONCATENATE shown above:
=A3 & " " & B3
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9933) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Using the CONCATENATE Worksheet Function.
Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!
The data validation capabilities of Excel are really handy when you want to limit what is put into a cell. However, you ...
Discover MoreMost calculations are done using the decimal numbering system. If you need to convert your decimal values to a differing ...
Discover MoreThe DSUM function is very handy when you need to calculate a sum based on data that matches criteria you specify. If you ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2021-09-08 07:40:26
RKeev
Power Query Text.Join is another way if the task is a more cyclic occurrence.
2021-09-04 06:37:14
Andy
The newer =CONCAT and =TEXTJOIN are also worth looking at. They allow a range of cells to be joined without specifying each cell separately. =TEXTJOIN also allows for a delimiter to be specified.
2021-09-04 06:20:53
Felix A. Keller
RE. Instead of CONCATENATE
It might be worth mentioning that no spaces are actually required. The formula =A2&” “&B2 works as well as
=A2 & “ “ & B2; i.e. the number of blanks before or after the ampersand do not matter.
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.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments