Combine Many Cells Into One Cell

L

Legacy 436357

Guest
Hello,

I have test equipment numbers in separate columns. How can I combine them into one column with the numbers separated by commas and one space after each comma?

Note some columns don't have numbers.

Thank you

Excel Workbook
EFGHIJ
112663
11313721240355105
11466314221408
11511801417
11692213651424
117663
1181379138014151373883884
119663801
120
1211217121812401365
1226638011415
123
12455610181418
12555610181418
1265561418
1271202697
12864214491415
Sheet1
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
You're welcome & thanks for the feedback
 
Upvote 0
I know Fluff already solved it but if you enter this it would work as well

=IF(AND(E112>0,SUM(F112:K112)>0),E112&", ",IF(E112>0,E112,""))&IF(AND(F112>0,SUM(G112:K112)>0),F112&", ",IF(F112>0,F112,""))&IF(AND(G112>0,SUM(H112:K112)>0),G112&", ",IF(G112>0,G112,""))&IF(AND(H112>0,SUM(I112:K112)>0),H112&", ",IF(H112>0,H112,""))&IF(AND(I112>0,SUM(J112:K112)>0),I112&", ",IF(I112>0,I112,""))&IF(AND(J112>0,K112>0),J112&", ",IF(J112>0,J112,""))&IF(K112>0,K112,"")
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top