Combine CONCATENATE & TRANSPOSE Functions in Excel

Introduction to the CONCATENATE Function

  • Syntax:
=CONCATENATE(text1,[text2],...)
  • Argument:

text1– the first text, number, or array you want to join.

[text2],…– More text, numbers, or arrays that you want to join.

  • Function:

Returns the concatenated array combining all the values or arrays.

  • Example:

Suppose we have a dataset containing 4 text values in cell range C4:F4. We want to join these text values using the CONCATENATE function.

Steps:

  • Select Cell C5 and insert the following formula.
=CONCATENATE(C4:F4)

Introduction to Excel CONCATENATE Function in Excel

  • Select the whole formula and press F9 on your keyboard to convert the formula into values.

  • Remove the Curly Brackets ({}) from the formula like the image shown below.

  • Press Enter, and you will get your desired Concatenated Array.


Introduction to the TRANSPOSE Function

  • Syntax:
=TRANSPOSE (array)
  • Argument:

array– the cell range or array you want to transpose.

  • Function:

Converts a vertical range or array into horizontal and vice versa.

  • Example:

Suppose we have text values in the vertical cell range B5:B12. To convert the range into a horizontal one, insert the following formula in Cell D5 and press Enter:

=TRANSPOSE(B5:B12)

Introduction to Excel TRANSPOSE Function

Note: In Excel 365, array functions will automatically spill multiple results and insert them down and right. For previous versions, press Ctrl + Shift + Enter.

3 Examples of Using CONCATENATE and TRANSPOSE Functions Together in Excel


Example 1 – Combining Text

We have some text values in cell range B5:B11. We will join and transpose these values.

Steps:

  • Select Cell D5 and insert the following formula.
=CONCATENATE(TRANSPOSE(B5:B12))

Use Excel CONCATENATE & TRANSPOSE Functions to Combine Text in Excel

  • Press Enter and get your desired Concatenated Array.

Excel Concatenate Transpose

How Does the Formula Work?

  • The TRANSPOSE function converts the vertical cell range B5:B12 into a horizontal one.
  • The CONCATENATE function joins the values in that cell range.

Example 2 – Apply CONCATENATE and TRANSPOSE Functions with Commas and Spaces

We have the Names of some students. We will add a comma and space between each name and list them.

Steps:

  • Insert the following formula in Cell D5.
=CONCATENATE(TRANSPOSE(B5:B12&", "))

Apply CONCATENATE & TRANSPOSE Functions with Commas and Spaces in Excel

  • Press Enter and get your desired Concatenated Array.

How Does the Formula Work?

  • The TRANSPOSE function converts the vertical cell range B5:B12 into a horizontal one and adds a comma and space using the Ampersand Operator (&).
  • The CONCATENATE function joins the values in that cell range.

Read More: How to Concatenate Cells with If Condition in Excel


Example 3 – Add Characters Along Values

In the last method, we will show you how you can add characters along with CONCATENATE & TRANSPOSE functions in a merged cell.

Steps:

  • Insert the following formula in the merged cell.
=TRANSPOSE(B5:B12&" ")

Add Character Along with CONCATENATE & TRANSPOSE Functions in Excel

In the TRANSPOSE function, we inserted cell range B5:B12 as an array and added space as a character using the Ampersand Operator (&).
  • Select the whole formula and press F9 on your keyboard to convert the formula into values like this.

  • Add the CONCATENATE function at the beginning and remove the Curly Brackets ({}) as follows.

  • Press Enter and you will see the required output.

Here, the CONCATENATE function is used to join the values of the array.

Practice Section

In the article, you will find an Excel workbook like the image given below to practice on your own.

Practice Section


Download the Practice Workbook


Related Articles

Get FREE Advanced Excel Exercises with Solutions!
Arin Islam
Arin Islam

Anowara Islam Arin, a graduate of Civil Engineering from Khulna University of Engineering & Technology, Bangladesh, serves as a technical content creator in the ExcelDemy project. Possessing a passion for innovation and critical thinking, she actively embraces challenges. Beyond her engineering background, Arin exhibits a keen interest in Excel, having authored numerous articles on Excel & VBA-related issues to simplify the experience for users facing obstacles in Excel. Besides, she is also interested in Advanced Excel,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo