Vlookup does find the criteria when locatesd in several columns

sandero1970

New Member
Joined
Aug 23, 2013
Messages
19
Office Version
  1. 2016
Platform
  1. Windows
Hello,

I have following question:

In sheet 1, I have a value in cell A1 for which I need to find a result value in Sheet 2 col G.

The complication is that my value Sheet1!A1 might be located in Sheet2 in the range C:F

A vlookup is searching value Sheet1!A1 in column C of Sheet2. So it does not work.

I've been trying with this combination but without success: =INDEX(SHEET2!G:G,EQUIV(Sheet1!A1,SHEET2!C:F,1))

Any idea how to fix this?
Thx
 

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.
How about
Excel Formula:
=INDEX(Sheet2!$G:$G,AGGREGATE(15,6,ROW(Sheet2!$G$2:$G$1000)/(A1=Sheet2!$C$2:$F$1000),1))
 
Upvote 0
In that case can you post some sample data.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,967
Members
452,371
Latest member
Frana

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