

Here is an example of how the TEXTJOIN function works: – this is an optional argument where you can specify up to 252 arguments that could be text strings or cell ranges.It could be a text string, or array of strings, such as a range of cells. text1 – this is the text that needs to be joined.ignore_empty – if this is TRUE, it will ignore empty cells.You can manually enter this or use a cell reference that has a delimiter. delimiter – this is where you can specify a delimiter (separator of the text).
:max_bytes(150000):strip_icc()/excel-concatenate-combine-cells-1-5c6e9264c9e77c00016930d0.jpg)
TEXTJOIN(delimiter, ignore_empty, text1,, …) It also allows you to specify a delimiter. This function, as the name suggests, can combine the text from multiple cells into one single cell. In Excel that comes with Office 365, a new function – TEXTJOIN – was introduced. CONCATENATE Excel Ranges Using TEXTJOIN Function (available in Excel with Office 365 subscription) Now you can use this function as any regular worksheet function in Excel.
Excel concatenate code#

If you want, you can use other separators such as a comma or hyphen. Note that in this case, I used a space character as the separator (delimiter). Based on your regional settings, you can also try =A1:A5 (instead of =TRANSPOSE(A1:A5)).Go to formula bar and enter =TRANSPOSE(A1:A5)&” “.Here are the steps to concatenate an Excel Range with space as the separator (as shown in the pic): CONCATENATE Excel Ranges (With a Separator) Note that since we use any delimiter (such as comma or space), all the words are joined without any separator. Add =CONCATENATE( to the beginning of the text and end it with a round bracket ).ĭoing this would combine the range of cells into one cell (as shown in the image above).Remove the curly brackets from both ends.Select the entire formula and press F9 (this converts the formula into values).Go to formula bar and enter =TRANSPOSE(A1:A5).Select the cell where you need the result.Here are the steps to concatenate an Excel range without any separator (as shown in the pic): CONCATENATE Excel Range (Without any Separator) Note: If you’re using Excel 2016, you can use the TEXTJOIN function that is built to combine multiple cells using a delimiter.
Excel concatenate how to#
In this tutorial, I will show you how to combine multiple cells by using the CONCATENATE function. While you can enter the reference one by one within the CONCATENATE function, it would not work if you enter the reference of multiple cells at once (as shown below):įor example, in the example above, while the formula used is =CONCATENATE(A1:A5), the result only shows ‘Today’ and doesn’t combine all the cells.

