The TEXTJOIN function takes three required arguments: delimiter, ignore_empty, and text1. Delimiter is the text to use between values that are concatenated together and should be enclosed in double-quotes (""), for example, a space (" “) or a comma with a space (”, “). To use no delimiter, supply an empty string (”").  Ignore_empty is a Boolean (TRUE/FALSE) value that controls whether empty values should be ignored or added to the result. This is often set to TRUE to avoid delimiters with no content in the result from TEXTJOIN. Text1 is the first value to join together. 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. Values are concatenated in the order they appear. With “Hello” in A1 and “World” in A2, the following formula returns “Hello World”: Changing the delimiter to a comma (", “) and reversing A1 and A2, we get “World, Hello”:

Concatenating a range

To join cells in the range A1:A3 with a comma and space, you can use TEXTJOIN like this:

The second argument, ignore_empty, controls behavior for empty cells and text values. 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.

Name with title

In the example below, TEXTJOIN is set up to concatenate names. Notice the cell reference for Title is provided first, followed by a range for First, Middle, and Last. Ignore empty is set to 1 (TRUE) to avoid adding extra space to names without Middle or Title values. The formula in F3 is:

Number formatting

When concatenating numbers, number formatting is lost. For example, with the date 1-Jul-2021 in cell A1, and 2-Jul-2021 in A2, the dates revert to serial numbers: Use the TEXT function to apply formatting during concatenation: The formula above returns the text “Jul 1-Jul 2”.  Adjust the number formatting as desired.


TEXTJOIN and CONCAT are both newer functions in Excel that replace the older CONCATENATE function. Like the CONCAT function, TEXTJOIN will accept a range of cells to concatenate. The main difference is that TEXTJOIN also accepts a delimiter to use when joining values together.


To concatenate manually, use the concatenation operator (&) The CONCAT function also provides basic concatenation, but provides no options for delimiters or empty values. Numbers provided to TEXTJOIN will be converted to text values during concatenation. TEXTJOIN is a new function, available in Office 365 and Excel 2019.

Dave Bruns

Hi - I’m Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.

Excel TEXTJOIN function - 67Excel TEXTJOIN function - 80