EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Certification Courses
  • 120+ Courses All in One Bundle
  • Login
Home Excel Excel Resources Excel Tools Excel Concatenating Columns
Secondary Sidebar
Excel Functions
  • Excel Tools
    • Excel Shortcut Redo
    • Reduce Excel File Size
    • Quick Analysis in Excel
    • Goal Seek in Excel
    • Compare Two Lists in Excel
    • Excel Quick Analysis
    • Estimate Template in Excel
    • Pivot Table Count Unique
    • CSV Files into Excel
    • Excel Business Plan Template
    • Excel Export to PDF
    • Free Excel Template
    • Excel Repair
    • Color in Excel
    • Form Controls in Excel
    • Timecard Template in Excel
    • How to Unhide All Sheets in Excel?
    • Power Query in Excel
    • Power View in Excel
    • XML in Excel
    • Excel Evaluate Formula
    • Examples of Excel Macros
    • Consolidation in Excel
    • Ribbon in Excel
    • Excel Conditional Formatting for Dates
    • Protect Sheet in Excel
    • Data Model in Excel
    • Pivot Table Examples
    • Pivot Table Slicer
    • Pivot Table Filter
    • Watch Window in Excel
    • Slicer in Excel
    • Print Gridlines in Excel
    • Convert Numbers to Text in Excel
    • Freeze Columns in Excel
    • Spelling Check in Excel
    • Name Box in Excel
    • Solve Equation in Excel
    • Excel Spreadsheet Examples
    • What If Analysis in Excel
    • How to Print Labels From Excel
    • Excel Named Range
    • Excel TRANSPOSE Formula
    • Excel Merge and Center
    • Excel Freeze Rows
    • HLOOKUP Formula in Excel
    • Excel Create Database
    • Excel Gridlines
    • Excel Spreadsheet Formulas
    • Excel Sort By Number
    • Excel Concatenating Columns
    • Excel AutoCorrect
    • Conditional Formatting For Blank Cells
    • Excel Icon Sets
    • Excel CTRL D
    • Excel Accounting Number Format
    • Excel Regression Analysis
    • Excel Import Data
    • Excel Freeze Panes
    • Excel Calendar
    • Excel Developer Tab
    • Excel Enable Macros
    • Excel Autosave
    • Heat Map in Excel
    • Excel Toolbar
    • Excel Error Bar
    • Excel Status Bar
    • Excel Unprotect Sheet
    • Check mark in Excel
    • Excel Column Filter
    • Excel Header and Footer
    • Excel Drawing
    • Range in Excel
    • Timeline in Excel
    • Excel Lock Formula
    • Excel Table styles
    • Insert New Worksheet in Excel
    • Excel Column Lock
    • Excel Forms for Data Entry
    • QUOTIENT in Excel
    • Excel Sorting
    • Excel Sort by color
    • Excel Data Bars
    • Excel Tool for Data Analysis
    • Excel Flash Fill
    • Excel Auto Fill
    • Excel Quick Access Toolbar
    • Excel Wrap Text
    • Excel Exponential Smoothing
    • Excel ANOVA
    • Excel Merge Two Tables
    • Excel Conditional Formatting in Pivot Table
    • Dynamic Tables in Excel
    • Excel Sort by date
    • Excel Dynamic Range
    • Record Macro in Excel
    • Two Variable Data Table in Excel
    • Merge Cells in Excel
    • One Variable Data Table in Excel
    • Excel Fill Handle
    • CheckBox in Excel
    • Excel Table
    • Excel Combo Box
    • Auto Format in Excel
    • Advanced Filter in Excel
    • Excel AutoFilter
    • Excel Data Filter
    • Excel Data Validation
    • Excel Radio Button
    • Data Table in Excel
    • Text to Columns in Excel
    • Excel List box
    • Excel Solver Tool
    • Scrollbar in Excel
  • Excel Functions (12+)
  • Financial Functions in Excel (17+)
  • Logical Functions in Excel (14+)
  • Lookup and Reference Functions in Excel (35+)
  • Maths Function in Excel (47+)
  • TEXT and String Functions in Excel (26+)
  • Date and Time Function in Excel (24+)
  • Statistical Functions in Excel (59+)
  • Information Functions in Excel (4+)
  • Excel Charts (56+)
  • Excel Tips (222+)
  • Workplace Productivity (4+)
  • Microsoft Office Tools (15+)
  • Excel Formula and Functions (22+)
  • MS Excel Shortcuts (4+)
Excel Functions Courses
  • EXCEL ADVANCED Training
  • EXCEL Training COURSE

Excel Concatenating Columns

By Madhuri ThakurMadhuri Thakur

concatenate columns in excel

Excel Concatenating Columns 

  • Concatenating Columns in Excel
  • How to Concatenate Columns in Excel?

Concatenating Columns in Excel

We frequently come up with a situation where we have data stored in multiple columns, and all we wanted is to store it in one single column, row by row.

For example, you have a full view table that contains different columns named as Emp ID, First Name, Last Name, Address, City, Postal Code, Salary. You wanted to combine the First Name and Last Name with Space as a separator between them, or you wanted to combine the Address along with City and Postal Code details so that you can have Address in one single cell, which could be printed on the envelope in case you send them a letter.

concatenate columns data

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

What can you do in such scenarios? If you are not sure what to do in such cases, this article is for you.

This article discusses how we can concatenate the data from two or more columns using concatenate function and the ampersand (&) operator.

All in One Excel VBA Bundle(120+ Courses, 30+ Projects)
Basic ExcelAdvanced ExcelVBA & MacrosExcel Dashboards
Pivot TablesStatistical FunctionsFinancial FunctionsCharts & Graphs
Price
View Courses
120+ Online Courses | 30+ Projects | 500+ Hours | Verifiable Certificates | Lifetime Access
4.9 (64,725 ratings)

As the word itself mean as per the English literature (Concatenate = link (things) together in a chain or series), Concatenation is a process in excel which allows you to join two or more columns containing strings cell by cell (row by row more precisely) with the help of certain separators/delimiters.

How to Concatenate Columns in Excel?

We have two ways to excel to concatenate the strings.

  • Using CONCATENATE() Function
  • Ampersand (&) Operator

We will see both methods of Concatenating Columns in Excel with some examples.

You can download this Concatenate Columns Excel Template here – Concatenate Columns Excel Template

Example #1

Concatenating two or more cells using CONCATENATE() Function –

The syntax for CONCATENATE in excel is :

concatenate syntax

=CONCATENATE(text1, [text2], [text3], …). Where text is most of the times cell reference value.

We can see that apart from the first argument, the rest of them are enclosed in squared brackets. It’s an indication that these arguments are optional.

Let’s look at some of the examples!

Suppose we have two columns containing the First name and Last Name of the Employee in each respective column (B and C).

We can concatenate the two values (B2 and C2) under column D (named as Full Name) as follows:

=CONCATENATE(B2, C2)

See the image below.

Concatenate columns in Excel

However, you can see that the First Name and Last Name are combined without any delimiter/separator. Please see the below image for realization.

Concatenate columns in Excel

You can see that there is no separator between First Name and Last Name in column D (Full Name).

We would like to have space between First Name and Last Name.

Fortunately, CONCATENATE in excel allows us to add delimiters as well as separators for customization of view.

See the below formula:

=CONCATENATE(B2, “ ”, C2)

You can easily recognize the difference between the previous formula and this one. There is a space included within quotations to add space between First and Last Name.

The result will be:

Concatenate columns in Excel

Note: We can use different delimiters within the CONCATENATE() function. Ex. Comma (“,”), hyphen (“-”), forward or backward slash, asterisk (*) etc.

As we have come up with the solution for concatenating two cells, let’s think on a broader picture and try to combine two columns. It’s just as simple as dragging the notification panel down of your smartphone.

You just need to drag the fill handle down, so that formula in D2 gets copied and pasted in subsequent cells.

concatenate example 1-4

Easy looking, right?

There is another method to concatenate two or more than two columns in excel. Let’s have a look, and it looks easier.

Example #2

Concatenating two or more cells using ampersand (&) operator –

Ampersand (&) operator can also be used to concatenate two or more cells in excel. It works as same as CONCATENATE() function. This operator seems handier, as lazy people like me would like to type “&” other than CONCATENATE().

We will try to concatenate the same columns using the ampersand operator with the below syntax:

In cell D2, input the formula: =B2&C2.

concatenate example 2-1

It will give you the following output:

concatenate example 2-2

The result will be:

concatenate example 2-3

It is ideal to have space between First Name and Last Name.

On a similar note of concatenating function, you can add separator/delimiter while using ampersand operator to concatenate two or more columns.

In cell D2, replace the previous formula with the new one and see the results: = B2&” ”&C2.

We can drag the fill handle or use Ctrl + D (if there are no hidden cells between) to apply the formula to the entire column.

Easier to type & than CONCATENATE(), right?

Example #3

Concatenating two or more strings with Line Breaks

More often, you use separator/delimiter like a comma(,), space, forward/backward slashes (when you’ve to concatenate dates), an asterisk(“*”), etc. to concatenate two or more strings. However, what if you have address details such as Street, City, and Postal Code in different columns and you wanted to concatenate the same with line breaks so that the output should look like :

Line Breakups

We can’t add a line break as a simple delimiter(like a comma, space etc.) in the excel formula of CONCATENATE(). Therefore, we need to use special function CHAR() to provide ASCII code of line break (ASCII code is a code which represents English letters with each letter assigned a unique number between 0 to 127. For line break, the ASCII code is 10). Please note that these codes are compatible with the Windows system.

Let’s have a look at an example:

We have 3 different columns containing address information. Column A (Street), column B (City), and column C (Postal Code).

concatenate example 3-1

Let’s rename column D as Address and type the following formula under cell D2:

=CONCATENATE(A2, CHAR(10) , B2 , CHAR(10) , C2)

It gives the following result:

concatenate example 3-2

You can drag the formula to copy and apply it to all cells.

The result will look like this:

concatenate example 3-3

Things to Remember

  • At least one text argument is required for CONCATENATE() function in excel.
  • CONCATENATE() formula has a limit of 255 strings (6equivalent to 8,192 characters). You can’t go beyond that limit in a single CONCATENATE() formula.
  • CONCATENATE() function always gives a string output no matter the type of input data. Saying that, though your input data is of Numeric in nature, the output will always be a string.
  • Arrays cannot be recognized by the CONCATENATE() function. Each cell reference needed to be provided separately. Having said that, =CONCATENATE(B2:C2) cannot be used instead of =CONCATENATE(B2, C2).
  • If at least one of the arguments is not right or invalid in CONCATENATE() function, then excel will shoot an #VALUE! error towards the cell.
  • #NAME? An error appears in CONCATENATE() function when there are quotations missing while you are concatenating two or more Text values.
  • The Last and most important, if you are using Excel 2016 or above version, you are supposed to use CONCAT() function instead of CONCATENATE() as the latter is replaced by the successor and is supposed to be there in all upcoming excel versions. CONCATENATE() is still there for any compatibility with previous excel versions, but Microsoft doesn’t assure whether it would be there in coming excel versions or not.

Recommended Articles

This has been a guide to Concatenate Columns in Excel. Here we discussed Concatenate columns in Excel and How to use Concatenate Columns in Excel using different Excel methods along with practical examples and downloadable excel template. You can also go through our other suggested articles –

  1. Opposite of Concatenate in Excel
  2. Concatenate Strings in Excel
  3. COLUMNS Formula in Excel
  4. Excel Concatenate Date
Popular Course in this category
Excel Advanced Training (16 Courses, 23+ Projects)
  16 Online Courses |  23 Hands-on Projects |  140+ Hours |  Verifiable Certificate of Completion
4.8
Price

View Course

Related Courses

Excel Training (23 Courses, 9+ Projects)4.9
0 Shares
Share
Tweet
Share
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Excel Charts
  • Excel Tips
  • All Tutorials
Certification Courses
  • All Courses
  • Excel VBA Course - All in One Bundle
  • VBA Course
  • Excel Data Analysis Course
  • Excel for Marketing Course
  • Excel for Finance Course
  • Excel for HR Training

ISO 10004:2018 & ISO 9001:2015 Certified

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

Download Concatenate Columns Excel Template

EDUCBA

Download Concatenate Columns Excel Template

EDUCBA

डाउनलोड Concatenate Columns Excel Template

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more