July 5, 2022


News and Update

How you can be a part of values ​​in an Excel column to a row

Picture: dennizn / Adobe Inventory

If we lived in an ideal world, all knowledge would at all times be in the proper construction and format for the present job. However we regularly have to scrub up imported knowledge or restructure our personal knowledge earlier than sending it to others.

That’s what occurs when somebody asks you to mix all of the values ​​in a column right into a single cell. That’s not what you want to do Microsoft Excel, however the subsequent individual would possibly want it that approach. On this information, I’ll present you many methods to satisfy this requirement.

UNDERSTAND: Home windows, Linux, and Mac instructions everybody must know (free PDF) (TechRepublic)

I’m utilizing Microsoft 365 on Home windows 10 64-bit programs, however you should use older variations for the primary technique. Every part offers with variations that assist that technique. Excel for the net helps all three strategies. On your comfort, you possibly can obtain demo .xlsx and .xls recordsdata.

How you can mix values ​​right into a single cell in an Excel .xls file

Newer options and features that I’ll use later on this article weren’t out there within the .xls format earlier. We’ll handle this requirement utilizing a helper column and a easy expression.

Image A exhibits a column of names that we’ll mix into one cell with a separator between the values. We’ll use the helper column so as to add a delimiter to every worth. To do that, enter the next expression in C3 and duplicate it into the remaining cells:

See also  Qualcomm pronounces two main RFFE developments


Image A

We’ll concatenate these values ​​right into a single cell.

Character & combines values ​​- it doesn’t sum or do any math analysis. The aspect “,” is the delimiter, comma (,).

The delimiter is a personality that separates values ​​or represents an information kind. You should utilize virtually any character because the delimiter on this case, however the recipient will probably specify the character. As you possibly can see in column C, a comma follows every identify.

With the helper column in place, we’ll use a easy expression to mix all of them. We’ll deal with the values ​​within the helper column as values ​​within the working complete, however as a substitute of summing, we’ll concatenate.

In D3, reference the primary helper worth by typing C3. In D4, enter the next expression and duplicate it into the remaining cells:


As you possibly can see in Determine BUTevery expression appends a worth to the record.

Determine BUT

A easy expression that creates a concatenated record.

You could have seen that the record ends with a comma character. To take away that comma, reference solely the identify within the final expression. Doing so will take away the comma on the finish of the record.

You could be questioning about Excel’s CONCATENATE() perform, however you should reference every cell individually and embrace a comma character between every reference. It’s an excessive amount of of a trouble, particularly in case your record of values ​​is lengthy. Nonetheless, you’ll get rid of the necessity for a helper column. If you happen to determine to make use of it, you’ll use the identical working sum expression.

See also  Wimbledon skilled picks – Will Novak Djokovic get his fourth title in a row? How will Serena Williams fare? And might Rafa Nadal win one other Grand Slam?

This perform is offered in Excel 2010 by Microsoft 365 and makes use of the next syntax:

CONCATENATE(text1, [text2], ...)

the place every argument refers to a textual content worth or a string of characters, such because the comma character. SIZE show the results of utilizing this perform. First, enter the easy expression


in C3. Then enter the next perform in C4 and duplicate it into the remainder of the cells:



It’s the identical expression we used earlier, however it omits the necessity for a helper column. Additionally, you’ll most likely have to take away the final comma within the string.

At this level, you possibly can submit the record or use it nevertheless you want. In case you are utilizing Excel 2019 by Microsoft 365, there’s a perform that may do the identical factor, simply quicker and with out the assistance column.

How you can mix values ​​right into a single cell utilizing TEXTJOIN() in Excel

Microsoft 365, Excel 2019, and Excel for the net assist the TEXTJOIN() perform. This perform concatenates values ​​from a number of ranges and permits you to set delimiters. This perform makes use of the next syntax:

TEXTJOIN(delimiter, ignore_empty, range1, [range2], …)

These arguments are self-explanatory for probably the most half. If ignore_empty is TRUE, TEXTJOIN() will ignore empty cells. The vary arguments consult with the values ​​you need to concatenate. As an instance, enter the next perform into C3 – no want to repeat it into the remainder of the cells:


As you possibly can see in Visualization, we achieved the identical end result with only one perform. Additionally, there is no such thing as a comma on the finish of the string. This perform has one restriction: The concatenated string can not exceed 32,767 characters.

See also  NATO formally invited Finland and Sweden to hitch the alliance.


TEXTJOIN() concatenates all values ​​in column B.

Preserve steady

It’s also possible to use Energy Question to finish this job, however for this instance it will be overkill. Nonetheless, in a subsequent article, I’ll present you a PivotTable resolution that joins values ​​in teams.