J
jconta
I'm trying to write a function which returns the quantity purchased
from the most recent order given a list of customers, order dates, and
quantities.
Input would look like this:
Customer # Order date Quantity
1 3/5/06 2
1 4/12/06 5
1 5/19/06 4
2 1/3/06 3
2 4/5/06 4
3 2/12/06 2
3 3/19/06 1
3 5/22/06 7
Results would look like:
Customer # Most Recent Order Quantity
1 5/19/06 4
2 4/5/06 4
3 5/22/06 7
I've been trying to use INDEX(MATCH) but have not been successful,
probably because its the Friday of a long weekend.
Thanks again for everyone's help - Happy 4th.
JC
from the most recent order given a list of customers, order dates, and
quantities.
Input would look like this:
Customer # Order date Quantity
1 3/5/06 2
1 4/12/06 5
1 5/19/06 4
2 1/3/06 3
2 4/5/06 4
3 2/12/06 2
3 3/19/06 1
3 5/22/06 7
Results would look like:
Customer # Most Recent Order Quantity
1 5/19/06 4
2 4/5/06 4
3 5/22/06 7
I've been trying to use INDEX(MATCH) but have not been successful,
probably because its the Friday of a long weekend.
Thanks again for everyone's help - Happy 4th.
JC