English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I want to use the "randbetween" function to generate random numbers between 1 and 100 in MS-Excel. How do I do this wihout repetiton of any number?

Thanks for your help!!

2007-02-27 07:29:21 · 2 answers · asked by JiveSly 4 in Computers & Internet Other - Computers

2 answers

Using randbetween function, generate more than 100 sets, the more the better.
Copy and pastespecial as values.

Using autofilter, extract it as unique. You should have exactly unique set.

2007-02-27 14:25:51 · answer #1 · answered by unnga 6 · 0 0

Surely if you try to prevent repetition, then the
generation isn't going to be random. Is it? In which
case the RANDBETWEEN function is not going to
be the best choice...

Off the top of my head, I'd say it would be far easier
to pick the numbers at random from a Range, Set,
or Array, which gets reduced in size each time by
removing the number picked.

HTH ( a little.. ).

2007-02-27 10:04:19 · answer #2 · answered by Anonymous · 0 1

fedest.com, questions and answers