[FONT="]I have a spreadsheet with 1000 rows that look like this:[/FONT]
[FONT="]LNAME FNAME YEAR DONATION[/FONT]
[FONT="]Adams John 1995 100
Adams John 1996 150
Smith Bob 1995 100
Smith Bob 1997 175
Smith Bob 1998 150[/FONT]
[FONT="]I want to transform the spreadsheet to this, with only one line per donor:[/FONT]
[FONT="]LNAME FNAME YEAR DONATION YEAR DONATION YEAR DONATION
Adams John 1995 100 1996 150
Smith Bob 1995 100 1997 175 1998 150[/FONT]
[FONT="]The TRANSPOSE function doesn’t work because it puts years and donations
on two different lines. The number of donations per person varies.
Is there a way to do this with formulas, or arrays? Or is VBA the only choice?[/FONT]
[FONT="]Thanks. [/FONT]
[FONT="]LNAME FNAME YEAR DONATION[/FONT]
[FONT="]Adams John 1995 100
Adams John 1996 150
Smith Bob 1995 100
Smith Bob 1997 175
Smith Bob 1998 150[/FONT]
[FONT="]I want to transform the spreadsheet to this, with only one line per donor:[/FONT]
[FONT="]LNAME FNAME YEAR DONATION YEAR DONATION YEAR DONATION
Adams John 1995 100 1996 150
Smith Bob 1995 100 1997 175 1998 150[/FONT]
[FONT="]The TRANSPOSE function doesn’t work because it puts years and donations
on two different lines. The number of donations per person varies.
Is there a way to do this with formulas, or arrays? Or is VBA the only choice?[/FONT]
[FONT="]Thanks. [/FONT]