LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
vandenberg p
 
Posts: n/a
Default Random List Sorter

Hello:

Get rid of column B. Just the 100 numbers in A1:A100 and in B1:B100 put
the =rand() formula.

Now just sort A1:B100 on column B. Each time you want a new order just
sort again.

For a more automated featu

You can record a macro to this if you wish. Just turn on the macro recorder
and go through the steps of selecting the area and then select Sort and
column B.

You can put a button on the spreadsheet from forms toolbar and assign the
macro to it. Then you just click.


Pieter Vandenberg

Sethnstorm wrote:

: I am looking to "shuffle a deck" of 100 numbers in a list and only have
: this list reshuffle when I hit a button (not everytime a re-calculation
: is done within the worksheet). So far I have been able to get the
: following:

: Column A1:A100 = the list of values to be sorted
: Cell B1 =INDEX(A:A,RANK(C1,$C$1:$C$100))
: Cell C1 =RAND()

: Cells B1 and C1 are then cut and pasted down to cells B100 and C100
: respectively

: This does the job, but everytime excel recalculates, the shuffle
: changes. How do I avoid this?

: Seth


: --
: Sethnstorm
: ------------------------------------------------------------------------
: Sethnstorm's Profile: http://www.excelforum.com/member.php...o&userid=22571
: View this thread: http://www.excelforum.com/showthread...hreadid=523826

 
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 do I create a dependent list, to a current list? elevenphil Excel Discussion (Misc queries) 1 January 30th 06 04:35 PM
Filterered list to new worksheet rudawg Excel Worksheet Functions 1 January 30th 06 03:29 PM
Random items from a list? arcngel Excel Discussion (Misc queries) 3 September 8th 05 06:04 PM
find names on list 1 in list 2. list 1 4000 names list 2 400 name Ed Excel Worksheet Functions 1 September 4th 05 12:48 AM
How do I find random number in list of random alpha? (Position is. jlahealth-partners Excel Discussion (Misc queries) 0 February 8th 05 05:31 PM


All times are GMT +1. The time now is 04:55 PM.

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"