Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In cell A1, I have an INT(RAND) formula to produce a random whole number.
In cell B1, I want another random whole number to be produced, but I don't want it to be equal to the number generated in cell A1. Is there a way to specify that in the INT(RAND) formula? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Look he
http://www.mcgimpsey.com/excel/udfs/randint.html -- Kind regards, Niek Otten Microsoft MVP - Excel "Richard" wrote in message ... In cell A1, I have an INT(RAND) formula to produce a random whole number. In cell B1, I want another random whole number to be produced, but I don't want it to be equal to the number generated in cell A1. Is there a way to specify that in the INT(RAND) formula? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
First you might consider using =RANDBETWEEN(1,100) instead of the =INT(RAND()). However, that doesn't help with regards to generating unique numbers. -- If this helps, please click the Yes button Cheers, Shane Devenshire "Richard" wrote: In cell A1, I have an INT(RAND) formula to produce a random whole number. In cell B1, I want another random whole number to be produced, but I don't want it to be equal to the number generated in cell A1. Is there a way to specify that in the INT(RAND) formula? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
Here is a way to make them unique: in cell B1 enter =RANDBETWEEN(1,100) in cell B2 enter: =RANDBETWEEN(MAX(B$1:B1),MAX(B$1:B1)+B1) fill this down. Adjust this for your range. -- If this helps, please click the Yes button Cheers, Shane Devenshire "Richard" wrote: In cell A1, I have an INT(RAND) formula to produce a random whole number. In cell B1, I want another random whole number to be produced, but I don't want it to be equal to the number generated in cell A1. Is there a way to specify that in the INT(RAND) formula? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Functions expert€¦€¦€¦numbering random condition in a column | Excel Worksheet Functions | |||
Help with Random Functions | Excel Worksheet Functions | |||
How can I match a random number with closest number from sequence? | Excel Worksheet Functions | |||
same number appears in a random number generator | Excel Worksheet Functions | |||
How do I find random number in list of random alpha? (Position is. | Excel Discussion (Misc queries) |