Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default how do i select in aleatory way 3 numbers from an array of 10

i have an array of ten numbres and i want to select 3 of these numbers, how
can i do?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 258
Default how do i select in aleatory way 3 numbers from an array of 10

Mauro --

Which three? If you're trying to select on the fly, you can select the
first one, then hold down the ctrl key while you click the second and then
the third. If you're trying to have Excel select three, we need to know
which three you want...

"mauro" wrote:

i have an array of ten numbres and i want to select 3 of these numbers, how
can i do?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 84
Default how do i select in aleatory way 3 numbers from an array of 10

Selection with replacement? Something like...

=INDEX($A$1:$A$10, INT(10*RAND())+1)

=INDEX({1,2,3,4,5,6,7,8,9,10}, INT(10*RAND())+1)

- David

mauro wrote:
i have an array of ten numbres and i want to select 3 of these numbers, how
can i do?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default how do i select in aleatory way 3 numbers from an array of 10

"mauro" wrote:
i have an array of ten numbres and i want to select 3 of these numbers


Assume numbers listed in A1:A10

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

Put in C1: =INDEX(A:A,RANK(B1,B$1:B$10))
Copy down to C3. C1:C3 will return a random selection of 3 items from the
source list in A1:A10. Press F9 to regenerate.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

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
Help with excel array - select, add and calculate result [email protected] Excel Worksheet Functions 0 July 12th 07 06:51 PM
Help with Excel array functions - select, add & return result [email protected] Excel Worksheet Functions 0 July 12th 07 06:36 PM
sheets(array).select problem Mark Excel Discussion (Misc queries) 5 January 26th 07 04:11 PM
Select sheets from an array for printing bennyob Excel Discussion (Misc queries) 2 November 24th 05 01:03 PM
Error 1004 using array in Sheet select. Trefor Excel Discussion (Misc queries) 4 September 7th 05 07:29 PM


All times are GMT +1. The time now is 06:06 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"