EDUCBA

EDUCBA

MENUMENU
  • Blog
  • All Courses
  • All in One Bundle
  • Login
Home Excel Excel Resources Excel Tips Concatenation in Excel

Concatenation in Excel

By Madhuri ThakurMadhuri Thakur

Concatenate in Excel

Concatenation in Excel

Concatenation is an operation performed in Excel for adding or merging the data from two or more cells and placing it in one cell. To be clear, adding means not a mathematical operation but only the physical addition of data. Suppose we add 1 and 2; it will give the result as 12 but not 3. We will see a few examples for a better understanding.

Syntax of concatenation:

Start Your Free Excel Course

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

Concatenate Syntax

How to Use Concatenation in Excel?

We have a few examples to understand concatenation in Excel, as explained below.

You can download this Concatenation in Excel Template here – Concatenation in Excel Template

Example #1

Consider a job portal; most of us filled in details in the job portal. While updating, there are two fields for a name, like first and last names. So, when the data is exported from the portal to Excel, each name is filled in separate cells like below.

Concatenate in Excel Example 1-1

We must add and fill in the two names under the “Full Name” column.

Concatenate in Excel Example 1-2

Observe the formula; it is concatenating A2 and B2; hence, the result is merging first and last names.

We can achieve the space between the first name and last name in a very easy way. But, there is no space between the first and last names if we observe the results. As shown below, we need to add an empty space with double quotes to create space between two names.

Concatenate in Excel Example 1-3

Concatenate in Excel Example 1-4

Suppose we want to add “Mr” before these names. Then we can do that also. Add “Mr” before C2 in the formula.

Concatenate in excel Example 1-5

Then it will give the results, including “Mr” at the beginning of the name.

Concatenate in excel Example 1-6

Observe how we got the required results. If we observe the formula, there is a space after “Mr” to create a space between “Mr” and the first name in the results. The space will merge with the first name if we do not give the space.

Concatenate in excel Example

Example #2

If we want to concatenate multiple cells, we can give the range of those cells. Consider we have data in contiguous cells, and we want to concatenate.

Below is the data available from cells C3 to G3.

Concatenate in excel Example 2-1

Now under “full string”, we need to join the data of all these cells.

Concatenate in excel Example 2-2

Concatenate in excel Example 2-3

Observe the formula; instead of mentioning every cell address, we can give the cell range from C3 to G3. But, in this type of concatenation, we cannot give any additional space in the formula to create a space between data items.

Up to now, we have seen how to concatenate the rows data now; we will see how to concatenate the column data. Below is the example table that we can use for column concatenation.

Concatenate Example 3-1

We can apply the formula as simply as how we applied it with rows of data.

Concatenate Example 3-2

Concatenate Example 3-3

If we want to add space between each word, use space with double quotes in between each cell’s address.

Concatenate Example 3-4

Concatenate Example 3-5

Printing Year, Month, and Date Using the Concatenate Formula

We will see each by one; let’s start with the year. If you want to print the current year with a concatenation of other cell data, give the formula below.

Concatenate year Example 4-1

Concatenate year Example 4

The current year is a string hence kept in double-quotes. Today’s function will give the current date, but we only need the year alone; hence we give the year format in double quotes and then convert the year into text format using the TEXT function. This is how we can print the year in concatenate function. Similarly, we can print the month and date also.

To print the month in text format, give the format as “mmm”.

Concatenate year Example 4-3

Concatenate year Example 4-4

If we want to print the month in number format.

Concatenate year Example 4-5

If we want to print the complete date, input the formula below. The data format is entirely our wish; if we want to print the first year, we can print it.

Concatenate year Example 4-6

Concatenate using “&” Operator

Instead of using the Concat function, we can use the “&” operator for concatenation. Now we will see a few examples of concatenation using “&”.

Consider the below Example. Rajesh and Kumar are available in two different cells now using & we will concatenate them.

Concatenate formula example 5-1

We have to use & symbol before and after the cell address.

Concatenate formula example 5-2

Concatenate formula example 5-3

Here we can observe an & symbol after the cell address C3 and maintain the space between the two names; we were given space between double quotes similar to how we have given in concatenate function. After space one more time, we used the & symbol.

If we want to add the “-” in between the two names, we can use the “-“symbol in the place of space.

Below are the screenshots for reference.

Concatenate formula example space1

Concatenate formula example space2

Date Format Using “&” Symbol

It is similar to the concatenate function. If we want to print the current day, as to how we use today, function similarly takes the today function and from that takes a day in text format and concatenates with any text or cell address.

TEXT JOIN()

Text join is another function that we can use for joining texts.

The syntax of TEXTJOIN is as below:

TEXTJOIN Formula

Text join has some other features and concatenates that we can give the delimiter, and we can ignore empty spaces when we select a range of cells.

We will see one example to understand this TEXTJOIN() function better. Please find the below screenshot, which we need to join or concatenate those texts using TEXTJOIN.

TEXTJOIN Formula Example 1-1

First, we need to give a delimiter, which means how we want to separate each text, whether space, comma, semicolon, etc. Here we want space between each word; hence we will give a space between two double quotes in place of the delimiter. The second is ignorance of empty spaces; if we do not want empty space cells to include our text, it gives “True”; otherwise, “false”, and finally gives the range of cells we want to join.

TEXTJOIN Formula Example 1-2

The result is as below.

TEXTJOIN Formula Example 1-3

In the below example, we will give the delimiter as the comma.

TEXTJOIN Formula Example 1-4

If we give the delimiter a comma, the result will be below.

TEXTJOIN Formula Example 1-5

Things to Remember about Concatenation in Excel

  • Concat and TEXTJOIN are the latest functions that started after EXCEL in 2016.
  • The concatenation function is also for joining the strings; however, it will only give the results in text format.
  • The concatenation function will not allow the range of cells like A1: A3; instead, we should give A1, A2, and A3.

Recommended Articles

This has been a guide to Concatenation in Excel. Here we discussed How to use Concatenation in Excel, practical examples, and a downloadable Excel template. You can also go through our other suggested articles to learn more–

  1. Opposite of Concatenate in Excel
  2. CONCATENATE Function in Excel
  3. Concatenate Strings in Excel
  4. VBA Concatenate Strings
All in One Excel VBA Bundle
500+ Hours of HD Videos
15 Learning Paths
120+ Courses
Verifiable Certificate of Completion
Lifetime Access
Financial Analyst Masters Training Program
1000+ Hours of HD Videos
43 Learning Paths
250+ Courses
Verifiable Certificate of Completion
Lifetime Access
All in One Data Science Bundle
1500+ Hour of HD Videos
80 Learning Paths
360+ Courses
Verifiable Certificate of Completion
Lifetime Access
All in One Software Development Bundle
3000+ Hours of HD Videos
149 Learning Paths
600+ Courses
Verifiable Certificate of Completion
Lifetime Access
Primary Sidebar
All in One Excel VBA Bundle500+ Hours of HD Videos | 15 Learning Paths | 120+ Courses | Verifiable Certificate of Completion | Lifetime Access
Financial Analyst Masters Training Program1000+ Hours of HD Videos | 43 Learning Paths | 250+ Courses | Verifiable Certificate of Completion | Lifetime Access
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

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

EDUCBA

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

EDUCBA
Free Excel Course

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

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
Let’s Get Started

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
EDUCBA

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

Download Concatenation in Excel Template

EDUCBA Login

Forgot Password?

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

EDUCBA

Download Concatenation in Excel Template

EDUCBA

डाउनलोड Concatenation in 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