Index match with multiple criteria

Mal4131

New Member
Joined
Oct 13, 2016
Messages
16
Hey All- I believe I am looking for a simple index match function based on two criteria, but I must be missing something basic (typically rely on vlookups). I want to return the ticket number for a specific NPI that the Patient Services team is working on. The intent is to combine this weekly report into a master file, with other weekly reports received. Unfortunately, I keep receiving an error message. Any help would be greatly appreciated. ('New Master'!A4=NPI in the master file).

=INDEX('New IS- Open'!B3:B7,MATCH('New Master'!A4,'New IS- Open'!A3:A7,0),MATCH({"Patient Services"},'New IS- Open'!E3:E7,0))

ABCDE
NPITicket #StateDate OpenedAssignment Group
12345SCTASK0300001In Progress10/12/2018Epic Scheduling Cadence
12345SCTASK0300002In Progress10/11/2018Epic Ambulatory
12345SCTASK0300003Closed10/11/2018Epic SER
12345SCTASK0300004In Progress10/11/2018Patient Services
67890SCTASK0300005Closed11/10/2018Epic Scheduling Cadence
67890SCTASK0300006Closed11/10/2018Epic Ambulatory
67890SCTASK0300007In Progress11/9/2018Patient Services

<tbody>
</tbody>
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

gaz_chops

Well-known Member
Joined
Apr 29, 2003
Messages
6,468
Platform
  1. MacOS
Try

=INDEX('New IS- Open'!B3:B7,MATCH('New Master'!A4&"Patient Services",'New IS- Open'!A3:A7&'New IS- Open'!E3:E7,0))

Enter as an array, Ctrl Shift & Enter
 

James006

Well-known Member
Joined
Apr 4, 2009
Messages
3,680
Hi,

With your data in cells A1 to E8 ...

say you have 12345 in cell G1 and Patient Services in cell H1 ...

then you can have the following Array Formula ... for example in cell I1

Code:
=INDEX($B$2:$B$8,MATCH(G1&H1,$A$2:$A$8&$E$2:$E$8,0))

Hope this will help
 

Watch MrExcel Video

Forum statistics

Threads
1,129,430
Messages
5,636,232
Members
416,909
Latest member
hayleyg123

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
Top