Doing a VLOOKUP IF a column doesn't contains a specific value

Ramenator

New Member
Joined
Jul 17, 2013
Messages
5
Hey guys, wondering if you could help me out with this.

I have a VLOOKUP formula right now that looks up a value X3444 in a table and returns the 10th column. The problem is that there are multiple entries of X3444 in the table. Now, there is another column, let's say column 5, in this table that either has an X or does not. If the X is present, then I would like to not do the VLOOKUP for X3444 in that row.

Hope this is clear enough.

Thanks in advance!
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
I should have probably included some more relevant info. Thanks for the feedback so far, Jonmo1.

So this is the formula used in Workbook 1 and it is referencing rb_hsa_data.xlsx which would be Workbook 2.

=VLOOKUP(Zones[[#This Row],[Eng]],[rb_hsa_data.xlsx]report_result!C2:C51,50,0)

So when I do the VLOOKUP in Workbook 2, I want it to only return the data IF the same row it's looking up has an X in another column.

So for example below:

C99JNMT.png


I want my VLOOKUP in Workbook 1 to reference this data in Workbook 2 and I want it to return data in columns 10 and 11 only if there is no X in column 3.

Cheers and thanks again.
 
Upvote 0

Forum statistics

Threads
1,216,119
Messages
6,128,946
Members
449,480
Latest member
yesitisasport

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