ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Generating Random Number from a set of numbers (https://www.excelbanter.com/excel-discussion-misc-queries/77848-generating-random-number-set-numbers.html)

CalsLib

Generating Random Number from a set of numbers
 
Hello,

I need to generate a set of 12 random numbers from given numbers 1--24 and I
only want to generate 12 even numbers. Any idea as to how I do this?

thanks

Morrigan

Generating Random Number from a set of numbers
 

CalsLib Wrote:
Hello,

I need to generate a set of 12 random numbers from given numbers 1--24
and I
only want to generate 12 even numbers. Any idea as to how I do this?

thanks



Is RANDBETWEEN(1,12)*2 what you want?


--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=523309


CalsLib

Generating Random Number from a set of numbers
 
Yeah, I think it will work; however, is there a way to use Tools Data
Analysis random number generation to do the same thing?

But, yes, that's great, thanks.

"Morrigan" wrote:


CalsLib Wrote:
Hello,

I need to generate a set of 12 random numbers from given numbers 1--24
and I
only want to generate 12 even numbers. Any idea as to how I do this?

thanks



Is RANDBETWEEN(1,12)*2 what you want?


--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=523309



Morrigan

Generating Random Number from a set of numbers
 

Not that I know of.


--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=523309



All times are GMT +1. The time now is 10:40 PM.

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