Hey guys,
Need a bit of help putting together an IF Function.
I have multiple entries which I want to cross reference for differences. For the time being, I want to compare 2 entries for difference or to see whether they match.
There needs to be 2 parts to this IF formula which I'm having trouble putting together. A2 and A3 will be comparing the entry number, therefore if A2 and A3 match, it needs to be marked as MATCH, whereas if they are A2 doesn't match A3 then it needs to be marked as FALSE.
However, there needs to be a second part to say that if A2 and A3 match then it will compare B2 and B3 to see if there is a MATCH or be marked as FALSE. Whereas, if A2 and A3 do not match at all then regardless of B2 and B3 matching then it will be marked as FALSE.
I have gotten to the following however, it does not take the above principle into consideration.
=IF(AND(B2="",B3=""),"MATCH", IF(A2<>A3,FALSE,IF(AND(OR(B2="",B3="",B2=B3),B2&B3<>""),"MATCH",FALSE)))
Any help would go a long way.
Need a bit of help putting together an IF Function.
I have multiple entries which I want to cross reference for differences. For the time being, I want to compare 2 entries for difference or to see whether they match.
There needs to be 2 parts to this IF formula which I'm having trouble putting together. A2 and A3 will be comparing the entry number, therefore if A2 and A3 match, it needs to be marked as MATCH, whereas if they are A2 doesn't match A3 then it needs to be marked as FALSE.
However, there needs to be a second part to say that if A2 and A3 match then it will compare B2 and B3 to see if there is a MATCH or be marked as FALSE. Whereas, if A2 and A3 do not match at all then regardless of B2 and B3 matching then it will be marked as FALSE.
I have gotten to the following however, it does not take the above principle into consideration.
=IF(AND(B2="",B3=""),"MATCH", IF(A2<>A3,FALSE,IF(AND(OR(B2="",B3="",B2=B3),B2&B3<>""),"MATCH",FALSE)))
Any help would go a long way.