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

AT BABU

Board Regular
Joined
Oct 12, 2018
Messages
53
Office Version
2016
Platform
Windows
Hi All

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

23624718,
23624719,
23624720,
23624721,
23624722,

I need like thsi

<colgroup><col></colgroup><tbody>
</tbody>

23624718,23624719,23624720,23624721,23624722

Thank you All

<tbody>
</tbody>
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
51,416
Office Version
365
Platform
Windows
In your example, are those 5 numbers all in one cell, or in multiple cells?
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
51,416
Office Version
365
Platform
Windows
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)
 

AT BABU

Board Regular
Joined
Oct 12, 2018
Messages
53
Office Version
2016
Platform
Windows
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)



Tahnk you
 

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
42,169
Office Version
365
Platform
Windows
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:

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
51,416
Office Version
365
Platform
Windows
You are welcome.
Glad we could help.
 

AT BABU

Board Regular
Joined
Oct 12, 2018
Messages
53
Office Version
2016
Platform
Windows
Not Working in My Excle (Microsoft office standard 2016)
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
51,416
Office Version
365
Platform
Windows
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)?
 

Forum statistics

Threads
1,081,518
Messages
5,359,237
Members
400,523
Latest member
ExcelNewbie98

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top