Forum Discussion
SpartanBoy02
Feb 06, 2022Copper Contributor
=RANDBETWEEN NO DUPLICATES BETWEEN 1-52
Hi, I have been struggling with this for some time, I have office 2019, and I want to use that formula as stated in Subject to get a row of random numbers everytime, but the number may have no du...
- Feb 06, 2022
In the attached file in cell A1 you can enter the number of random numbers which will be displayed in range A3:A54. Click the button in cell D2 to start the macro. Maybe this is what you want to do.
HansVogelaar
Feb 06, 2022MVP
How many random numbers do you want?
- SpartanBoy02Feb 06, 2022Copper Contributor1-52
- HansVogelaarFeb 06, 2022MVP
A low-tech approach that works in all versions of Excel:
Enter the numbers 1 and 2 in A1 and A2.
Select A1:A2, then fill down to A52.
In B1, enter the formula =RAND()
Fill down to B52.
Click in B1, then sort ascending.
The numbers in A1:A52 are now in random order.
- Mr_JMar 20, 2026Copper Contributor
That works!
The numbers I needed were 1 to 130 and this does the trick. Cheers