#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Random Sort

Is it possible/difficult to sort a selection of data at random? I have
range of data A10:Z10 the first column has a person's name, the secon
has their start time. In the remaining columns assignments are given.
would like to be able to sort by the first column at random.

It will make sure that the same people are not constantly doing th
same assignments.

Thank

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Random Sort

Use a spare column and fill it with built-in function RAND(), which returtns
random numbers between 0 and 1. Then you can sort on that column. When you
need a new random sorting, just press F9 to force a new calculation, and you
will get new random numbers on which to sort.
Needless to say, if this is going to be a frequent task, you can record the
recalculation/resorting actions in a macro, without needing to write any
code yourself.

HTH,
Nikos

"hotherps " wrote in message
...
Is it possible/difficult to sort a selection of data at random? I have a
range of data A10:Z10 the first column has a person's name, the second
has their start time. In the remaining columns assignments are given. I
would like to be able to sort by the first column at random.

It will make sure that the same people are not constantly doing the
same assignments.

Thanks


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Random Sort

That worked great! Thanks so much for your help

--
Message posted from http://www.ExcelForum.com

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
Random Sort Dennis Tucker Excel Discussion (Misc queries) 2 March 15th 10 07:16 PM
Random Sort selected cells Guy[_2_] Excel Worksheet Functions 4 January 15th 09 11:50 PM
Random sort/shuffle in Excel WizGirl Excel Discussion (Misc queries) 1 June 28th 06 03:20 AM
Random Sort koba Excel Discussion (Misc queries) 3 March 16th 06 12:54 AM
Sort and delete for a random sample? JayL. Excel Programming 3 September 30th 03 03:56 PM


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

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

About Us

"It's about Microsoft Excel"