Good Afternoon,
I am needing a little help with a formula. What my goal is to have values reported back in a table below. The formula I have listed below works but currently, there is only one Criteria. The first criteria is Look up 8528529 in Column H and then report back the students SEIS ID #. But what I am now trying to accomplish is that only students in School type 70, 71, or 72 be reported back not school type 56. Any help that can be provided would be greatly appreciated.
{=IF(ISERROR(INDEX($H$1:$L$26,SMALL(IF($H$1:$H$26=$O$1,ROW($H$1:$H$26)),ROW(2:2)),5)),"",INDEX($H$1:$L$26,SMALL(IF($H$1:$H$26=$O$1,ROW($H$1:$H$26)),ROW(2:2)),5))}
Columns
H I J K L N O
[TABLE="width: 783"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]CDS Code [/TD]
[TD]School Type[/TD]
[TD]Last Name[/TD]
[TD]First Name[/TD]
[TD]SEIS ID[/TD]
[TD][/TD]
[TD]Look up[/TD]
[TD]8528529[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8528529[/TD]
[TD]56[/TD]
[TD]Ramirez[/TD]
[TD]Anna[/TD]
[TD]8579645[/TD]
[TD][/TD]
[TD]Lookup[/TD]
[TD]>=70[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1258796[/TD]
[TD]56[/TD]
[TD]Hall[/TD]
[TD]Maurice[/TD]
[TD]582694[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1485796[/TD]
[TD]70[/TD]
[TD]Hewett[/TD]
[TD]CeDoshi[/TD]
[TD]1115628[/TD]
[TD][/TD]
[TD]Matches[/TD]
[TD]SEIS ID[/TD]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]School Type[/TD]
[/TR]
[TR]
[TD]8528529[/TD]
[TD]70[/TD]
[TD]Hall[/TD]
[TD]Maya[/TD]
[TD]459687[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]8526974[/TD]
[TD]70[/TD]
[TD]Smith[/TD]
[TD]Aaron Jaden[/TD]
[TD]156328[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]8528529[/TD]
[TD]70[/TD]
[TD]Yetman[/TD]
[TD]Hannah[/TD]
[TD]2509684[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1587489[/TD]
[TD]70[/TD]
[TD]Coleman[/TD]
[TD]Gloria[/TD]
[TD]5566985[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]8528529[/TD]
[TD]71[/TD]
[TD]Mercado[/TD]
[TD]Haylee[/TD]
[TD]1598632[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]5569823[/TD]
[TD]71[/TD]
[TD]Kendall[/TD]
[TD]Marleny[/TD]
[TD]2587032[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]4582679[/TD]
[TD]72[/TD]
[TD]Troy[/TD]
[TD]bella[/TD]
[TD]3206584[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]8528529[/TD]
[TD]72[/TD]
[TD]Hall[/TD]
[TD]Shyanne[/TD]
[TD]2596842[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1158964[/TD]
[TD]72[/TD]
[TD]Ramirez[/TD]
[TD]Ariane[/TD]
[TD]2514895[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
I am needing a little help with a formula. What my goal is to have values reported back in a table below. The formula I have listed below works but currently, there is only one Criteria. The first criteria is Look up 8528529 in Column H and then report back the students SEIS ID #. But what I am now trying to accomplish is that only students in School type 70, 71, or 72 be reported back not school type 56. Any help that can be provided would be greatly appreciated.
{=IF(ISERROR(INDEX($H$1:$L$26,SMALL(IF($H$1:$H$26=$O$1,ROW($H$1:$H$26)),ROW(2:2)),5)),"",INDEX($H$1:$L$26,SMALL(IF($H$1:$H$26=$O$1,ROW($H$1:$H$26)),ROW(2:2)),5))}
Columns
H I J K L N O
[TABLE="width: 783"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]CDS Code [/TD]
[TD]School Type[/TD]
[TD]Last Name[/TD]
[TD]First Name[/TD]
[TD]SEIS ID[/TD]
[TD][/TD]
[TD]Look up[/TD]
[TD]8528529[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8528529[/TD]
[TD]56[/TD]
[TD]Ramirez[/TD]
[TD]Anna[/TD]
[TD]8579645[/TD]
[TD][/TD]
[TD]Lookup[/TD]
[TD]>=70[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1258796[/TD]
[TD]56[/TD]
[TD]Hall[/TD]
[TD]Maurice[/TD]
[TD]582694[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1485796[/TD]
[TD]70[/TD]
[TD]Hewett[/TD]
[TD]CeDoshi[/TD]
[TD]1115628[/TD]
[TD][/TD]
[TD]Matches[/TD]
[TD]SEIS ID[/TD]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]School Type[/TD]
[/TR]
[TR]
[TD]8528529[/TD]
[TD]70[/TD]
[TD]Hall[/TD]
[TD]Maya[/TD]
[TD]459687[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]8526974[/TD]
[TD]70[/TD]
[TD]Smith[/TD]
[TD]Aaron Jaden[/TD]
[TD]156328[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]8528529[/TD]
[TD]70[/TD]
[TD]Yetman[/TD]
[TD]Hannah[/TD]
[TD]2509684[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1587489[/TD]
[TD]70[/TD]
[TD]Coleman[/TD]
[TD]Gloria[/TD]
[TD]5566985[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]8528529[/TD]
[TD]71[/TD]
[TD]Mercado[/TD]
[TD]Haylee[/TD]
[TD]1598632[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]5569823[/TD]
[TD]71[/TD]
[TD]Kendall[/TD]
[TD]Marleny[/TD]
[TD]2587032[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]4582679[/TD]
[TD]72[/TD]
[TD]Troy[/TD]
[TD]bella[/TD]
[TD]3206584[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]8528529[/TD]
[TD]72[/TD]
[TD]Hall[/TD]
[TD]Shyanne[/TD]
[TD]2596842[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1158964[/TD]
[TD]72[/TD]
[TD]Ramirez[/TD]
[TD]Ariane[/TD]
[TD]2514895[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]