• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to compile cells/columns in excel

From the beginning ..... it must be apload excel file ,Since it is not possible to work on guesswork
but you can use this
Code:
=CONCATENATE(A2,B2)
 
1. Attach a workbook with before and after situations.
2. What do you mean by 'compile'?
 
It really is a matter of supplying a workbook with what you want - saves us guessing (wrongly). If you can't be bothered, why should we?
Like this:
133456
457993
625992
123456
123478
245799

or like this:
133456
123456
457993
123478
625992
245799

?
 
I meant to put the data of different columns..in a single column..one below the other.
Maybe,

In D2, array formula copied down :

=TRIM(MID(SUBSTITUTE(" "&TEXTJOIN(" ",1,TRANSPOSE(A$2:B$5))," ",REPT(" ",99)),ROW(A1)*99,99))

Edit :

If you don't have Textjoin function, try to use this longer formula instead.

=IFERROR(IF(ROW(A1)<=COUNT(A$2:A$5),INDEX(A$2:A$5,ROW(A1)),INDEX(B$2:B$5,ROW(A1)-COUNT(A$2:A$5))),"")

73016
 
Last edited:
Back
Top