Hi,
I was using an Index Match Array formula to get multiple results according to one criteria.
In this formula, I am able to get the list of names for location "XX". That is A, D, E.
{=INDEX($A$2:$A$6,SMALL(IF(ISNUMBER(MATCH($D$2:$D$6,Location,0)),MATCH(ROW($D$2:$D$6),ROW($D$2:$D$6)),""),ROWS($E$1:E1)))}
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Age[/TD]
[TD]Qualification[/TD]
[TD]Location[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]21[/TD]
[TD]AAA[/TD]
[TD]XX[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]21[/TD]
[TD]AAA[/TD]
[TD]YY[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]25[/TD]
[TD]BBB[/TD]
[TD]ZZ[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]21[/TD]
[TD]AAA[/TD]
[TD]XX[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]20[/TD]
[TD]BBB[/TD]
[TD]XX[/TD]
[/TR]
</tbody>[/TABLE]
Now, I have come across a scenario where I need to use two criteria. That is, Qualification and Location.
For example, I need the Names where the qualification is "AAA" and location is "XX".
Can someone help me in modifying the formula to get the above result.
Thanks in advance
Regards
Deepak
I was using an Index Match Array formula to get multiple results according to one criteria.
In this formula, I am able to get the list of names for location "XX". That is A, D, E.
{=INDEX($A$2:$A$6,SMALL(IF(ISNUMBER(MATCH($D$2:$D$6,Location,0)),MATCH(ROW($D$2:$D$6),ROW($D$2:$D$6)),""),ROWS($E$1:E1)))}
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Age[/TD]
[TD]Qualification[/TD]
[TD]Location[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]21[/TD]
[TD]AAA[/TD]
[TD]XX[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]21[/TD]
[TD]AAA[/TD]
[TD]YY[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]25[/TD]
[TD]BBB[/TD]
[TD]ZZ[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]21[/TD]
[TD]AAA[/TD]
[TD]XX[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]20[/TD]
[TD]BBB[/TD]
[TD]XX[/TD]
[/TR]
</tbody>[/TABLE]
Now, I have come across a scenario where I need to use two criteria. That is, Qualification and Location.
For example, I need the Names where the qualification is "AAA" and location is "XX".
Can someone help me in modifying the formula to get the above result.
Thanks in advance
Regards
Deepak