Hi Hui, ignore my previous message, I have corrected it myself by changing the Rows number AS18 TO 30
=IFERROR(INDEX(INDEX(Datum,0,3),SMALL(IFERROR(IF(INDEX(Datum,0,2)=(1*$G$2),ROW($AS$1:$AS30),9999),9999),ROW(D1))),"")
Thanks for your help and time, You are brilliant at what you are doing.