Vlookup to find Exact Match

AminShailja

New Member
Joined
Dec 2, 2019
Messages
11
Office Version
  1. 2010
Platform
  1. Windows
  2. Web
Hello I am trying to run vlookup on one workbook (dest.xlsm) row A1:A, from another workbook (Source.xlsm) row A1:A

Lets say, and ID( AA101) in Dest file has multiple findings in source file. Now I need only those records which has "Exceeded" in the adjacent row.
Please help me with this.

I have used vlookup through VBA Macros for this. but the result only fetches first row of every ID.

Anyone please can help me sort this out?

1576057261681.png



1576057276668.png
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
IDStatus
AA101In Progress
AA102In Progress
AA103Exceeded
AA104In Progress
AA101Exceeded
AA104Exceeded
AA102In Progress
AA105In Progress


IDResult Status
AA101Exceeded
AA102N/A
AA103Exceeded
AA104Exceeded
AA105N/A

These are two tables
 
Upvote 0
You will get a list of all of the rows which have that ID and which contain the value Exceeded.
I thought that was what you were trying to achieve.
You don't say what you want to do with this information, but having determined through the VBA filter what that range is, you can then do whatever you wish with that information.
The filter trick does not work. Anything else you can suggest?
 
Upvote 0
That's better, cant read the images too well.

This looks like it works
=IFERROR(INDEX(Sheet2!A$2:A$1000,AGGREGATE(15,6,ROW(B$1:B$1000)/((Sheet2!B$2:B$1000=VLOOKUP(D$1,A$2:B$1000,2,0))),ROWS(A$2:A2))-(1-1),1),"")
 
Upvote 0

Forum statistics

Threads
1,215,632
Messages
6,125,908
Members
449,273
Latest member
mrcsbenson

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