ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   RANDBETWEEN PROBLEM (https://www.excelbanter.com/excel-worksheet-functions/249427-randbetween-problem.html)

Carolan

RANDBETWEEN PROBLEM
 
I would like a formula to randumly pick numbers between 1 and 45 but once a
number is picked the number won't be picked again. Is that possible?
--
Carolan

Niek Otten

RANDBETWEEN PROBLEM
 
Look he

http://www.mcgimpsey.com/excel/udfs/randint.html

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"CarolAn" wrote in message
...
I would like a formula to randumly pick numbers between 1 and 45 but once a
number is picked the number won't be picked again. Is that possible?
--
Carolan



Ashish Mathur[_2_]

RANDBETWEEN PROBLEM
 
Hi,

You can download the random number generator from here -
http://www.ablebits.com/excel-random...t-free-addins/.

This allows you to generate unique random numbers.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"CarolAn" wrote in message
...
I would like a formula to randumly pick numbers between 1 and 45 but once
a
number is picked the number won't be picked again. Is that possible?
--
Carolan



Otávio Alves Ribeiro

RANDBETWEEN PROBLEM
 
Hi there.
One possible solution involves the following steps:
1. Select cells A1:A45.
2. Type in the formula =row() and press CTRL + ENTER.
3. Select cells B1:B45.
4. Type in the formula =RAND() and press CTRL + ENTER
5. Select cells A1:B45, press Ctrl C and choose the menu Paste Values Only.
6. With cells A1:B45 selected sort them by column B.
7. Select cells, say, G1:G45.
8. Type in the formula =INDEX(A1:A45,ROW(A1:A45),1) and press CTRL + ENTER.

This will give you fourty-five rows with an integer "randomly" generated
between 1 and 45 without repetition.

Regards,
Otávio

"CarolAn" wrote:

I would like a formula to randumly pick numbers between 1 and 45 but once a
number is picked the number won't be picked again. Is that possible?
--
Carolan



All times are GMT +1. The time now is 08:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com