Need Help With Excel Homework..

This is a discussion about Need Help With Excel Homework.. in the Slack Space category; Any experts out there ?

Slack Space 1613 This topic was started by ,


data/avatar/default/avatar34.webp

26 Posts
Location -
Joined 2001-04-01
Any experts out there ?

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
May 17
Created
May 17
Last Response
0
Likes
1 minute
Read Time
User User User
Users

Responses to this topic


data/avatar/default/avatar13.webp

201 Posts
Location -
Joined 2000-05-18
What kind of help do you need. LOL I'M not a pro but I know a thing or too.
 
 
Cheers

data/avatar/default/avatar34.webp

26 Posts
Location -
Joined 2001-04-01
OP
How would you go about randomly sampling 5 names from a list of 8?

data/avatar/default/avatar27.webp

1117 Posts
Location -
Joined 2000-01-23
do they have to be unique? ie. can the same name be picked more than once?

data/avatar/default/avatar34.webp

26 Posts
Location -
Joined 2001-04-01
OP
nope they dont have to be unique...

data/avatar/default/avatar27.webp

1117 Posts
Location -
Joined 2000-01-23
This should work for you - this of course assumes that your names are in A1:A8, but you can change that to suit your needs.

=INDEX(A1:A8,CEILING(RAND()*8,1),1)

Be careful when copying this formula around that it doesn't try to 'update' the array location. If you want, you can lock it down with dollar signs - ie. $A$1:$A$8. Also, the INDEX works in (row,column) coordinates. I assumed here that the data is vertical, so the row is random and the column is always 1, the first (and only) column of the array. If your data is horizontal, then make the row 1 and the column random.

data/avatar/default/avatar34.webp

26 Posts
Location -
Joined 2001-04-01
OP
....Live The Dream....