Hello, i am looking for a 'best method' for this situation...(file attached).
The goal is to take ONE random sample for each unique Customer #.
However, 'Cars' take priority over other purchases (example: If the random purchase sample was an apple but the same customer# also bought a car, the random sample becomes the car).
My approach was going to be to copy a random customer# from the list to a new worksheet, then loop thru the original rows deleting matching Customer#'s while also checking for the car purchase. IF the car was purchased it would replace the copied row. in the end id be left with a unique list of customer#s, with all unique car purchases where applicable.
Can anyone think of a simpler solution for this type of scenario?
Bookmarks