Hi Everyone,
I am trying to compare several fields from two data sources and I want to get only one Pass/Fail back as a response. There are 26 fields I am trying to compare and if any of them match to their corresponding value in the other input I want to get a fail. I need to compare the values from the Codes in column A to the Field Names in column D from the attached. I tried to do the below IFTHEN statement but it keeps coming back as malformed. Am I able to do it in this way or is there some other method I need to use?
if [L/C Orig Effective Date] != [LC ISSUE/ADVISE DATE] then 'Fail' elseif
if [L/C True Expiry Date] != [EXPIRY DATE] then 'Fail' elseif
if [LC Amount in Native Currency] != [OUTSTANDING LIABILITY BALANCE] then 'Fail' elseif
if [LC Currency] != [CURRENCY] then 'Fail' else 'Pass' endif