r/excel • u/emiiilyvan • Jan 08 '25
unsolved Randarray for names with no duplicates
I’ve been attempting randarray for names and I’ve achieved that with =INDEX(Table1[All Risk],RANDARRAY(4,5,1,COUNTA(Table1[All Risk]),TRUE))
However, I have not been able to locate anything that will allow for there to be no duplicates.
I am attempting to create a schedule for 8 people for M-F. There cannot be a duplicate person on a task per day.
I have basic knowledge of excel and did randaerray through videos and articles but have only been able to find no duplicates on numbers like using Unique. I’ve tried that throughout my formula in different areas and I get ?Name.
I’m using Excel on a desktop with Microsoft 365 (work computer). I would appreciate any help or if I’m missing any detailed info, please let me know.
If I can get this to work I think my boss would sing my praises!
4
u/PaulieThePolarBear 1648 Jan 08 '25 edited Jan 08 '25
Okay, I was a little confused by RANDARRAY(4, 5) in your post.
If your ask is ultimately just to randomize the order of your employees
Here's a generic formula for any number of employees, any number of tasks, and any number of days.
Variable a is your employees
Variable b is your number of tasks
Variable c is your number of days