Multiple vlookup search criteria

Rickster7

New Member
Joined
Apr 11, 2015
Messages
13
I have two tabs and want to return a value in the first tab.

First tab - column A (Lname),B (Fname) and C (visit date) need to match to the second tab for the value.

On the second tab - column A (Lname, B (Fname) and F (Visit date) where K (charge amt) is the value i need returned to the first tab
in column L


Any ideas or suggestions would be most appreciated.

Thank you in advance!
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Try this entered as an array

=index(2ndtab!$K$1:$K$100,match(A1&B1,2ndTab!$A$1:$A$100&2ndTab!$B$1:$B$100,0))

If you need the date included then

=index(2ndtab!$K$1:$K$100,match(A1&B1&C1,2ndTab!$A$1:$A$100&2ndTab!$B$1:$B$100&2ndTab!$F$1:$F$100,0))
 
Last edited:
Upvote 0
[TABLE="width: 64"]
<colgroup><col width="64"></colgroup><tbody>[TR]
[TD="width: 64, align: center"]=INDEX('Managed care as of 07102015'!$H$2:$H$2507,MATCH(A2&B2&C2,'Managed care as of 07102015'!$A$2:$A$2507&'Managed care as of 07102015'!$B$2:$B$2507&'Managed care as of 07102015'!$C$2:$C$2507,0))

THis is how i did it. I deleted columns in the second tab to the date can be the same column in the second tab but realized it doesnt make the difference. Im not getting the returned value from H
[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
[TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: center"]=INDEX('Managed care as of 07102015'!$H$2:$H$2507,MATCH(A2&B2&C2,'Managed care as of 07102015'!$A$2:$A$2507&'Managed care as of 07102015'!$B$2:$B$2507&'Managed care as of 07102015'!$C$2:$C$2507,0))

THis is how i did it. I deleted columns in the second tab to the date can be the same column in the second tab but realized it doesnt make the difference. Im not getting the returned value from H[/TD]
[/TR]
</tbody>[/TABLE]

You said "where K (charge amt) is the value i need returned to the first tab"?

However, did you enter as an array with Ctrl, Shift & Enter? If you did you would see curly brackets either end {}.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,322
Members
452,635
Latest member
laura12345

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