ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Randomize a list of names (https://www.excelbanter.com/excel-programming/272159-randomize-list-names.html)

Steve[_27_]

Randomize a list of names
 
My worksheet has 1000+ names in alphabetical order. How can I put the names in
random order?

Thanks!

Steve




Tom Ogilvy

Randomize a list of names
 
Next to the names, put in the formula

=rand()

then drag fill down the column. Sort all the data with this column as the
sort key.

Regards,
Tom Ogilvy


Steve wrote in message
thlink.net...
My worksheet has 1000+ names in alphabetical order. How can I put the

names in
random order?

Thanks!

Steve






hglamy

Randomize a list of names
 
having a named range (e.g. "Politicians") with the names of politicians in
one column,
you could use this formular to randomize that list:

=INDEX(Politicians;INT(RAND()*(ROWS(Politicians))+ 1);1)

Copy that formular down, and you have ample randomized names of politicians,
ready to be re-arranged by pressing F9.

Regards,

H.G. Lamy



"Tom Ogilvy" schrieb im Newsbeitrag
...
Next to the names, put in the formula

=rand()

then drag fill down the column. Sort all the data with this column as the
sort key.

Regards,
Tom Ogilvy


Steve wrote in message
thlink.net...
My worksheet has 1000+ names in alphabetical order. How can I put the

names in
random order?

Thanks!

Steve








Tom Ogilvy

Randomize a list of names
 
that could result in duplicates.

Regards,
Tom Ogilvy


hglamy wrote in message
...
having a named range (e.g. "Politicians") with the names of politicians in
one column,
you could use this formular to randomize that list:

=INDEX(Politicians;INT(RAND()*(ROWS(Politicians))+ 1);1)

Copy that formular down, and you have ample randomized names of

politicians,
ready to be re-arranged by pressing F9.

Regards,

H.G. Lamy



"Tom Ogilvy" schrieb im Newsbeitrag
...
Next to the names, put in the formula

=rand()

then drag fill down the column. Sort all the data with this column as

the
sort key.

Regards,
Tom Ogilvy


Steve wrote in message
thlink.net...
My worksheet has 1000+ names in alphabetical order. How can I put the

names in
random order?

Thanks!

Steve










hglamy

Randomize a list of names
 
yes, intentionally. Useful in case you have to produce lots of
sample data e.g. for further analysis purposes.
Not the right when only unique values have to be randomized.
Maybe I misread the question in the first place, sorry.

Regards,

H.G. Lamy

"Tom Ogilvy" schrieb im Newsbeitrag
...
that could result in duplicates.

Regards,
Tom Ogilvy


hglamy wrote in message
...
having a named range (e.g. "Politicians") with the names of politicians

in
one column,
you could use this formular to randomize that list:

=INDEX(Politicians;INT(RAND()*(ROWS(Politicians))+ 1);1)

Copy that formular down, and you have ample randomized names of

politicians,
ready to be re-arranged by pressing F9.

Regards,

H.G. Lamy



"Tom Ogilvy" schrieb im Newsbeitrag
...
Next to the names, put in the formula

=rand()

then drag fill down the column. Sort all the data with this column as

the
sort key.

Regards,
Tom Ogilvy


Steve wrote in message
thlink.net...
My worksheet has 1000+ names in alphabetical order. How can I put

the
names in
random order?

Thanks!

Steve













All times are GMT +1. The time now is 05:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com