S
sswilcox
This is not work-related. I've been using Excel to draw random names
for my family's annual Christmas gift exchange for several years.
There are four families and a family cannot end up with anyone from
their own family. The best I've been able to do is 'draw' one name at
a time and assign each to a family - throwing the name back if it
happens to come from the family I'm drawing for at the moment.
I'd like to take this to the next level by figuring out a way to limit
the selection pool based on the family by excluding its own members.
So the names in Family A's hat will only include members of Families
B, C and D, and so on. The families are not equal in size.
I'm pretty sure I could cobble together some series of IF(), RAND(),
RANK(), and VLOOKUP()s in order to get where I want to be, but I bet
there is some slick VBA solution out there somewhere. Can anyone point
me in the right direction?
Thanks - sswilcox
for my family's annual Christmas gift exchange for several years.
There are four families and a family cannot end up with anyone from
their own family. The best I've been able to do is 'draw' one name at
a time and assign each to a family - throwing the name back if it
happens to come from the family I'm drawing for at the moment.
I'd like to take this to the next level by figuring out a way to limit
the selection pool based on the family by excluding its own members.
So the names in Family A's hat will only include members of Families
B, C and D, and so on. The families are not equal in size.
I'm pretty sure I could cobble together some series of IF(), RAND(),
RANK(), and VLOOKUP()s in order to get where I want to be, but I bet
there is some slick VBA solution out there somewhere. Can anyone point
me in the right direction?
Thanks - sswilcox