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
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Multiple string concatenation in Excel

+6
−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)

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

2 answers

You are accessing this answer with a direct link, so it's being shown above all other answers regardless of its score. You can return to the normal view.

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

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+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
History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

General comments (2 comments)

Sign up to answer this question »