Index Match Array Function to extract data based on multiple criteria

MTS26

New Member
Joined
Oct 15, 2018
Messages
7
All,

I am attempting to extract a series (5000 cells) of data based on 3 criteria: Name, Date and either Time or Fz. Becuase for each set of actual Data (Time and Fz), there is a name and a date of the same person associated


Here is the index match array formula I am currently using but it returns the wrong values except for when I use the last name on the list. At the moment I am only trying to extract one cell to verify the formula.

'=INDEX(Sheet5!$D$2:$D$11,MATCH(1,($A$15=Sheet5!$A$2:$A$11)*(CMJ!$K$62=Sheet5!$B$2:$B$11)*(CMJ!$A$1=Sheet5!$C$2:$C$11)))

Here is an example of what the table looks like. Table set up is probably part of the issue, I may need a better unique identifier

[TABLE="width: 500"]
<tbody>[TR]
[TD]Matt
[/TD]
[TD]10/12/18[/TD]
[TD]Time[/TD]
[TD].028[/TD]
[/TR]
[TR]
[TD]Matt[/TD]
[TD]10/12/18[/TD]
[TD]Fz[/TD]
[TD]-24445[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Given this:


Book1
ABCD
2Matt10/12/2018Time0.028
3Matt10/12/2018Fz-24445
4Jon10/16/201825
5Dan10/16/2018Fz40
Sheet1


what is the output that you want?
 
Upvote 0
Given this:

ABCD
MattTime
MattFz
Jon
DanFz

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]2[/TD]

[TD="align: right"]10/12/2018[/TD]

[TD="align: right"]0.028[/TD]

[TD="align: center"]3[/TD]

[TD="align: right"]10/12/2018[/TD]

[TD="align: right"]-24445[/TD]

[TD="align: center"]4[/TD]

[TD="align: right"]10/16/2018[/TD]
[TD="align: right"][/TD]
[TD="align: right"]25[/TD]

[TD="align: center"]5[/TD]

[TD="align: right"]10/16/2018[/TD]

[TD="align: right"]40[/TD]

</tbody>
Sheet1

what is the output that you want?

I figured out the problem, I forgot to add a",0" following the last criteria. Thank you for the response
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,190
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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