Forum Discussion

GerryMcAteer-86's avatar
GerryMcAteer-86
Community Member
3 years ago

Random numbers using Javascript

I developed this little random generator for a recent competition we held. We had a number of prizes and people could entry how many times they wanted. Each entry was added to an excel spreadsheet. We wanted to randomly select the winners from those listed in the spreadsheet. With the random generator, you enter the number of prizes on offer and then the number of entries (total number of rows in the spreadsheet) , click the Generate button and the unique winning numbers are displayed. (Could also be used to select random lotto numbers...) Cheers Gerry 

View