Vlookup to match Value over two Columns

JoeRooney

Board Regular
Joined
Nov 27, 2017
Messages
169
Office Version
  1. 365
Hi,

I need to look up a value across two columns

I.e. I need the vlookup to look for value in column A acrosscolumns B & C and if the value in column A is found in either column B or Cor found in both columns return that value.

A
B
C
1
5
1
2
2
2
<tbody> </tbody>


I have been working with the below formula but I am justreceiving a #ref / #N/A error.

=VLOOKUP(O:O,MOV!AI:AJ,{20,21},FALSE)

Any help is greatly appreciated.

Thanks,

 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
try


Book1
ABCDE
11861
22105
33533
4471
55715
66636
77567
88738
9988
10101810
Sheet2
Cell Formulas
RangeFormula
E1=IFERROR(IFERROR(VLOOKUP(A1,$B$1:$B$10,1,0),VLOOKUP(A1,$C$1:$C$10,1,0)),"")
 
Upvote 0

Forum statistics

Threads
1,214,522
Messages
6,120,025
Members
448,939
Latest member
Leon Leenders

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