I am using this code to referance a list of values:

=IF(INDEX(Sheet1!C5:C24,MIN(IF(ISERROR(MATCH({"Break","Lunch","whatever"},Sheet1!D5:D24,0)),"",MATCH({"Break","Lunch","whatever"},Sheet1!D5:D24,0))))=0,"",INDEX(Sheet1!C5:C24,MIN(IF(ISERROR(MATCH({"Break","Lunch","whatever"},Sheet1!D5:D24,0)),"",MATCH({"Break","Lunch","whatever"},Sheet1!D5:D24,0)))))

Code works great but I need to use it repeatedly. Is there a way to get it to skip the value the previous ones found?

So if the fisrt one found "Break" then the second one will ignore that and only look for the others. It needs to go by what the first one found too. So if the first one found "Lunch" then the second will still try to find "Break" and only ignore "Lunch".