I have a list of 1-50 numbers from A1 to A50 and I have randomized them by using =rand() from b1 to b50 and then using a macro to sort by value of column B to randomize the A column.
Works perfectly.
But I want to type in two numbers in C1 and C2 between 1 and 50 and and generate a random list of the other 48 numbers without duplicating whatever I typed in cells C1 and C2.
So if I typed 8 into C1 and 22 into c2, I want the result to be a random list of the other 48 numbers without duplicating 8 and 22.
So far have tried versions of nested if statements and randbetweens etc but can't get anything to work.
If you could help, I'd really appreciate it.
Works perfectly.
But I want to type in two numbers in C1 and C2 between 1 and 50 and and generate a random list of the other 48 numbers without duplicating whatever I typed in cells C1 and C2.
So if I typed 8 into C1 and 22 into c2, I want the result to be a random list of the other 48 numbers without duplicating 8 and 22.
So far have tried versions of nested if statements and randbetweens etc but can't get anything to work.
If you could help, I'd really appreciate it.