IF statement producing unusual results?
Posted by Victoria Bailey on January 03, 2002 7:19 AM
Below is a copy of an IF statement which is producing unusual results:
=IF((C:C=L=L)*(F:F=O:O)*(B:B=K:K)*(D:D=M:M),"check","OK")
The IF statement compares first product codes in two columns, and then compares batch code in two columns, then location in two columns and finally quantity in two columns if there is a match then output OK else output Check.
However, I thought this worked but someone pointed out that it is only by chance that it is outputting the correct result as above, in fact it is sometimes saying to check a row when it is actually OK.
Can you help?
Thank you in advance.