Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How can I randomly sort a column of data using Excel?

A bowling league consisting of an equal number of men and women would like to
do a blind draw of two person teams (one male & one female) randomly each
night of play so that the teams members will be different each week and
randomly selected.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 192
Default How can I randomly sort a column of data using Excel?

Here's a quick work around:

Have a column in between the men and women names and on the right side of
each column have =rand(). You can then sort (Highlight men and their
randomly assigned number, go to Data-Sort and then do the same for the
women) in ascending order and the two with the lowest number be on the same
team all the way to the two with the highest number. It's a little more
manual, but it's random and pretty simple! Also, to do this next week and
not have to re-type =rand() simply highlight the cells and press "F9". Enjoy
bowling!

"Paul F." wrote:

A bowling league consisting of an equal number of men and women would like to
do a blind draw of two person teams (one male & one female) randomly each
night of play so that the teams members will be different each week and
randomly selected.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default How can I randomly sort a column of data using Excel?

You don't necessarily need to use a sort. Suppose your list of men are in
A1:A5 and the list of women are in B1:B5. The formula

=OFFSET(A1,RAND()*4,0,1,1)

will return a randomly selected male. The formula

=OFFSET(B1,RAND()*4,0,1,1)

will return a randomly selected female.

In both formulas, change the '4' to the number of rows of names, minus 1.


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)




"Paul F." <Paul wrote in message
...
A bowling league consisting of an equal number of men and women would like
to
do a blind draw of two person teams (one male & one female) randomly each
night of play so that the teams members will be different each week and
randomly selected.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to sort a column of Randomly selected numbers? Khoshravan Excel Worksheet Functions 8 July 14th 07 08:16 PM
How do I randomly sort data in a column? goody Excel Discussion (Misc queries) 1 October 2nd 06 03:36 PM
How do you randomly sort a RANGE latturne Excel Worksheet Functions 4 September 29th 05 09:40 PM
can Excel randomly sort numbers gasmith Excel Discussion (Misc queries) 2 March 18th 05 11:14 PM
I want to sort data randomly in addition to the current descendin. ckephart Excel Worksheet Functions 2 November 12th 04 06:11 PM


All times are GMT +1. The time now is 03:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"