Hi,
I have a large dataset that I need to change to suit a client - and doing it manually is too cumbersome.
I have a 30k+ row spreadsheet that has multiple rows of data per person - ranging between 1-25 rows per ID, with a simplified structure like:
ID date_from Date_to level etc
1 01/01/1998 15/07/2001 E1
1 16/07/2001 12/06/2003 E2
1 13/06/2003 current_date E2
2....
Need to run a script to compare the ID in column 1, and where matching, pivot the date_form, date_to and level out to new columns for the first row/instance of the ID. As an added nicety, removing the now redundant rows would be good - though this can be easily done with a formula/sort afterwards.
In the 'worst' case this may mean another 75 columns to be created.
There probably is an excel function that I am not aware of, but not sure if anything delivered can do somthing this complex.. any assistance much appreciated.
Thanks
I have a large dataset that I need to change to suit a client - and doing it manually is too cumbersome.
I have a 30k+ row spreadsheet that has multiple rows of data per person - ranging between 1-25 rows per ID, with a simplified structure like:
ID date_from Date_to level etc
1 01/01/1998 15/07/2001 E1
1 16/07/2001 12/06/2003 E2
1 13/06/2003 current_date E2
2....
Need to run a script to compare the ID in column 1, and where matching, pivot the date_form, date_to and level out to new columns for the first row/instance of the ID. As an added nicety, removing the now redundant rows would be good - though this can be easily done with a formula/sort afterwards.
In the 'worst' case this may mean another 75 columns to be created.
There probably is an excel function that I am not aware of, but not sure if anything delivered can do somthing this complex.. any assistance much appreciated.
Thanks