I have 10 employees and need to randomly schedule them for fairness in schedule
they are numbered 1 to 10
when I use RANDBETWEEN I get duplicates
is there a way I can stop the duplicates and have 1 to 10 in random order going down a column?
I have 10 employees and need to randomly schedule them for fairness in schedule
they are numbered 1 to 10
when I use RANDBETWEEN I get duplicates
is there a way I can stop the duplicates and have 1 to 10 in random order going down a column?
is RANDBETWEEN not the way to go?
is there another way?
here's one method using a macro
![]()
Please Login or Register to view this content.
Last edited by AndyLitch; 03-13-2014 at 07:26 AM.
Elegant Simplicity............. Not Always
Try this.......
For detail see the attached sheet.![]()
Please Login or Register to view this content.
Regards
sktneer
Treat people the way you want to be treated. Talk to people the way you want to be talked to.
Respect is earned NOT given.
Hi
Start this array formula from second row. and drag down
=LARGE(IF(COUNTIF($A$1:A1,ROW($1:$10)),0,ROW($1:$10)),RANDBETWEEN(1,SUM(--(IF(COUNTIF($A$1:A1,ROW($1:$10)),0,ROW($1:$10))>0))))
Ctrl+Shift + Enter
Appreciate the help? CLICK *
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks