Formulyo

Excel + Google Sheets · RANDBETWEEN

Pick a random winner in one formula

RANDBETWEEN picks a random position and INDEX returns the name in it.

The formula

=INDEX(A2:A6, RANDBETWEEN(1, 5))

What each part means

Example

Before
AB
1ParticipantWinner
2@laura
3@joao
4@priya
5@tom
6@ana
After
AB
1ParticipantWinner
2@laura@priya
3@joao
4@priya
5@tom
6@ana

Step by step

  1. Click cell B2.
  2. Type the formula: =INDEX(A2:A6, RANDBETWEEN(1, 5))
  3. Press Enter.

Where it works

The same formula in other languages

Get 1 formula a day, free

Plus a free weekly planner template for Excel and Google Sheets. Unsubscribe in 1 click.

✓ Done! Check your inbox to confirm.

Want ready-made templates? See the Formulyo pack →

Keep learning