Subscribe Bookmark RSS Feed

If/Random Int Formula Question

benson_munyan

Community Trekker

Joined:

Dec 17, 2014

Hello,

I am trying to get a formula to work for a dataset, but I'm having problems. I have the formula set up so that:

10455_Formula Picture.png

But this returns 1 for all columns. What am I doing wrong?

3 REPLIES
kevin_c_anderso

Community Trekker

Joined:

Jun 5, 2014

Hi, Benson!

Try a Comma(,) instead of the LessThan(<) symbol in the Random, Integer function. 

Alternatively, try not holding down the Shift key when you type the Comma. 

dkeshock

Community Trekker

Joined:

May 28, 2014

Try replacing the less than sign with a comma   (15,26)

ms

Super User

Joined:

Jun 23, 2011

Try a comma instead of the less-than symbol between the numbers. The above returns a random integer between 1 and 1 (because 15 is less than 26. Every time)


To enable the optional second argument in the formula editor, select the square within parentheses and click ^.