SoldOnTheRoad
New Member
- Joined
- Jan 3, 2017
- Messages
- 13
I apologize for a duplicate/similar post, but my prior post was not answered correctly/sufficiently.
I have a large data set, with 22 employees that tracks their daily transactions. I want to obtain a random sampling of 1 transaction per person from the prior day.
Column A = Transaction Number (unique identifier)
Column B = Date of Transaction
Column C = Employee Name (all unique)
On a new sheet, I'd list each of the employees names and want ONE transaction number to appear next to their name.
I'm thinking I'd add a new column D for =rand() to assign each number a unique value, but I'm struggling with a formula to pull one transaction, per person, from the prior day. I'm thinking a combination of VLOOKUP, IF, and MAX; but I can't seem to get it right.
I have a large data set, with 22 employees that tracks their daily transactions. I want to obtain a random sampling of 1 transaction per person from the prior day.
Column A = Transaction Number (unique identifier)
Column B = Date of Transaction
Column C = Employee Name (all unique)
On a new sheet, I'd list each of the employees names and want ONE transaction number to appear next to their name.
I'm thinking I'd add a new column D for =rand() to assign each number a unique value, but I'm struggling with a formula to pull one transaction, per person, from the prior day. I'm thinking a combination of VLOOKUP, IF, and MAX; but I can't seem to get it right.