I am having trouble in an IF STATEMENT, comparing the output of a VLOOKUP with any value object. For example
=TRIM(IF(OR(TRIM(VLOOKUP(AI11,G15:I90,3,FALSE))=K1,TRIM(VLOOKUP(AI11,G15:I90,3,FALSE))=K2),BE11,TRIM(VLOOKUP(AI11,G15:I90,3,FALSE))))
K1, K2 are value cells
NO errors are produced just incorrect values