J
JFLaj
Hi All,
I have two columns of numbers that need to be kept as pairs for example
122 50
122 90
345 657
555 67
I need to randomly choose a pair x amount of times. I am using thi
formula in the first output colum
=INDEX($I$2:$I$5,RANDBETWEEN(1,COUNTA($I:$I)),1), which is fine t
choose one of the numbers of column 1, however I am struggling to matc
the randomly chosen first number with its corresponding second number
This is as good as I have go
=INDEX($J$2:$J$5,(MATCH(L2,$I$2:$I$5,0)),). But the problem with is tha
is chooses the first value it finds that corresponds to the correc
number in column 1. So 122 is always paired with 505 never 909. I need
way to match the randomly chosen cell location rather than the valu
itself.
Hope this makes sense. Thanks for any help
I have two columns of numbers that need to be kept as pairs for example
122 50
122 90
345 657
555 67
I need to randomly choose a pair x amount of times. I am using thi
formula in the first output colum
=INDEX($I$2:$I$5,RANDBETWEEN(1,COUNTA($I:$I)),1), which is fine t
choose one of the numbers of column 1, however I am struggling to matc
the randomly chosen first number with its corresponding second number
This is as good as I have go
=INDEX($J$2:$J$5,(MATCH(L2,$I$2:$I$5,0)),). But the problem with is tha
is chooses the first value it finds that corresponds to the correc
number in column 1. So 122 is always paired with 505 never 909. I need
way to match the randomly chosen cell location rather than the valu
itself.
Hope this makes sense. Thanks for any help