Nevermind, I found my solution
=SUMPRODUCT(--ISNUMBER(SEARCH(B19&"-"&C19,Sheet1!A:A)),Sheet1!B:B,--ISNUMBER(SEARCH("SP",Sheet1!A:A)))
Just needed ISNUMBER() modifier...and the -- coersion