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 ExchangeAssuming 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.
- Copy the column in Excel
- Open Word
- "Paste special" as text only
- Select the data in Word (the one that you need to convert to text separated with
,), press Ctrl-H (Find & replace) - In "Find what" box type
^p - In "Replace with" box type
, - Select "Replace all"
how do I convert column data to a comma separated list in a single cell
vba - Convert list of items in an Excel Table to comma-separated string - Stack Overflow
Excel - convert row cells into comma separted list - Stack Overflow
Conversion of column list to comma delimited string
Videos
For the first row, you can use a combination of TextJoin and Round. Rounding 8 AM down will result in 0, rounding 8 PM will result in 1.
=TEXTJOIN(",",FALSE,ROUND(A1:H1,0))
The second row can be served with
=TEXTJOIN(",",FALSE,A2:H2)

If you are happy to get the results as a new file, you can export/save the spreadsheet as a CSV file.
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!!!

