Assuming your data starts in A1 I would put the following in column B:

B1:

=A1

B2:

=B1&","&A2

You can then paste column B2 down the whole column. The last cell in column B should now be a comma separated list of column A.

Answer from Sux2Lose on Stack Exchange
๐ŸŒ
Convert Town
convert.town โ€บ column-to-comma-separated-list
Convert Column to Comma Separated List Online
Copy your column of text in Excel ยท Paste the column here (into the leftmost textbox) Copy your comma separated list from the rightmost textbox ยท Paste your comma separated list wherever you wish ยท No ads with PRO ยท
Discussions

how do I convert column data to a comma separated list in a single cell
How do I convert column data to a comma-separated list in a single cell? For example: From this: A B 1 168396 2 168444 3 168555 4 168567 5 168936 To this: A โ€ฆ More on learn.microsoft.com
๐ŸŒ learn.microsoft.com
7
62
April 29, 2020
vba - Convert list of items in an Excel Table to comma-separated string - Stack Overflow
I have a table in Excel (Table1) that has these column headings: employee name, state licensed, and license status. A sample of the table would be: John Adams NY Active John Adams PA Active ... More on stackoverflow.com
๐ŸŒ stackoverflow.com
Excel - convert row cells into comma separted list - Stack Overflow
I have a excel sheet containing 2 rows. Each row has the data inserted into multiple columns. What I need is to generate a comma separated list based on all the logic if its 08:00 a.m. then 0 if is... More on stackoverflow.com
๐ŸŒ stackoverflow.com
Conversion of column list to comma delimited string
Is there a macro I can use that would convert this... USA Germany Chile France Turkey Indonesia to this... More on mrexcel.com
๐ŸŒ mrexcel.com
28
0
September 22, 2019
๐ŸŒ
Capitalize My Title
capitalizemytitle.com โ€บ home โ€บ tools โ€บ online comma separator โ€“ convert list to csv (column to comma)
Convert Column to Comma Separated List
Have your text ready in one column in Excel. In the column next to the column you want to convert to a comma-separated string, enter the cell reference and (&โ€,โ€) without the paratheses.
๐ŸŒ
ExtendOffice
extendoffice.com โ€บ home โ€บ office tips โ€บ excel tips
How to convert column list to comma-separated list in Excel?
July 3, 2025 - Learn how to convert a column list to a comma-separated list in Excel using functions like TEXTJOIN and CONCATENATE, VBA code, or the Kutools add-in.
๐ŸŒ
Microsoft Learn
learn.microsoft.com โ€บ en-us โ€บ answers โ€บ questions โ€บ 5062007 โ€บ how-do-i-convert-column-data-to-a-comma-separated
how do I convert column data to a comma separated list in a single cell - Microsoft Q&A
April 29, 2020 - and if you don't have then go to excel online and use TEXTJOIN() function and then copy-paste the data in your flile ... You can convert rows to columns using the transpose option.
๐ŸŒ
Computing.net
computing.net โ€บ home โ€บ how to convert column list to comma separated list in excel
How to Convert Column List to Comma Separated List in Excel - Computing.net
July 24, 2024 - You are now knowledgeable in converting column lists to comma-separated lists in excel. These four simple and easy-to-model methods have been highlighted and thoroughly explained: the TEXTJOIN function method, the CONCATENATE function method, VBA code string, and Kutools for Excel.
๐ŸŒ
Delim
delim.co
Free Online Comma Separating Tool
A delimiter is a sequence of one or more characters used to specify the boundary between separate, independent regions in plain text or other data streams. An example of a delimiter is the comma character, which acts as a field delimiter in a sequence of comma-separated values. Convert a list of zipcodes in a spreadsheet into a comma-separated list that you can put in a WHERE IN() block to run reports!
Find elsewhere
Top answer
1 of 1
1

OK, so here is an example using Scripting Dictionaries.

I have this table on one worksheet:

And the output should produce a new worksheet with summary data like:

I tried to document it pretty thoroughly but let me know if you have any questions about it.

Option Explicit
Sub Test()

Dim wsCurr As Worksheet: Set wsCurr = ActiveSheet
Dim wsNew As Worksheet 'output container'
Dim rowNum As Long 'row number for output'

'Scripting dictionaries:'
Dim inactiveDict As Object
Dim activeDict As Object
Dim key As Variant

'Table variables'
Dim rng As Range 'table of data'
Dim r As Long 'row iterator for the table range.'

'information about each employee/row'
Dim empName As String
Dim state As String
Dim status As String

'Create our dictionaries:'
Set activeDict = Nothing
Set inactiveDict = Nothing
Set activeDict = CreateObject("Scripting.Dictionary")
Set inactiveDict = CreateObject("Scripting.Dictionary")

Set rng = Range("A1:C6") 'better to set this dynamically, this is just an example'

For r = 2 To rng.Rows.Count
    empName = rng(r, 1).Value
    state = rng(r, 2).Value
    status = rng(r, 3).Value

    Select Case UCase(status)
        Case "ACTIVE"
            AddItemToDict activeDict, empName, state

        Case "INACTIVE"

            AddItemToDict inactiveDict, empName, state

    End Select
Next

'Add a new worksheet with summary data'

Set wsNew = Sheets.Add(After:=wsCurr)
With wsNew
    .Cells(1, 1).Value = "Name"
    .Cells(1, 2).Value = "Active"
    .Cells(1, 3).Value = "Inactive"

    rowNum = 2

    'Create the initial table with Active licenses'
    For Each key In activeDict
        .Cells(rowNum, 1).Value = key
        .Cells(rowNum, 2).Value = activeDict(key)
        rowNum = rowNum + 1
    Next

    'Now, go over this list with inactive licenses'
    For Each key In inactiveDict
        If activeDict.Exists(key) Then
            rowNum = Application.Match(key, .Range("A:A"), False)
        Else:
            rowNum = Application.WorksheetFunction.CountA(wsNew.Range("A:A")) + 1
            .Cells(rowNum, 1).Value = key
        End If

        .Cells(rowNum, 3).Value = inactiveDict(key)
    Next
End With

'Cleanup:
Set activeDict = Nothing
Set inactiveDict = Nothing


End Sub


Sub AddItemToDict(dict As Object, empName As String, state As String)
'since we will use the same methods on both dictionary objects, '
' it would be best to subroutine this action:'
Dim key As Variant

'check to see if this employee already exists'
If UBound(dict.Keys) = -1 Then
    dict.Add empName, state
Else:
    If Not dict.Exists(empName) Then
    'If IsError(Application.Match(empName, dictKeys, False)) Then
        'employee doesn't exist, so add to the dict'
        dict.Add empName, state
    Else:
        'employee does exist, so update the list:'
        'concatenate the state list'
        state = dict(empName) & ", " & state
        'remove the dictionary entry'
        dict.Remove empName
        'add the updated dictionary entry'
        dict.Add empName, state
    End If
End If

End Sub
๐ŸŒ
YouTube
youtube.com โ€บ watch
Convert Column to Comma Separated List - YouTube
๐Ÿ“ฝ๏ธ In this Microsoft Excel video tutorial I demonstrate how to convert a column to a comma separated list. The way you do this depends on the version of Ex...
Published ย  June 1, 2025
๐ŸŒ
YouTube
youtube.com โ€บ watch
Convert a column into a comma separated list in Excel - YouTube
In this video, we'll explore how to convert a column into a comma-separated list in Excel using the TextJoin function. By the end of this tutorial, you will ...
Published ย  November 22, 2024
๐ŸŒ
ExcelDemy
exceldemy.com โ€บ home โ€บ excel formulas โ€บ how to convert a column into a comma separated list with single quotes โ€“ 5 methods
How to Convert a Column into a Comma Separated List With Single Quotes - 5 Methods - ExcelDemy
August 9, 2024 - The ampersand sign (&) will join the single quotes (โ€˜โ€™) and the commas (,) with the cell values to create a comma separated list with single quotes. Press ENTER to see the result. Read More: How to Convert Columns to Rows in Excel (2 Methods) ... Enter the formula in C5. =CONCATENATE("'",B5,"',", "'",B6,"',", "'",B7,"',","'",B8,"',","'",B9,"'") ... The CONCATENATE function will take strings and join them to make a large text.
๐ŸŒ
YouTube
youtube.com โ€บ shorts โ€บ KLFw96yaKME
Convert List into Comma Separated Values - Excel #Shorts - YouTube
To convert a column of data values into Comma Separated Values (CSV) has been made easier with the TEXTJOIN function. But you're not constrained by just comm...
Published ย  February 12, 2021
๐ŸŒ
CodeShack
codeshack.io โ€บ home โ€บ tools โ€บ column to comma separated list
Column to Comma Separated List - Free Online Converter
It takes a column of values โ€” one per line, the way they come out of a spreadsheet or a text file โ€” and joins them into a single comma-separated list. Paste a stack of names, IDs, or emails on the left and you get a, b, c on the right, ready to drop into a config value, a URL parameter, a code array, or a database query. It converts as you type, so there's nothing to click. You decide exactly how the list is built. Choose what goes between the items (a comma, a semicolon, a pipe, or any custom string), wrap each value in quotes or brackets, and clean things up along the way by trimming whitespace, dropping blank lines, removing duplicates, or sorting.
๐ŸŒ
Statology
statology.org โ€บ home โ€บ excel: how to convert column into comma separated list
Excel: How to Convert Column into Comma Separated List
June 7, 2023 - Recall the formula that we used ... any empty cells in the range. Note: You can find the complete documentation for the TEXTJOIN function in Excel here....
๐ŸŒ
MrExcel
mrexcel.com โ€บ forums โ€บ question forums โ€บ excel questions
Conversion of column list to comma delimited string | MrExcel Message Board
September 22, 2019 - Sub MM1() Dim i As Integer, s As String i = 1 Do Until Cells(i, 1).Value = "" If s = "" Then s = Cells(i, 1).Value Else s = s & "," & Cells(i, 1).Value End If i = i + 1 Loop Cells(1, 2).Value = s End Sub ... Sub Comma_List() Range("B2").Value = Join(Application.Transpose(Range("A2", Range("A" & Rows.Count).End(xlUp))), ",") End Sub Although you asked for a macro, this can also be done by formula if your Excel version has the TEXTJOIN function =TEXTJOIN(",",1,A2:A7)
๐ŸŒ
Microsoft Community
community.fabric.microsoft.com โ€บ t5 โ€บ Power-Query โ€บ How-to-convert-Table-list-into-comma-separated-string โ€บ td-p โ€บ 3423222
How to convert Table/list into comma separated string
September 12, 2023 - How to convert Table/list into comma separated str... ... 1. a [connection only] which is generating a parameter within Power Query from a referrence from within the spreadsheet itself - a list (single column) of numbers as text or integer. let's say this parameter is called "IDlist". 2. a [Web API call] using the = Json.Document(Web.Contents("https://somewebapi.com/" & IDlist)) function. The intent here is to have the IDlist resolve to a string as "34,35,36,37,38,39,40"
๐ŸŒ
The Bricks
thebricks.com โ€บ home โ€บ resources โ€บ how to make a comma-separated list in excel
How to Make a Comma-Separated List in Excel
April 22, 2025 - If FALSE, it will include them, resulting in extra commas (e.g., Apple,,Cherry). You'll almost always want this to be TRUE. text1, [text2], โ€ฆ: This is the text you want to join. The best part is that you can select an entire range of cells, like A1:A100. Imagine your data is in cells A1:A10. 1. Click on the cell where you want the final list to appear. ... 3. Press Enter. That's it! Excel will instantly join every value in the A1 to A10 range, separating each with a comma and a space, and intelligently ignoring any blank cells along the way.
๐ŸŒ
Reddit
reddit.com โ€บ r/excel โ€บ how to paste a list separated by commas into seperate rows
r/excel on Reddit: How to Paste a list separated by commas into seperate rows
October 1, 2023 -

Hi all hope you can help me.

Iโ€™m trying to paste a long list of model numbers into an excel spreadsheet. Please see a short example below, itโ€™s usually up to 100 different values separated by commas so takes a long time to paste in individually.

โ€œAF1B, AF1B-0PR01, AF1N, AF1N-0PR01, FSD1B, FSD1B-0PR01, FSD1N, FSD1N-0PR01, FSDR1B-0PR01, FSDR1N-0PR01โ€

When googling i can see how to paste values in like this using paste special and delimited options.

But this only pastes the values along the same row in different columns and not on different rows in one column.

Could anyone let me know how to do this as it would save me a lot of time ?

Edit:

Thank you for all your help i did manage to do it and it saved me a lot of time!!!