RANDOM select strings, and No REPEAT selection

dellzy

Board Regular
Joined
Apr 24, 2013
Messages
146
Dear Excel Experts,

I found formulas that allow users to select names randomly:-

Code:
=INDEX($A$2:$A$11,RANDBETWEEN(1,COUNTA($A$2:$A$11)),1)

But how do we omit the one that has appeared/selected to avoid repetitive value? The reason why I need this is to ensure staff select unique tasks, no one should get same task.

Below are my input.

Col A
BROADBAND
BAL STATUS
VOL STATUS
MAXUP
MAXUPEXTRA
VOL PURCHASE
AXIATA ROAM ON
ADVANCE
BDAY BONUS
BB ON/OFF

At Cell C2 contains the random picker formula.

After running the formula in C2 and came out value "VOL STATUS", the next run should not include "VOL STATUS" anymore in the random list to avoid duplicates.

Appreciate anyone's help.

Thank you in advance.
DZ
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
It is difficult (or even impossible) to do selections one-by-one, by a single formula.

But you can do it in a different way as follows:


  • Put into B2:B11 formulas =RANDBETWEEN(1,1000000) and let them compute the random numbers.
  • Sort A2:B11 by the values in column B. You will get a random order of the tasks.
  • Assign employee 1 the first task, employee 2 the second task, etc.

J.Ty.
 
Upvote 0
.. the next run ..
1. What do you mean by "the next run"?

2. Are you trying to list all those 10 items in random order with no repeats?

3. Are you wanting the staff to select a task beside their name but not allow them to select a task that has already been chosen by somebody else?

4. Something else? If so, tell us more about the overall layout of your sheet and exactly what you are trying to achieve.
 
Upvote 0

Forum statistics

Threads
1,214,782
Messages
6,121,532
Members
449,037
Latest member
tmmotairi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top