How to Randomly Select Multiple Cells in Excel 2013?

AI Thread Summary
To randomly select three statements from a list in Excel 2013, users can utilize the combination of the INDEX and RANDBETWEEN functions. The formula provided is =INDEX($A1:$A5,RANDBETWEEN(1,COUNTA($A1:$A5)),1), where A1 to A5 contains the statements. This formula retrieves a random statement from the specified range. However, to select three unique statements, additional steps are needed, such as using helper columns or advanced formulas to ensure no duplicates are selected. This method effectively allows for random selection within a defined range in Excel.
StevieTNZ
Messages
1,934
Reaction score
873
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
 
Computer science news 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)
 
Thread 'Urgent: Physically repair - or bypass - power button on Asus laptop'
Asus Vivobook S14 flip. The power button is wrecked. Unable to turn it on AT ALL. We can get into how and why it got wrecked later, but suffice to say a kitchen knife was involved: These buttons do want to NOT come off, not like other lappies, where they can snap in and out. And they sure don't go back on. So, in the absence of a longer-term solution that might involve a replacement, is there any way I can activate the power button, like with a paperclip or wire or something? It looks...
I came across a video regarding the use of AI/ML to work through complex datasets to determine complicated protein structures. It is a promising and beneficial use of AI/ML. AlphaFold - The Most Useful Thing AI Has Ever Done https://www.ebi.ac.uk/training/online/courses/alphafold/an-introductory-guide-to-its-strengths-and-limitations/what-is-alphafold/ https://en.wikipedia.org/wiki/AlphaFold https://deepmind.google/about/ Edit/update: The AlphaFold article in Nature John Jumper...

Similar threads

Back
Top