Per i totali puoi fare così

=SOMMA.SE(C1:C12;"<>#N/D")