Hello Excel experts out there,
I have multiple rows of data with same batch number & different end dates.
I want to be able to use Excel assign a weight to the row base on the latest end date.
After that, I want to pivot the data base on the weight assigned to it.
Pls see below for example.
Is there anyway to do this w/o using macro?
If macro is needed, how can i quote the macro?
Your help will be very much appreciated!
Thanks in advance for your response!
Eg:
Batch number Start Date End Date Weight
24689001 25/Mar/07 24/Mar/09 0
24689001 20/Mar/07 24/Mar/09 0
24689001 16/Apr/07 15/Apr/09 0
24689001 25/Mar/09 24/Mar/10 0
24689001 25/Mar/09 7/May/13 5
99987543 25/Mar/07 24/Mar/09 5
43452532 25/Mar/07 24/Mar/09 0
43452532 29/Mar/08 12/Dec/09 0
43452532 25/Mar/09 24/Mar/10 5
53246532 16/Apr/07 15/Apr/09 5
24689051 25/Mar/09 24/Mar/10 5
I have multiple rows of data with same batch number & different end dates.
I want to be able to use Excel assign a weight to the row base on the latest end date.
After that, I want to pivot the data base on the weight assigned to it.
Pls see below for example.
Is there anyway to do this w/o using macro?
If macro is needed, how can i quote the macro?
Your help will be very much appreciated!
Thanks in advance for your response!

Eg:
Batch number Start Date End Date Weight
24689001 25/Mar/07 24/Mar/09 0
24689001 20/Mar/07 24/Mar/09 0
24689001 16/Apr/07 15/Apr/09 0
24689001 25/Mar/09 24/Mar/10 0
24689001 25/Mar/09 7/May/13 5
99987543 25/Mar/07 24/Mar/09 5
43452532 25/Mar/07 24/Mar/09 0
43452532 29/Mar/08 12/Dec/09 0
43452532 25/Mar/09 24/Mar/10 5
53246532 16/Apr/07 15/Apr/09 5
24689051 25/Mar/09 24/Mar/10 5