ShareYourGroupShareYourGroupExcel Formulas

Text functions

CONCAT, CONCATENATE and & functions in Excel

CONCAT joins pieces of text into one; the & sign does the same between two values.

Joining text is one of the commonest jobs in a spreadsheet: first name and surname, a code built from several parts, a sentence that includes a total. Excel offers a sign and two functions for it, and a third function, TEXTJOIN, for joining with a separator.

Syntax

=CONCAT(text1, [text2], ...)
=CONCATENATE(text1, [text2], ...)
=text1 & text2
ArgumentWhat it is
text1, text2, ...The pieces to join: text, numbers, cells or, for CONCAT, ranges.

Examples

Each result below is what Excel itself showed for the formula on the sample sheet.

Sample sheet: A small price list with item codes. The table is sorted by code.
ABCDE
1CodeItemCategoryPriceStock
2A101Basmati Rice 5 kgGrocery65040
3A102Toor Dal 1 kgGrocery16075
4B201NotebookStationery60300
5B202Ball PenStationery100
6C301LED BulbElectronics110200
7C302Power BankElectronics129918
8D401Steel BottleHome45055

Three ways to join

The & sign. =A2&" "&B2 joins A2, a space and B2. It is short, works in every version and is what most people use for two or three pieces.

CONCAT. Available in Excel 2019, 2021 and Microsoft 365. It takes a list of pieces and also whole ranges: =CONCAT(A2:A10) joins nine cells in one go.

CONCATENATE. The original function, kept so that old workbooks keep working. It accepts single cells and values only. =CONCATENATE(A2:A10) does not join the range. In new work use CONCAT or &.

Do not forget the spaces

None of these adds anything between the pieces. =A2&B2 gives "AshaVerma". You must supply the space, comma or dash yourself, as text in quotation marks: =A2&" "&B2.

When there are many pieces and the same separator between all of them, TEXTJOIN is the better tool. It also skips empty cells, which avoids results like "Asha, , Ludhiana".

Numbers and dates lose their format

A joined result is text. Any number in it appears in its raw stored form: no thousands separators, no fixed decimals, no currency sign. A date becomes its serial number, so ="Due on "&A2 shows something like "Due on 46027".

Wrap the number or date in TEXT with a format code:

A key from two columns

Lookups need a single value to search for. When a row is identified by two things, such as a region and a product, join them into one helper column: =A2&"|"&B2. Then look up the joined value. Put a separator that cannot appear in the data between the parts, so that "AB" with "C" is not confused with "A" with "BC".

Line breaks inside a cell

CHAR(10) is a line break. =A2&CHAR(10)&B2 puts the two values on separate lines of one cell, provided Wrap Text is switched on for the cell. It is the way to build a postal address in one cell.

Splitting again

The reverse job, separating joined text, is done with LEFT, RIGHT, MID and FIND, or with Text to Columns on the Data tab.

Common mistakes

In Google Sheets

Google Sheets has CONCATENATE and the & sign, working as in Excel. Its CONCAT function is more limited: it joins exactly two values. For ranges, Sheets users turn to JOIN or TEXTJOIN.

Related functions

Every result on this page was calculated in Microsoft Excel (version 16.0, build 20326) on 12 November 2026, not typed by hand.

This is an independent help site. It is not connected with or approved by Microsoft. Excel and Microsoft 365 are trademarks of Microsoft Corporation, named here only to say which program a formula is for. The people and figures in the sample sheets are made up.