In the past I have used the following two formulae at different times to generate random numbers based on people's names in column A (eg: Sanders, Matthew or Jamieson, Chris) .....
=VLOOKUP(MID(A5,FIND(" ",A5)-2,1),Lookups!$B$2:$C$27,2)&VLOOKUP(MID(A5,FIND(" ",A5)-1,1),Lookups!$B$2:$C$27,2)&VLOOKUP(MID(A5,FIND(" ",A5)+1,1),Lookups!$B$2:$C$27,2)&VLOOKUP(MID(A5,FIND(" ",A5)+2,1),Lookups!$B$2:$C$27,2)
=SUM(CODE(RIGHT(A2,1)),CODE(RIGHT(A2,4)),CODE(RIGHT(A2,9)),CODE(A2))/(4*122)
However, there is frequently duplication of the random number generated.
Is there a way to generate random numbers, without using the Rand function, that will rarely give duplicated numbers ?
I don't want to use the Rand function as it keeps changing each time a calculation is made, and I need the randomly generated number to never change once allocated to a person.
=VLOOKUP(MID(A5,FIND(" ",A5)-2,1),Lookups!$B$2:$C$27,2)&VLOOKUP(MID(A5,FIND(" ",A5)-1,1),Lookups!$B$2:$C$27,2)&VLOOKUP(MID(A5,FIND(" ",A5)+1,1),Lookups!$B$2:$C$27,2)&VLOOKUP(MID(A5,FIND(" ",A5)+2,1),Lookups!$B$2:$C$27,2)
=SUM(CODE(RIGHT(A2,1)),CODE(RIGHT(A2,4)),CODE(RIGHT(A2,9)),CODE(A2))/(4*122)
However, there is frequently duplication of the random number generated.
Is there a way to generate random numbers, without using the Rand function, that will rarely give duplicated numbers ?
I don't want to use the Rand function as it keeps changing each time a calculation is made, and I need the randomly generated number to never change once allocated to a person.