How do I automatically select a Excel record randomly?

I

Italian1

Hello,
I have an Excel file / database of students who have taken an examination. I
would like to automatically and randomly select one student from those with
an examination score of 85% or higher. I don't know how to write the formula
for this. Can someone help?

Thanks in advance.
 
T

Teethless mama

Assuming student names in column A, Score in column B, header in row 1

In C2: =INDEX(A2:A9,MATCH(RANDBETWEEN(85,100)/100,B2:B9))

Adjust range to suit
 
I

Italian1

Thank you very much. I'll give this a try.

Teethless mama said:
Assuming student names in column A, Score in column B, header in row 1

In C2: =INDEX(A2:A9,MATCH(RANDBETWEEN(85,100)/100,B2:B9))

Adjust range to suit
 
I

Italian1

Teethless mama,

I've tried your formula repeatedly but I am only getting #NA as a result.
When I step thru the calculation steps, I am only seeing the calculations for
scores that are not listed in the DB compared to 100 which returns #NA.

I'm afraid I am not good enought just yet to figure this one out. Is there
any more or other help you can provide at this time?

In any event, thanks a whole lot.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top