ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Consolodate Data from Multiple Rows into One Row (https://www.excelbanter.com/excel-discussion-misc-queries/115776-consolodate-data-multiple-rows-into-one-row.html)

Doug Randall

Consolodate Data from Multiple Rows into One Row
 
I have class data for students with each class for each student on a separate
row. To import into a program I need a list with one row for each student
with all classes on that row. How can I do this?

For example starting with this:
Student Class
Jones English
Jones Math
Smith Geography
Jones Geography
Smith Math

I need to rearrange to this:
Student Class Class Class
Jones English Math Geography
Smith Geography Math


Many thanks.

Dreid

Consolodate Data from Multiple Rows into One Row
 
Probably long winded but for a quick solution I would use auto-filter to
isolate data by the individuals name, then copy the lessons from the list and
paste-special-transpose against the name.

Its long winded because you have to do this for each student. Sorry can't
think of a smarter way !

"Doug Randall" wrote:

I have class data for students with each class for each student on a separate
row. To import into a program I need a list with one row for each student
with all classes on that row. How can I do this?

For example starting with this:
Student Class
Jones English
Jones Math
Smith Geography
Jones Geography
Smith Math

I need to rearrange to this:
Student Class Class Class
Jones English Math Geography
Smith Geography Math


Many thanks.


Doug Randall

Consolodate Data from Multiple Rows into One Row
 
Unfortunately, I can have up to 3000 students in the file, so I need an
automatic solution.

"Dreid" wrote:

Probably long winded but for a quick solution I would use auto-filter to
isolate data by the individuals name, then copy the lessons from the list and
paste-special-transpose against the name.

Its long winded because you have to do this for each student. Sorry can't
think of a smarter way !

"Doug Randall" wrote:

I have class data for students with each class for each student on a separate
row. To import into a program I need a list with one row for each student
with all classes on that row. How can I do this?

For example starting with this:
Student Class
Jones English
Jones Math
Smith Geography
Jones Geography
Smith Math

I need to rearrange to this:
Student Class Class Class
Jones English Math Geography
Smith Geography Math


Many thanks.



All times are GMT +1. The time now is 09:16 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com