+ Reply to Thread
Results 1 to 8 of 8

Multiple Rows Data into Single Coloum

  1. #1
    Registered User
    Join Date
    02-16-2019
    Location
    Dubai
    MS-Off Ver
    Office 2016
    Posts
    3

    Multiple Rows Data into Single Coloum

    Dear Experts.

    I have sequential Data in a Table. Need a Logic to have these Table date in one Single Coloum.

    A2 B2 C2

    A3 B3 C3

    A4 B4 C4



    Result in Coloum D to be as

    A2

    B2

    C2

    A3

    B3

    C3

    so on .......

    Please advise. Attached Sample.



    Expert Advise Please. Thanks in Advance.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Multiple Rows Data into Single Coloum

    Welcome to the forum!

    Attached is a Power Query solution.

    Excel 2016 (Windows) 32 bit
    L
    2
    Merged
    3
    Mike
    4
    1130
    5
    15
    6
    Tiger
    7
    4585
    8
    23
    9
    Stark
    10
    8745
    11
    14
    12
    Stuart
    13
    1235
    14
    19
    15
    Henry
    16
    8569
    17
    45
    Sheet: Sheet1

    The M code:

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Multiple Rows Data into Single Coloum

    Alternatively, put this formula in E3:

    =INDEX(A:C,INT((ROWS($1:1)-1)/3)+3,MOD(ROWS($1:1)-1,3)+1)

    then copy down.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    02-16-2019
    Location
    Dubai
    MS-Off Ver
    Office 2016
    Posts
    3

    Re: Multiple Rows Data into Single Coloum

    Thanks "AliGW" The PowerQuery Worked & Helped me to Develop additional Logic.

  5. #5
    Registered User
    Join Date
    02-16-2019
    Location
    Dubai
    MS-Off Ver
    Office 2016
    Posts
    3

    Re: Multiple Rows Data into Single Coloum

    Thanks "Pete_UK" ....... Never Thought The INDEX function can be used as an Advanced Transpose Function. Thank You So Much for the Logic.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Multiple Rows Data into Single Coloum

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Multiple Rows Data into Single Coloum

    Hey Ali,

    Instead of doing this problem with a Merge columns and then split I did it a little different.

    My method is to Add a column, I use the Add Index only to get another column and then UnPivot the non-Index columns. We get the same answer but just a different method. See my steps...

    Please Login or Register  to view this content.

    BTW - I bought that PQ book you suggested yesterday.. Just starting to read it.. Kindle version as it costs less..
    Marv
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Multiple Rows Data into Single Coloum

    It's a great book. I bought PDF and hard copy. Hope you find it useful!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 04-06-2016, 07:02 AM
  2. Replies: 9
    Last Post: 11-11-2015, 08:19 PM
  3. Replies: 14
    Last Post: 08-20-2014, 05:46 AM
  4. Replies: 6
    Last Post: 02-19-2014, 10:25 AM
  5. [SOLVED] Creating multiple percentages from data in the same coloum?
    By Stickman001 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-13-2013, 06:43 PM
  6. separating data in one coloum to multiple coloumns
    By manwinderjit in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-26-2010, 07:01 AM
  7. Replies: 1
    Last Post: 03-18-2009, 04:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1