Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
J
 
Posts: n/a
Default Randomly Choose Cells from Colum/Row

hello. i'm not sure if this is possible, but i'm trying to randomly select
multiple cells from a colum to be evaluated. for example, say i have a clumn
of 10 cells. i'd like this function in another cell to select 3 cells from
the 10 at random. is this possible? thanks
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Gary''s Student
 
Posts: n/a
Default Randomly Choose Cells from Colum/Row

In a column next to the column containing the ten data items enter:

=RAND() and copy down. Touch F9 and then sort by the newly entered column.
This will "randomize" your data. Just take the top three cells.

Whenever you want a new sample, repeat the process
--
Gary''s Student


"J" wrote:

hello. i'm not sure if this is possible, but i'm trying to randomly select
multiple cells from a colum to be evaluated. for example, say i have a clumn
of 10 cells. i'd like this function in another cell to select 3 cells from
the 10 at random. is this possible? thanks

  #3   Report Post  
Posted to microsoft.public.excel.newusers
Max
 
Posts: n/a
Default Randomly Choose Cells from Colum/Row

Another variation to try ..

Assume the 10 source items are listed in A1:A10

Put in B1: =RAND()
Copy B1 down to B10

Put in C1: =INDEX(A:A,RANK(B1,$B$1:$B$10))
Copy C1 down to C3

C1:C3 will return a random, non-repeating selection
of 3 items from within A1:A10

And if you want to random select more than 3 items,
just copy C1 down further to C4, C5, .. or all the way to C10
to get the random full scramble of what's in A1:A10

To regenerate a fresh random selection, just press F9
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"J" wrote in message
...
hello. i'm not sure if this is possible, but i'm trying to randomly select
multiple cells from a colum to be evaluated. for example, say i have a

clumn
of 10 cells. i'd like this function in another cell to select 3 cells from
the 10 at random. is this possible? thanks



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 do I randomly shuffle the cells in a column? Jason D Excel Discussion (Misc queries) 2 October 13th 05 08:34 AM
REVISED ?? - populate limited cells w/ set value Jane Excel Worksheet Functions 1 March 19th 05 02:29 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM
Protected cells -automatically format to a different color Fred Evans Excel Discussion (Misc queries) 9 December 3rd 04 12:59 PM
copy group of cells to another group of cells using "IF" in third Chuckak Excel Worksheet Functions 2 November 10th 04 06:04 PM


All times are GMT +1. The time now is 10:23 AM.

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"