Notifications
Sign Up Sign In
Q&A

Multiple string concatenation in Excel

+2
−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 should this post be closed?

0 comments

2 answers

+4
−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.

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

1 comment

@pnuts I looked at the pending edit and can't see what you are trying to change. ‭James Jenkins‭ about 1 month ago

Sign up to answer this question »