string move from down cell to up beside exiting cell sting without change

AT BABU

Board Regular
Joined
Oct 12, 2018
Messages
54
Office Version
  1. 2016
Platform
  1. Windows
Hi All

string move from down cell to up beside exiting cell sting without change

[TABLE="width: 129"]
<colgroup><col></colgroup><tbody>[TR]
[TD]23624718,[/TD]
[/TR]
[TR]
[TD]23624719,[/TD]
[/TR]
[TR]
[TD]23624720,[/TD]
[/TR]
[TR]
[TD]23624721,[/TD]
[/TR]
[TR]
[TD]23624722,

I need like thsi [/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="width: 409"]
<tbody>[TR]
[TD="class: xl65, width: 409"]23624718,23624719,23624720,23624721,23624722

Thank you All[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
In your example, are those 5 numbers all in one cell, or in multiple cells?
 
Upvote 0
If you are using Excel 2016 or newer, you can use the TEXTJOIN function.
So, if your entries are in cells A1:A5, try:
Code:
=TEXTJOIN("",TRUE,A1:A5)
 
Upvote 0
If they already have the commas, as assumed by Joe's formula, then you could also use the even simpler

=CONCAT(A1:A5)

Note that both suggestions leave a comma on the right end of the result if the cell values have that trailing comma. Is that an issue for you?

If so, try
=LEFT(CONCAT(A1:A5),LEN(CONCAT(A1:A5))-1)
 
Last edited:
Upvote 0
You are welcome.
Glad we could help.
 
Upvote 0
Which one is not working (you have two solutions)?

Please tell us what is happening.
Are you getting errors (if so, what do they say), or are you getting unexpected results (if so, what are they)?
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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