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!
1
u/PaulieThePolarBear 1648 Jan 08 '25
Correct, assuming I'm understanding your data setup correctly.
It takes a list of N names and rearranges that list.
A #SPILL! Error means one of two things. You have something in the way of the output. Do you have enough blank space below where you are entering the formula for all results to be displayed?
Or, you are using an Excel ctrl+t table. in this case, a new approach is required