Hello,
I am trying to write this "if" statement for a query. I keep getting syntax errors and was wondering if anyone can take a look and see anything. Also is this the best way to do this-should it be a function in a if else statement?
IF( [Z] < [Y] -0.5), A, IF (AND(( [Z] > [Y] +.5),( [Z] < [Y] + 1.5)), C, IF (AND(( [Z] < [Y] +.5),( [Z] > [Y] -0.5)),B,D))))
Thanks is advance for your help.
I am trying to write this "if" statement for a query. I keep getting syntax errors and was wondering if anyone can take a look and see anything. Also is this the best way to do this-should it be a function in a if else statement?
IF( [Z] < [Y] -0.5), A, IF (AND(( [Z] > [Y] +.5),( [Z] < [Y] + 1.5)), C, IF (AND(( [Z] < [Y] +.5),( [Z] > [Y] -0.5)),B,D))))
Thanks is advance for your help.