W webmax Member Dec 2, 2014 #1 Hi I would like to run the quiz for that i have to pick only 5 winners out of the list below. How to do using excel formula. In the Below out of 12 we have to pick only 5 Token Nos. Token No 1 2 3 4 5 6 7 8 9 10 11 12 Regards Shahul
Hi I would like to run the quiz for that i have to pick only 5 winners out of the list below. How to do using excel formula. In the Below out of 12 we have to pick only 5 Token Nos. Token No 1 2 3 4 5 6 7 8 9 10 11 12 Regards Shahul
Khalid NGO Excel Ninja Dec 2, 2014 #2 Hi Shahul, I hope this is what you were looking for: in A2: =RANDBETWEEN(1,12) in A3 with CSE: =LARGE(ROW($1:$12)*NOT(COUNTIF($A$2:A2,ROW($1:$12))),RANDBETWEEN(1,(9+3-1)-ROW(A2))) copy down to A6 visit this for further info: http://answers.microsoft.com/en-us/...ers-that/50e58a5b-c494-4a96-88fa-61b68c9daafe Regards,
Hi Shahul, I hope this is what you were looking for: in A2: =RANDBETWEEN(1,12) in A3 with CSE: =LARGE(ROW($1:$12)*NOT(COUNTIF($A$2:A2,ROW($1:$12))),RANDBETWEEN(1,(9+3-1)-ROW(A2))) copy down to A6 visit this for further info: http://answers.microsoft.com/en-us/...ers-that/50e58a5b-c494-4a96-88fa-61b68c9daafe Regards,
W webmax Member Dec 2, 2014 #3 Hi The Formula is not working i am uploading the excel file can u help on the same. Regards Shahul Attachments random.xlsx 9.3 KB · Views: 5
Khalid NGO Excel Ninja Dec 2, 2014 #4 Hi, As to your layout i think this will work: =LARGE(ROW($1:$12)*NOT(COUNTIF($B$2:B2,ROW($1:$12))),RANDBETWEEN(1,(9+3-1)-ROW(B2))) Remember to enter with Ctrl+Shift+Enter
Hi, As to your layout i think this will work: =LARGE(ROW($1:$12)*NOT(COUNTIF($B$2:B2,ROW($1:$12))),RANDBETWEEN(1,(9+3-1)-ROW(B2))) Remember to enter with Ctrl+Shift+Enter
Khalid NGO Excel Ninja Dec 2, 2014 #6 Ok no problem see your file: I've checked at my end, and its working fine Attachments random.xlsx 9 KB · Views: 8
N NARAYANK991 Excel Ninja Dec 2, 2014 #8 Hi , Just for the record , uploaded is a file which has a generic version for any start number and any end number. Narayan Attachments random.xlsx 8.4 KB · Views: 11
Hi , Just for the record , uploaded is a file which has a generic version for any start number and any end number. Narayan