I am not sure what the "Or" is doing here, but try this
=IF(OR($J74>0,$K$22="QS"),$J74,0)
Ilan