VLookup Question

carlosyanes

New Member
Joined
Apr 22, 2010
Messages
24
Hello all.

I need some help in looking up a value on a worksheet where the item being looked up can be in 1 of two columns.
For example, if I'm looking up "John" but the word "John" can be listed on either Column A or B, what formula can I use to have it search both columns for the matching value?

Thanks for your help.

Carlos
 

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"

Excel 2003
AB
2John6/12/2012
Sheet1
Cell Formulas
RangeFormula
B2=IF(ISNA(VLOOKUP(A2,Sheet2!A3:D11,3,FALSE)),VLOOKUP(Sheet1!A2,Sheet2!B3:D11,2,FALSE),VLOOKUP(A2,Sheet2!A3:D11,3,FALSE))



Excel 2003
ABC
3MillsJohn6/12/2012
4MaryBly5/15/2011
5TomChance7/2/2012
6KaryMiles10/2/2012
7CarolKing9/25/2011
8KarlaWalters7/18/2011
9KirbyDowney8/14/2010
10BillMiller9/9/2009
11MikeBrewer11/24/2011
Sheet2
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

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