[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ternary (?:) operator syntax



Le mardi 03 mars 2009 à 04:11 -0500, ken a écrit :
> What's the syntax for the ternary operator?  I tried something as simple as
> 
> =(D6>3) ? 30 : 40
> 
> and many permutations of that and always get an error: "Invalid expression".
> 
> Thanks.


=if(D6>3,30,40)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]