Hi
I want to generate a random list of 50 names from a population of 300 with no duplicates and I also want the list of 50 to not display any names kept on another sheet
Are you able to help me?
Thanks!!
Hi
I want to generate a random list of 50 names from a population of 300 with no duplicates and I also want the list of 50 to not display any names kept on another sheet
Are you able to help me?
Thanks!!
Found the funtion online a while back, never thought I'd end up using it.Please Login or Register to view this content.
After this code runs, you can then use an index formula to get your names.
It's a start, ignoring names on another list... that's the difficult part.
You could have your list of 300 reduced by the names to ignore, and then adjust the random number parameters in the macro.
Last edited by mshale; 07-12-2012 at 10:30 AM.
Thanks! I was hoping to not have to manually take out the items i want to ignore but it seems I can't
Hi iain.excel and welcome to the forum.
Find an example workbook with what I think is the answer you want. Look at the formulas in Col B.
You will need to press F9 to get a new set of random numbers and then sort the table by col B (small to large). Take the top 50 names and that is your answer.
Last edited by MarvinP; 07-16-2012 at 07:53 PM.
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
Thats it!! Works a charm!
Thanks MarvinP!!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks