Hi, I need to write code to track variables and display whether they get triggered or not. For e.g. I have 5 variables (A1 to A5) which have different values. Some of the code that I have been writing is as follows: if A1>0 and A2 >0 and a3>0 and a4>0 and A5>0 then test="All A1-A5"; else if A1>0 and A2 >0 and a3>0 and a4>0 and A5=0 then test="A1-A4" ; else..... You get the picture - there are numerous combinations that can be coded. Is there an easier way of coding this? Any help would be appreciated. Thanks yash
... View more