Share via

Random Function Excel - Ballot

Anonymous
2011-06-27T05:17:13+00:00

Hi,

I'm using the following formula

"=Rand()*(b-a)+a"

for a ballot.

I have 20 numbers, reach refers to a name for a lucky individual who is entitled for a prize. I want to ballot five people in total.

How can I exclude a number that has been balloted from the next round of balloting - ideally in the same spreadsheet?

So let's say first field where I enter the above code is 18, next field should pick a random number between 1 and 20 excluding 18 - is this feasible?

Thanks for your help.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2011-06-27T05:40:33+00:00

Hi,

I'm using the following formula

"=Rand()*(b-a)+a"

for a ballot.

I have 20 numbers, reach refers to a name for a lucky individual who is entitled for a prize. I want to ballot five people in total.

How can I exclude a number that has been balloted from the next round of balloting - ideally in the same spreadsheet?

So let's say first field where I enter the above code is 18, next field should pick a random number between 1 and 20 excluding 18 - is this feasible?

Thanks for your help.

 

For a variety of options see

Select elements at random without repetition

http://www.tushar-mehta.com/excel/newsgroups/rand_selection/

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2011-06-27T06:18:18+00:00

    Thank you - got it! Great help! Thanks!!!

    Was this answer helpful?

    0 comments No comments