selecting randomly specific value in a list
Hi Nicawette,
Put following formula in cell b2 and drag it up to end.
=IF(a2="N/A","",COUNTA($A$2:A2)-COUNTIF($A$2:A2,"N/A"))
Now put following formula say in cell C1
=INT(RAND()*(MAX(B2:B100)-1)+2)
Put following formula in say cell C2
=INDEX(A2:A100,C1)
H S Shastri
If useful pl press YES.
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++
"Nicawette" wrote:
Hi all,
I have a list of data with 8 records, these records can be either N/A
or the name of a user.
Column A
User1
User2
User3
N/A
User5
N/A
N/A
User8
I would like to choose at random only the name of one of the user and
not selecting the N/A, would it be possible with an excel formula?
Thank you
Nico
|