array formulas slow down your file if you use the entire column. the easiest option is to convert your data into a Table. just click on cell A1, go INSERT tab -> Table. or CTRL + T.
when you redo your range, it becomes something along:
=IFERROR(INDEX(Table1[ID],SMALL(IF(Table1[Type]="Original",ROW(Table1[ID])),ROWS($I$2:I2))-ROW($E$2)+1),"")
i don't know if your scenario is exactly what you mentioned. in the eg, it seems you want everything EXCEPT "Original". that makes it easy. just find everything not equals to "Original".
=IFERROR(INDEX(Table1[ID],SMALL(IF(Table1[Type]<>"Original",ROW(Table1[ID])),ROWS($J$2:J2))-ROW($E$2)+1),"")
if you really need to label the 4 criteria, then:
Bookmarks