?How can I use the CONCATENATE function in Excel to join two or more strings together?

?How can I use the CONCATENATE function in Excel to join two or more strings together?

The CONCATENATE function in Excel is a useful tool for combining multiple strings of text into one cell. By typing “=CONCATENATE(” into a cell, you can then add the desired strings or cell references separated by commas, and the function will join them together in the order they are listed. This is particularly helpful for creating longer or more organized text strings, such as full names or addresses. By understanding and utilizing the CONCATENATE function, users can efficiently manipulate and present data in Excel.

Use CONCATENATE, one of the text functions, to join two or more text strings into one string.

Important: In Excel 2016, Excel Mobile, and Excel for the web, this function has been replaced with the CONCAT function. Although the CONCATENATE function is still available for backward compatibility, you should consider using CONCAT from now on. This is because CONCATENATE may not be available in future versions of Excel.

Syntax: CONCATENATE(text1, [text2], …)

For example:

  • =CONCATENATE(“Stream population for “, A2, ” “, A3, ” is “, A4, “/mile.”)

  • =CONCATENATE(B2, ” “,C2)

Argument name

Description

text1    (required)

The first item to join. The item can be a text value, number, or cell reference.

Text2, …    (optional)

Additional text items to join. You can have up to 255 items, up to a total of 8,192 characters.

Examples

To use these examples in Excel, copy the data in the table below, and paste it in cell A1 of a new worksheet.

Data

brook trout

Andreas

Hauser

species

Fourth

Pine

32

Formula

Description

=CONCATENATE(“Stream population for “, A2, ” “, A3, ” is “, A4, “/mile.”)

Creates a sentence by joining the data in column A with other text. The result is Stream population for brook trout species is 32/mile.

=CONCATENATE(B2, ” “, C2)

Joins three things: the string in cell B2, a space character, and the value in cell C2. The result is Andreas Hauser.

=CONCATENATE(C2, “, “, B2)

Joins three things: the string in cell C2, a string with a comma and a space character, and the value in cell B2. The result is Andreas, Hauser.

=CONCATENATE(B3, ” & “, C3)

Joins three things: the string in cell B3, a string consisting of a space with ampersand and another space, and the value in cell C3. The result is Fourth & Pine.

=B3 & ” & ” & C3

Joins the same items as the previous example, but by using the ampersand (&) calculation operator instead of the CONCATENATE function. The result is Fourth & Pine.

Best practices

Do this

Description

Use the ampersand & character instead of the CONCATENATE function.

The ampersand (&) calculation operator lets you join text items without having to use a function.

For example, =A1 & B1 returns the same value as =CONCATENATE(A1,B1). In many cases, using the ampersand operator is quicker and simpler than using CONCATENATE to create strings.

Learn more about using operation calculators.

Use the TEXT function to combine and format strings.

The TEXT function converts a numeric value to text and combines numbers with text or symbols.

For example, if cell A1 contains the number 23.5, you can use the following formula to format the number as a dollar amount:

=TEXT(A1,”$0.00″)

Result: $23.50

Related

Cite this article

stats writer (2024). ?How can I use the CONCATENATE function in Excel to join two or more strings together?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-use-the-concatenate-function-in-excel-to-join-two-or-more-strings-together/

stats writer. "?How can I use the CONCATENATE function in Excel to join two or more strings together?." PSYCHOLOGICAL SCALES, 29 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-use-the-concatenate-function-in-excel-to-join-two-or-more-strings-together/.

stats writer. "?How can I use the CONCATENATE function in Excel to join two or more strings together?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-use-the-concatenate-function-in-excel-to-join-two-or-more-strings-together/.

stats writer (2024) '?How can I use the CONCATENATE function in Excel to join two or more strings together?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-use-the-concatenate-function-in-excel-to-join-two-or-more-strings-together/.

[1] stats writer, "?How can I use the CONCATENATE function in Excel to join two or more strings together?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.

stats writer. ?How can I use the CONCATENATE function in Excel to join two or more strings together?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

Download Post (.PDF)
PDF
Scroll to Top