sumif with multiple conditions

R

Ray

I have three columns: a, b & c and need sum the figures on c if a = week1
and b = empty. Can someone suggest a formula to resolve this issue.

Thanks,

Ray
 
K

KL

=SUMPRODUCT(--(A1:A100="week1"),--(B1:B100=""),C1:C100)

or a little slower:

=SUMPRODUCT((A1:A100="week1")*(B1:B100="")*C1:C100)

Regards,
KL
 
R

Ray

KL,

Thanks for your useful suggestion. Is it possible to apply to countif
function as well?

Thanks,

Ray
 
K

KL

Ray,

I guess Bob and Domenic have answered your question ;-) It is workable.

Regards,
KL
 
Top