+ Reply to Thread
Results 1 to 9 of 9

splitting row into multiple columns

Hybrid View

  1. #1
    Registered User
    Join Date
    04-14-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    127

    splitting row into multiple columns

    Hi all,

    From a data like 1,2,3 till 20 in range A1:T1

    Can I split the rows like following:

    1 6 11 16
    2 7 12 17
    3 8 13 18
    4 9 14 19
    5 10 15 20

    Regards,
    Kisan Vikas

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: splitting row into multiple columns

    Maybe like this. Drag across and down to give the desired size.

    =INDEX($A$1:$T$1,ROWS($D$4:$D4)+(COLUMNS($D$4:D$4)-1)*5)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: splitting row into multiple columns

    Maybe something like this? Pls see the file attach


    best regards
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-14-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    127

    Re: splitting row into multiple columns

    Quote Originally Posted by azumi View Post
    Maybe something like this? Pls see the file attach


    best regards
    Hey Azumi,

    The formula you gave me require some modification.

    Here you are
    Formula: copy to clipboard
    =IFERROR(IF(ROWS(A1:$A$1)<=5,INDEX($A$1:$T$1,ROWS($A$1:A1)+(COLUMNS($A$1:A1)-1)*5),""),"")


    Regards,
    Kisan Vikas

  5. #5
    Registered User
    Join Date
    04-14-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    127

    Re: splitting row into multiple columns

    Thanks Glenn, Azumi & Siva

    Your formulas are working perfectly fine.

    Regards,
    Kisan Vikas

  6. #6
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: splitting row into multiple columns

    Thanks for the feedback...........

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: splitting row into multiple columns

    Azumi - better than my effort, but the 4's need to be 5's, as in:

    IFERROR(IF(ROWS($A$1:A1)<=5,INDEX($A$1:$T$1,ROWS($A$1:A1)+(COLUMNS($A$1:A1)-1)*5),""),"")
    Last edited by Glenn Kennedy; 04-25-2015 at 05:35 AM.

  8. #8
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,940

    Re: splitting row into multiple columns

    =if(row(a1)>5,"",iferror(index($a$1:$t$1,row(a1)+column(a1)*5-5),""))
    try this
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: splitting row into multiple columns

    Thanks for the feedback, but Azumi's and nflsales' are better!!

+ 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. Splitting multiple entries in single cell into multiple columns
    By David_Mitchell in forum Excel General
    Replies: 12
    Last Post: 01-24-2013, 06:57 AM
  2. [SOLVED] Excel 2007 : splitting data into multiple columns
    By SubtleFudge in forum Excel General
    Replies: 3
    Last Post: 07-17-2012, 02:21 PM
  3. Splitting a column in CSV to multiple columns
    By Nehalem in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-04-2012, 07:08 AM
  4. Splitting address into multiple columns
    By susriram in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-07-2011, 02:02 PM
  5. Splitting one column into multiple columns
    By paintermonkey@gmail.com in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-02-2006, 03:10 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