Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users

Dashboard
Notifications
Mark all as read
Q&A

Multiple string concatenation in Excel

+5
−0

In Excel I would like to concatenate several strings into one.

I could type and fill in the blanks CONCATENATE(A1, A2, ....) but it is a lot of work

This would be cool, but it does not work CONCATENATE(A1:A255)

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comments

2 answers

+6
−0

In Office 365 and Excel 2019 there is a TEXTJOIN:

=TEXTJOIN(",",,A1:A10)

which can be written into the cell where the output is required.

Assumes A1:A10 has been populated to suit.

Why does this post require moderator attention?
You might want to add some details to your flag.

0 comments

+2
−0
  • In a new tab, type A1 in cell A1,

  • Type A2 in Cell A2

  • Use fill series to complete the values in column A

  • Type A1 in cell B1

    • Use this formula in cell B2

      =B1&","&A2

    • Copy the formula down.

Copy and Paste Special, Values to harvest the string of values you created.

A1	A1
A2	A1,A2
A3	A1,A2,A3
A4	A1,A2,A3,A4
A5	A1,A2,A3,A4,A5
A6	A1,A2,A3,A4,A5,A6
A7	A1,A2,A3,A4,A5,A6,A7
A8	A1,A2,A3,A4,A5,A6,A7,A8
A9	A1,A2,A3,A4,A5,A6,A7,A8,A9
A10	A1,A2,A3,A4,A5,A6,A7,A8,A9,A10
Why does this post require moderator attention?
You might want to add some details to your flag.

0 comments

Sign up to answer this question »