This can be a cell reference, a range, or a hard-coded text value.

Subsequent optional arguments,text2,text3,text4, etc.

can be provided up to 252 values total.

TEXTJOIN basic example

Values are concatenated in the order they appear.

If set TRUE, empty values are skipped so that the delimiter is not repeated in the final result.

If set to FALSE, TEXTJOIN will include empty values in the output.

TEXTJOIN basic example

Name with title

In the example below, TEXTJOIN is set up to concatenate names.

The formula in F3 is:

Number formatting

When concatenating numbers,number formattingis lost.

Adjust thenumber formattingas desired.

TEXTJOIN basic example

TEXTJOIN versus CONCAT

TEXTJOIN andCONCATare both newer functions in Excel that replace the olderCONCATENATEfunction.

Like the CONCAT function, TEXTJOIN will accept arangeof cells to concatenate.

The main difference is that TEXTJOIN also accepts adelimiterto use when joining values together.

TEXTJOIN basic example

TEXTJOIN basic example

TEXTJOIN example with names

Excel formula: Replace one delimiter with another

Excel formula: List holidays between two dates

Excel formula: Join cells with comma

Excel formula: Join first and last name

Excel formula: Translate letters to numbers

Excel formula: Reverse text string

Excel formula: Strip non-numeric characters

Excel formula: Clean and reformat telephone numbers

Excel formula: Create email with display name

Excel formula: MAC address format

Excel formula: Multiple matches in comma separated list

Excel formula: Strip numeric characters from cell

Excel formula: Abbreviate names or words

Excel formula: Get all matches cell contains

Excel formula: Split full name into parts

Excel CONCATENATE function

Excel CONCAT function