Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
latturne
 
Posts: n/a
Default How do you randomly sort a RANGE

I need help with randomly sorting BINGO squares so no one card is alike.
  #2   Report Post  
Bernd Plumhoff
 
Posts: n/a
Default

Hello,

I suggest to take my function UniqRandInt() from www.sulprobil.com.

Then you can select cells A1:E5, array-enter
=UniqRandInt(99)
with CTRL+SHIFT+ENTER, for example, and the 25 cells A1:E5 will be filled
with unique (=non-repeating) random integers between 1 and 99.

HTH,
Bernd
  #3   Report Post  
latturne
 
Posts: n/a
Default

Thank you so much for your help, however...I think I should have mentioned
I'm using words in the spaces instead of numbers. Is it still possible to
randomly sort this type of range?

"Bernd Plumhoff" wrote:

Hello,

I suggest to take my function UniqRandInt() from www.sulprobil.com.

Then you can select cells A1:E5, array-enter
=UniqRandInt(99)
with CTRL+SHIFT+ENTER, for example, and the 25 cells A1:E5 will be filled
with unique (=non-repeating) random integers between 1 and 99.

HTH,
Bernd

  #4   Report Post  
Myrna Larson
 
Posts: n/a
Default

Use the random integers that the function returns with the INDEX function to
get the text, i.e. using Bernd's example, and your list in F1:F100,
=INDEX(F1:F100,A1)


On Thu, 29 Sep 2005 06:18:08 -0700, "latturne"
wrote:

Thank you so much for your help, however...I think I should have mentioned
I'm using words in the spaces instead of numbers. Is it still possible to
randomly sort this type of range?

"Bernd Plumhoff" wrote:

Hello,

I suggest to take my function UniqRandInt() from www.sulprobil.com.

Then you can select cells A1:E5, array-enter
=UniqRandInt(99)
with CTRL+SHIFT+ENTER, for example, and the 25 cells A1:E5 will be filled
with unique (=non-repeating) random integers between 1 and 99.

HTH,
Bernd

  #5   Report Post  
 
Posts: n/a
Default

"latturne" wrote:
Thank you so much for your help, however...I think I should
have mentioned I'm using words in the spaces instead of numbers
Is it still possible to randomly sort this type of range?


I did not see your original posting, but the following
standard procedure might solve your problem. Suppose
your text is in Column A. In parallel cells in Column
B, enter the formula =RAND(). Now select the cells in
Columns A and B and sort based on Column B by going to
Data - Sort and selecting Sort By Column B.

Note: The act of sorting will cause RAND() to be
re-evaluated. Consequenty, the values in Column B will
not appear to be in sorted order. Nonetheless, Column
A will be sorted randomly. If the new values in Column
B bother you, you could Copy and Paste Special Value
Column B into Column C, then sort Columns A, B and C
with Sort By Column C. You could even delete Column B
first, if you like.



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
Match function...random search? Les Excel Worksheet Functions 10 July 28th 05 11:54 AM
How do I edit a Named Range using macro's behmer Excel Worksheet Functions 2 July 26th 05 09:02 PM
Cannot Expand Named Range - when size of the Range exceeds Snig Excel Discussion (Misc queries) 1 July 7th 05 01:46 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 11:46 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"