Index Match Across Workbooks and Multiple Criteria

OandGmodeling

New Member
Joined
Apr 5, 2019
Messages
8
Hello,

I am trying to pull certain data from a raw file that is updated weekly from another source and place it in a more presentable model. I am having to use multiple criteria (Columns A and B) to try and get the appropriate lookup value from Column C through F but am not having much luck. I am also trying to make the formula flexible since the data range will likely change on a weekly basis. Below is an example, with exact formatting on the raw file, that I am dealing with. This should be rather simple I feel like but I keep getting errors. Any help would be appreciated. Thanks.

Column A[TABLE="width: 500"]
<tbody>[TR]
[TD][Delaware][/TD]
[TD]Standard Oil[/TD]
[TD]Y[/TD]
[TD]Reeves[/TD]
[TD]Bone Spring[/TD]
[TD]20000[/TD]
[/TR]
[TR]
[TD][Midland][/TD]
[TD]Standard Oil[/TD]
[TD]N[/TD]
[TD]Martin[/TD]
[TD]Wolf Camp[/TD]
[TD]15000[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
you could use the full columns , then it wont matter when updated


=INDEX(RawFileName!$C:$C,MATCH(A2&B2,INDEX(RawFileName!$A:$A&RawFileName!$B:$B,0),0))

Not sure exactly what you want - New File NAme or Sheet name
If a seperate workbook file name is that going to be open at the time of updating ?
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

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