Getting #N/A with OR function

Chartman of the Bored

Board Regular
Joined
Apr 24, 2002
Messages
83
Hi,

I'm using the OR function in conjunction with VLOOKUP. My three VLOOKUP functions reference cells in columns E, F, and G and try to find a match among a list of names in column S:

=OR(VLOOKUP(E2,$S:$T,2,0)="EAST",VLOOKUP(F2,$S:$T,2,0)="EAST",VLOOKUP(G2,$S:$T,2,0)="EAST")

I run into problems when the name in E correctly equals "EAST", but the name in F or G is not in the list in column S. In other words, I'm expecting a "TRUE" result, but instead I get #N/A.

Is there a way around this?

Thanks in advance
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,214,970
Messages
6,122,514
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top