Excel - Looping through data till it finds the right one
- by DanoK
I'm pulling data from one Excel table into another using an IF statement. I want it to check two fields and if it is a match I want it to print something and if it doesn't then I want it to continue searching. If there is no absolute match then leave the field blank.
I believe I'm running into an syntax issue but after numerous iterations I can't get it to pull everything over. Here is my current syntax.
=IF(BM5<>"External","",IF(AND(S5=VLOOKUP(A5,ExternalOnly,5,FALSE),A5=VLOOKUP(A5,ExternalOnly,1,FALSE)),S5,"")