Hello I have a workbook that has this formula in it, but I have no idea what this formula is doing.

Can someone explain to me what this formula does?

=IF(COUNTIF(SortGroup1,H3)>0,0,IF(OR(D3="Jackson, Mitchell",D3="Initz, Abigail"),-1,3))