+ Reply to Thread
Results 1 to 10 of 10

Arranging row of data into 3X3 or 2X2 box in another sheet

  1. #1
    Registered User
    Join Date
    06-08-2012
    Location
    Toulouse, France
    MS-Off Ver
    Excel 2003
    Posts
    25

    Smile Arranging row of data into 3X3 or 2X2 box in another sheet

    QA.xlsx

    Hello,

    I'm looking to arrange a row of data in Sheet 2 into 3 by 3 (3X3) box or 2 by 2 (2X2) box found in Sheet 1.

    Can anyone show me how to do that in the attached spreadsheet?

    Thank you.

  2. #2
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Arranging row of data into 3X3 or 2X2 box in another sheet

    3 columns wide would be
    =INDEX('Sheet 2'!$C$8:$N$8,COLUMNS(A$1:$A1)+ROWS($A$1:A1)*3-3)
    2 columns wide
    =INDEX('Sheet 2'!$C$8:$N$8,COLUMNS(A$1:$A1)+ROWS($A$1:A1)*2-2)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Arranging row of data into 3X3 or 2X2 box in another sheet

    First of all ...
    you have questioned wrong..
    the output you have demanded is 4 x 3 and 9 x 2 matrix not 3 by 3 (3X3) box or 2 by 2 (2X2) box..?
    if you demand the output to be in that way as written in the workbook...?
    I am trying it...


    Click * to appreciate...

  4. #4
    Registered User
    Join Date
    06-08-2012
    Location
    Toulouse, France
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: Arranging row of data into 3X3 or 2X2 box in another sheet

    Hi Vikas, you're right. It should be 4X3 and 9X2. Do you've any suggestion on the formula?

    Quote Originally Posted by Vikas_Gautam View Post
    First of all ...
    you have questioned wrong..
    the output you have demanded is 4 x 3 and 9 x 2 matrix not 3 by 3 (3X3) box or 2 by 2 (2X2) box..?
    if you demand the output to be in that way as written in the workbook...?
    I am trying it...


    Click * to appreciate...

  5. #5
    Forum Guru Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux
    Posts
    11,891

    Re: Arranging row of data into 3X3 or 2X2 box in another sheet

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    http://chandoo.org/forum/threads/arr...r-sheet.17527/

  6. #6
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Arranging row of data into 3X3 or 2X2 box in another sheet

    I am working on the solution....

  7. #7
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Arranging row of data into 3X3 or 2X2 box in another sheet

    sampahmel did you not read post #2
    Attached Files Attached Files
    Last edited by martindwilson; 06-29-2014 at 10:41 AM.

  8. #8
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Thumbs up Re: Arranging row of data into 3X3 or 2X2 box in another sheet

    Problem is solved...
    I have made a funtion for you..
    Named TEST1 just like other excel funtions...
    It takes two parameters .... Like here
    =test(dataRange,colReq) or
    =test(a1:h10,3)
    now i tell you how to apply it...
    First of all randomly select few cells...
    Then press F2..
    Write the formula..
    Press Control shift enter....
    Don't use only enter as it is an array formula....

    see attachment for more clarification...

    Click * to appreciate...
    Attached Files Attached Files
    Last edited by Vikas_Gautam; 06-29-2014 at 11:42 AM.

  9. #9
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Arranging row of data into 3X3 or 2X2 box in another sheet

    if you want a more dynamic method with standard formulas see drop down in n7
    Attached Files Attached Files

  10. #10
    Forum Guru Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux
    Posts
    11,891

    Re: Arranging row of data into 3X3 or 2X2 box in another sheet

    Another cross post. Maybe someone will react?

    http://www.excelguru.ca/forums/showt...in-3X3-or-2X2&

+ 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. MACROS to make Sheet 1 look like Sheet 2 (Re arranging)
    By taimysho0 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-03-2013, 05:29 PM
  2. Sorting / arranging data onto another sheet
    By twofootgiant in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-05-2011, 07:38 AM
  3. Arranging time sheet data
    By lovinguy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-22-2010, 04:01 AM
  4. Help copying rows and arranging in new sheet
    By flurry in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-10-2006, 01:54 PM
  5. [SOLVED] Arranging graphical objects on sheet
    By quartz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-12-2005, 02:06 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