VLOOKUP evaluating 2 columns

ddub25

Well-known Member
Joined
Jan 11, 2007
Messages
625
Office Version
  1. 2019
Platform
  1. Windows
I've been trying to get a VLOOKUP to look at text in Column B and in Column I (in the same row) on one sheet and then find the exact same text values held in Column BV and Column BW (in another workbook called 'REF' and on a sheet within the workbook called 'ref1'). When it finds these values, I want it to return the text held in Column BX.

I've been struggling to get the correct syntax to incorporate the 2 initial column references. Can anyone help.

Dan
 
Matty,

Yes, very good to spare computational resources and to keep the formulas simpler.

Tks for the reply.

M.
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi Marcelo,

I should have qualified something before. If the value being returned is numeric, then the formula should be:

=LOOKUP(9.99999999999999E+307,CHOOSE({1,2},0,formula))

Notice how the quotes around the 0 have gone, as the formula would return #N/A if they were there and the lookup value had not been found.

Matty
 
Last edited:
Upvote 0
Hi Marcelo,

I should have qualified something before. If the value being returned is numeric, then the formula should be:

=LOOKUP(9.99999999999999E+307,CHOOSE({1,2},0,formula))

Notice how the quotes around the 0 have gone, as the formula would return #N/A if they were there and the lookup value had not been found.

Matty

Yes, yes!

When replying i have just copied and pasted your formula without care, but i had already made tests with 0 (no double-quotes) and it worked perfect.

Tks, again, for your attention.

M.
 
Upvote 0
Yes, yes!

When replying i have just copied and pasted your formula without care, but i had already made tests with 0 (no double-quotes) and it worked perfect.

Tks, again, for your attention.

M.
Good work! :)
 
Upvote 0

Forum statistics

Threads
1,225,149
Messages
6,183,191
Members
453,151
Latest member
Lizamaison

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