Hi all I am new to vba and would like to perform the below function.
suppose we have a set of data like below
Name dob sex month money month2 money2 month3 money3
MrA 01011999 M 202001 $100 202002 $150 202003 $120
MrB 01021992 F 202001 $132 202002 $90 202003 $110
.
.
.
and i would like to make it into like below
Name dob sex month money
MrA 01011999 M 202001 $100
MrA 01011999 M 202002 $150
MrA 01011999 M 202003 $120
MrB 01021992 F 202001 $132
MrB 01021992 F 202002 $90
.
.
.
suppose i have more than 3 months of data and each month could consist more than 2 columns of data and more customers(number of rows) in original data
can anyone helps to build some vba code to perfomr such functions?
Many thanks
suppose we have a set of data like below
Name dob sex month money month2 money2 month3 money3
MrA 01011999 M 202001 $100 202002 $150 202003 $120
MrB 01021992 F 202001 $132 202002 $90 202003 $110
.
.
.
and i would like to make it into like below
Name dob sex month money
MrA 01011999 M 202001 $100
MrA 01011999 M 202002 $150
MrA 01011999 M 202003 $120
MrB 01021992 F 202001 $132
MrB 01021992 F 202002 $90
.
.
.
suppose i have more than 3 months of data and each month could consist more than 2 columns of data and more customers(number of rows) in original data
can anyone helps to build some vba code to perfomr such functions?
Many thanks