+ Reply to Thread
Results 1 to 3 of 3

Need help Moving Data from Rows to Columns with Differing Row Amounts Between Data

Hybrid View

  1. #1
    Registered User
    Join Date
    01-28-2011
    Location
    Boston, MA
    MS-Off Ver
    Excel 2003
    Posts
    17

    Question Need help Moving Data from Rows to Columns with Differing Row Amounts Between Data

    Hi all,

    It's been a while since my first posts. I'm in need of help again and figured I'd come back to the place that really saved me last time.

    Here's the dilemma:
    I have over 78,000 rows of information that I want to take and transpose into columns. However, there are a different amount of rows between each section of data.

    For example: All the data in one section pertains to a school. However, some of the schools have more or fewer rows; i.e. not all schools have 388 rows, some have 391, some have 385.

    In the past, when these sections have the same amount of rows, I've used:
    =INDEX(Raw_Data!$J:$J,3+INT(ROWS(A$2:A2)*388))

    Any suggestions??
    Last edited by Fpob; 02-07-2012 at 08:50 AM.

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

    Re: Need help Moving Data from Rows to Columns with Differing Row Amounts Between Dat

    You can use a helper column to try to identify the start of each record and thus set up a sequential number for each record. You will need to post an example of your data showing a few records (plus the last one, in case there are footers that need to be accounted for), then we can see if there is anything to denote the start of a record (e.g. a blank row between records).

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    01-28-2011
    Location
    Boston, MA
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Need help Moving Data from Rows to Columns with Differing Row Amounts Between Dat

    Ok, so I worked something out to get this formula:

    =IF(Raw_Data!C10=Raw_Data!B10&"_"&J$3,Raw_Data!L11,Master_Data!$B$2)

    I now need to figure out how to increase the row values for certain references while dragging across columns.

    So I need the formula I posted above to read:
    =IF(Raw_Data!C11=Raw_Data!B11&"_"&K$3,Raw_Data!L12,Master_Data!$B$2)
    when I drag it to the next column and so on and so forth.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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