johnbird1988
Board Regular
- Joined
- Oct 6, 2009
- Messages
- 199
Hello
I am after some best approach advice. I have a list of transaction data in Sheet1 and a list of customers in Sheet2. I would like to return in 4 individual columns in Sheet2 next the the customer ID the four latest transactions.
Which is the best approach than doing two loops. Is there a way I can achieve this using one loop through the data in Sheet1. I was possibly think about adding the Customer IDs to a collection but them I was not sure about how to write the collection back into Sheet2.
Open to options and Ideas to do this in the most efficient way.
Thank you
John
I am after some best approach advice. I have a list of transaction data in Sheet1 and a list of customers in Sheet2. I would like to return in 4 individual columns in Sheet2 next the the customer ID the four latest transactions.
Which is the best approach than doing two loops. Is there a way I can achieve this using one loop through the data in Sheet1. I was possibly think about adding the Customer IDs to a collection but them I was not sure about how to write the collection back into Sheet2.
Open to options and Ideas to do this in the most efficient way.
Thank you
John