By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,946 Members | 712 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,946 IT Pros & Developers. It's quick & easy.

Randomly select group

P: n/a
Hi--I ned to randomize a calculation result to put it into 1 of 2
groups. Can I use the randomize funciton for this? Basically i ahve
this:

If sum> 0
set group =1
If sum < 0
set group =2

if sum =0

I want it to randomly set group to either 1 or 2

Any ideas?

Thakns
bob
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
oops--should have looked further in help--found what I needed :(

bob
On Fri, 17 Jun 2005 16:29:50 -0700, al*****@cox.net wrote:
Hi--I ned to randomize a calculation result to put it into 1 of 2
groups. Can I use the randomize funciton for this? Basically i ahve
this:

If sum> 0
set group =1
If sum < 0
set group =2

if sum =0

I want it to randomly set group to either 1 or 2

Any ideas?

Thakns
bob


Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.