Convert excel column to comma separated list

+1 vote
In Excel, I have a column which has 50 rows. Now I want to convert these 50 rows into a single cell with comma separated values. Is there a way to do it?
Apr 5, 2022 in Database by Edureka
• 13,690 points
200,405 views

1 answer to this question.

+1 vote

The CONCATENATE function in Excel can transform a column list into a list separated by commas in a cell. Please follow these instructions:

1. Type the formula =CONCATENATE(TRANSPOSE(A1:A7)&",") in a blank cell adjacent to the list's initial data, for example, cell C1. (The column A1:A7 will be converted to a comma-serrated list, and the separator "," will be used to separate the list.) Take a look at the images below:

2. Press the F9 key to highlight the TRANSPOSE(A1:A7)&"," in the formula.

3. Remove the curly brackets and press the Enter key from the formula.

image

answered Apr 6, 2022 by gaurav
• 23,580 points
Mine definitely doesn’t do this. It instead adds a semicolon and keeps the quotation marks in the list.
Very useful stuff, Works great. but my requirement is to get the result separated with comma and single quotation mark like = 'Volleyball','Basketball','Football',...
Thank you!! this is super helpful, but i have about 350+ rows that i am trying to apply this to, and its giving me an error.  Any suggestions?
After I use this formula, how can I convert the results into text keeping the commas inbetween.
0 votes
=TEXTJOIN(",",TRUE,A1:A50)
answered Mar 2, 2023 by Monica Augustine

edited Mar 5, 2025
0 votes
=TEXTJOIN(",",TRUE,A1:A50)--Column

=TEXTJOIN(",",TRUE,A1:AX1)--Column
answered Mar 2, 2023 by monica

edited Mar 5, 2025
0 votes
You can Directly use =TEXTJOIN(",",TRUE,A1:A61) WHERE your Column range will be 1 to 50
answered Jul 26, 2023 by Manan Sheth

edited Mar 5, 2025

Related Questions In Database

0 votes
0 answers

How to get address, Column Name and Row Name of all marked rows in Excel table as rows in new worksheet

 need the row/column combinations marked with an ...READ MORE

Feb 24, 2022 in Database by Edureka
• 13,690 points
2,935 views
0 votes
1 answer

Excel 2003 - Match Column A with Column B & Column C to correspond to Column B

Write a standard IF formula that compares ...READ MORE

answered Mar 15, 2022 in Database by gaurav
• 23,580 points
3,925 views
0 votes
1 answer

Excel formula to remove comma, spaces, period and add a text

The steps to accomplish this are as ...READ MORE

answered Mar 15, 2022 in Database by gaurav
• 23,580 points
3,382 views
0 votes
1 answer

Convert Number to Words in Excel VBA code

1. Prevent the conversion of the cents ...READ MORE

answered Dec 30, 2022 in Database by bobh

edited Mar 5, 2025 56,766 views
0 votes
1 answer

Retrieve epay.info Balance with VBA and Excel

This code should log you in, provided ...READ MORE

answered Sep 5, 2018 in Blockchain by digger
• 26,740 points
2,690 views
0 votes
1 answer

ImportError: openpyxl is required for loading excel format files

Forget the PsychoPy complications for the time ...READ MORE

answered Oct 3, 2018 in Python by Priyaj
• 58,020 points
2,128 views
0 votes
1 answer

In Blue Prism how to split excel column data into TWO columns

This is how I am doing it. Dim ...READ MORE

answered Oct 15, 2018 in RPA by Priyaj
• 58,020 points
5,368 views
0 votes
1 answer

Excel Power Query: Using List.MatchAny on a column value

try this. let TableA = ...READ MORE

answered Oct 22, 2018 in Power BI by Annie97
• 2,160 points
5,310 views
0 votes
1 answer

How to convert a column number (e.g. 127) into an Excel column (e.g. AA)

If anyone needs to do this in ...READ MORE

answered Mar 30, 2022 in Database by gaurav
• 23,580 points
1,727 views
0 votes
1 answer

Convert a number to a letter in C# for use in Microsoft Excel [duplicate]

If you are familiar with using formulas ...READ MORE

answered Feb 23, 2022 in Database by gaurav
• 23,580 points
1,838 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP