Get instant live expert help with Excel or Google Sheets
“My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

Post your problem and you’ll get Expert help in seconds.

Your message must be at least 40 characters
Our professional Expert are available now. Your privacy is guaranteed.

How to Use the Excel TEXTJOIN Function

Excel allows us to join the text with a defined delimiter by using the TEXTJOIN function with an ability to avoid empty cells. This step by step tutorial will assist all levels of Excel users in concatenating values in the table with a defined delimiter.

Figure 1. The final result of the TEXTJOIN function

Syntax of the TEXTJOIN Formula

`=TEXTJOIN(delimiter, ignore_empty, text1, [text2], ...)`

The parameters of the TEXTJOIN function are:

• delimiter – a string that will be used as a separator between the text items
• ignore_empty – TRUE for ignoring empty cells
• text1, [text2] – text strings that will be joined

Setting up Our Data for the TEXTJOIN Function

Our table consists of 4 columns: “Delivery Number” (column B), “Address” (column C), “Contact Person” (column D) and “Result” (column E). In column E, we want to get a joined text from the columns B, C and D using separator “; “ between the text.

Figure 2. Data that we will use in the TEXTJOIN example

Join the Text From the Cell Range With a Delimiter

We want to join the text from the cell range B:D with a separator “; “ between the text.

The formula looks like:

`=TEXTJOIN("; ",TRUE,B3:D3)`

The delimiter is “; “, while the ignore_empty is TRUE. The text1, [text2] is cell range B3:D3.

To apply the TEXTJOIN function, we need to follow these steps:

• Select cell E3 and click on it
• Insert the formula: `=TEXTJOIN("; ",TRUE,B3:D3)`
• Press enter
• Drag the formula down to the other cells in the column by clicking and dragging the little “+” icon at the bottom-right of the cell.

Figure 3. Using the TEXTJOIN function to join the values from the cell range

Formula concatenates the values from the cell range B3:D3. A user can define text separator easily in delimiter argument of the function. This is a big advantage of using TEXTJOIN function instead of CONCATENATE or CONCA function. If function argument ignore_empty is TRUE, empty cells will be excluded from concatenation delimiter and will not be repeated in the result.

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

Related blogs
Solution examples
I want to be able to alter the appearance (font color and fill) of a column of numbers using conditional formatting, based on being greater than or less than the numbers from another column. I am using Excel 2016. I am unable to get any formula to work. Please help!
Solved by I. J. in 59 mins
I need assistance with an excel formula. I have a 12 month sheet that has a summary page on the 13 page. the monthly totals changes so on the summary page I want to sum the difference - eg. if Jan total is 1500, feb total is 1000, mar total is 800, I want the summary page to show the current amount of 800 when you place the formula to capture all months---showing the diminishing value rather than the sum of all the pages
Solved by E. L. in 60 mins
I need a range of numbers to become the number in the next column
Solved by D. F. in 47 mins
Use the Vlookup Function to complete the "employee" column of table 2. Use "job Id" from table 2 as your lookup_value(s) and table 1 as your reference.
Solved by C. H. in 16 mins
I need to count number of dates from a timestamped date in column from the completed date column to show the number of days. I have not successfully been able to do this. I am a novice Excel user. Can you help?
Solved by O. B. in 15 mins