How to Randomly Select Multiple Cells in Excel 2013?

StevieTNZ
Messages
1,944
Reaction score
837
Hi there,

In Office Excel 2013 -
If I make a list of five statements, each in a separate cell but within the same column, in another cell how can I get Excel to randomly select three of those statements? Not sure how to write the =RAND() equation.

Any help will be much appreciated,
Stevie
 
on Phys.org
Assuming it is all in column A:

=INDEX($A#:$A#,RANDBETWEEN(1,COUNTA($A#:$A#)),1)

Where # represent the row it is in. So if your list is from A1 to A5, it would be

=INDEX($A1:$A5,RANDBETWEEN(1,COUNTA($A1:$A5)),1)
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 14 ·
Replies
14
Views
7K
Replies
35
Views
9K
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 18 ·
Replies
18
Views
6K