Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9041

Re: Complex If else statement

$
0
0


Hi,

 

Condition 4:  B=-B i.e. if B is negative Condition 4 must be outermost in the nested if. If its priority is highest.  I understood is correct then the solution given by @SUV 123 can be modified as below;

CKF1 = A>B * NOERR (NODIV (  ( A/B ) ) )  * 30 

CKF2 = A<B * NOERR  ( NODIV(  ( ( A- B-B1)/B2 * 30 + 60) ) ) 

CKF3 = A=B * NOERR (NODIV( (A/B)))* 30

CKF4  -  B<0 * 0 + B>0 * CKF1+CKF2+CKF3

Hope this gives you desired solution.

 

Regards,

 

Sucheta


Viewing all articles
Browse latest Browse all 9041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>