Could it be your saying if column M or column N equal J28 then sum column C...

If so...

=SUMIFS($C$33:$C$48,$M$33:$M$48,J28,$N$33:$N$48,J28)