+ Reply to Thread
Results 1 to 6 of 6

Rearrange data into another table

  1. #1
    Registered User
    Join Date
    01-16-2016
    Location
    Dallas
    MS-Off Ver
    Excel 2013
    Posts
    15

    Rearrange data into another table

    There is a sheet of data, each item has 3 rows and there will be many more. I want to rearrange the 'Raw' data into the table on the 'Output' sheet. There is an example of the output up top and need to fill in the data below.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: Rearrange data into another table

    Is the "real" data in EXACTLY the format shown in your example: are items numbered 1 to n with number in row containing the name?

    And avoid MERGEd cells please: not necessary.
    Last edited by JohnTopley; 11-03-2016 at 12:02 PM.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: Rearrange data into another table

    Try in B9

    Formulae as:

    =INDEX(Data!$B$1:$B$1000,MATCH(ROWS($1:1),Data!$A$1:$A$1000,0)+1)

    see attached
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    01-16-2016
    Location
    Dallas
    MS-Off Ver
    Excel 2013
    Posts
    15

    Re: Rearrange data into another table

    there are actually no numbers in the file i'm working on. I just put those there for easier reference. Is it possible without any numbers? I agree, I never merge the cells myself.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: Rearrange data into another table

    Does the data start in row 2 with a single blank line between each set?

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: Rearrange data into another table

    Try

    in B

    =INDEX(Data!$B$1:$B$1000,(ROWS($1:1)-1)*4+3)

    in C

    =INDEX(Data!$B$1:$B$1000,(ROWS($1:1)-1)*4+2)

    in D

    =INDEX(Data!$B$1:$B$1000,(ROWS($1:1)-1)*4+4)

+ 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. Macro to rearrange data for pivot table
    By vio.coman in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-23-2014, 11:34 AM
  2. [SOLVED] how to rearrange raw data into a new table?
    By meirj in forum Excel General
    Replies: 2
    Last Post: 10-16-2013, 12:32 PM
  3. Macro to rearrange table of data
    By dcgrove in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-06-2013, 02:14 PM
  4. How can I rearrange data in a table using formulas?
    By lbn7153 in forum Excel General
    Replies: 1
    Last Post: 05-31-2011, 04:49 PM
  5. Rearrange data columns in Pivot Table
    By hedrew3 in forum Excel General
    Replies: 6
    Last Post: 01-24-2011, 05:41 AM
  6. Rearrange the data table Grouped by PRODUCT
    By Rituraj in forum Excel General
    Replies: 1
    Last Post: 07-27-2010, 09:35 PM
  7. Rearrange source data into a table
    By ferrari62589 in forum Excel General
    Replies: 4
    Last Post: 06-13-2008, 06:25 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