1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Random winner selection, entire row issues.

Our take

To randomly select 20 winners from your 500 submissions while ensuring you capture the entire row of information for each winner, you'll need to adjust your approach. Instead of using the formula =INDEX(A1:A500,RANDBETWEEN(1,500)), which only retrieves specific names, consider using a combination of the UNIQUE and RANDBETWEEN functions. Create a helper column that generates random numbers for each entry, then sort your data by this column.

I am trying to randomly pick winners. I have 500 submissions and picking 20 winners. each table is formatted with their f.name, l.name, email, phone number. I am trying to do a formula to pick those 20 winners using =INDEX(A1:A500,RANDBETWEEN(1,500)). I am getting the names randomized with my 20 selection however it is not giving me the entire row to easily contact these people. what would I need to do to randomly pick the 20 people and have the entire row populate.

submitted by /u/OkEstablishment3418
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Tagged with