Calculation

Hi All,

I am wondering if it is possible to change value of a variable using
Calculate command.

For example, initially I am assigning index = 1, and based on some result I
want to change the index = 0.

Please suggest, if there any way to change the value.

Thanks,

Surajit

Hi,

Yes, there is a way through which you can change calculate value based on
condition.

To change the value of calculated through calculate command, based on
specific condition, you need to add "calculation" column in survey sheet
and use the command/syntax within calculation column mentioned below:

if(${base}<3,1,0)

The above command calculate value as 1 if variable "base" is less than 3,
otherwise (in all other cases) 0.

Thanks,
Abbas

ยทยทยท On Tuesday, June 21, 2016 at 9:00:14 AM UTC+5, Surajit wrote: > > Hi All, > > I am wondering if it is possible to change value of a variable using > Calculate command. > > For example, initially I am assigning index = 1, and based on some result > I want to change the index = 0. > > Please suggest, if there any way to change the value. > > Thanks, > > Surajit >