I need help and I am hoping someone here can assist.

I have a formula pulling data from a specific sheet, looking up using acc numbers. It is looking for a specific result, if yes it writes "Yes" and if it gets anything else it writes "No". There is an iferror check there also that if it gets an error result it replaces that with a "No" also.

=IFERROR(IF(VLOOKUP(A2,'**file location on server**\[**file name**]**Sheet name**'!$B$2:$CM$500000,43,0)="**Specific result I am looking for**","Yes","No"),"No")

When I run that formula I get all No's, which is incorrect, yet when I separate the formula out in different cells and then do the nested parts in stages it works fine and I can verify that the data is correct. Same principle but just in stages instead of nested like above.

Any thoughts? I can see nothing wrong with the formula and in principle it should be working