I'm working with 2 spreadsheets with 3 columns: Bank #(Col A), Branch #(Col B) and Branch Name(Col C). I need to identify those branches where the bank # matches, if so, does the branch # match, if so, return the branch name. I have tried the following:
=IF('[north listing 072606.xls]branchlisting.rpt'!$A$2:$A$700=$A5,IF('[north listing 072606.xls]branchlisting.rpt'!$B$2:$B$700=$B5,VLOOKUP(A:A,'[north listing 072606.xls]branchlisting.rpt'!$A:$C,3,FALSE),"NO BRANCH# MATCH"),"NO BANK# MATCH")
The problem that I'm having is that matches that I know exist are not returning correctly in the formula. I think the problem may be that the bank# is not unique. For example, in one spreadsheet are 4 instances of a bank# of 1 while in the other spreadsheet there are only 3 instances.
Is it possible to do what I'm trying to do??
Hope this makes sense.
Thanks in advance for any help,
Sue
=IF('[north listing 072606.xls]branchlisting.rpt'!$A$2:$A$700=$A5,IF('[north listing 072606.xls]branchlisting.rpt'!$B$2:$B$700=$B5,VLOOKUP(A:A,'[north listing 072606.xls]branchlisting.rpt'!$A:$C,3,FALSE),"NO BRANCH# MATCH"),"NO BANK# MATCH")
The problem that I'm having is that matches that I know exist are not returning correctly in the formula. I think the problem may be that the bank# is not unique. For example, in one spreadsheet are 4 instances of a bank# of 1 while in the other spreadsheet there are only 3 instances.
Is it possible to do what I'm trying to do??
Hope this makes sense.
Thanks in advance for any help,
Sue