Solved
How to randomize from large excel sheet of names
Hello,
Sorry if I am on the wrong subforum, but I was curious on what is the most efficient way to randomize a large set of names across a set of question blocks. The names are contained in a excel sheet. The specifics are that I have 4 categories (White/M, White/F, African/M, African/F) of 20 names each. I have 1 question per block where I would like it to randomly choose a category and then randomly choose a name from within that category without replacement. Hence, given it randomly drew the category White/M, and then drew a name from that category, the next block cannot pull from that category again. There are 4 blocks so each block should draw a name from each unique category.
Again, is there an easy way of doing this? Java? Could I manage this with embedded code and randomizer?
Thanks for the help in advance, and if anything is unclear I can show you at least where I would want it randomized.
Cheers,
Nicholas
Best answer by ElliotVW
Hi gametheoryguy93,
Java would be much simpler, but you can accomplish this with embedded code and randomization. If you're proficient with Java, I'd strongly suggest asking in the Developer Corner. If you prefer to do this with embedded data, it will be pretty convoluted to randomly pick 1 category that hasn't been picked before and then pick the name, but I can walk you through it if you like.
Cheers,
Elliot V.W.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
