Sum of values based on different criteria

I

Irene

I have a column (lets say column A) that has a dropped down list of
'terminated' or 'completed' (let say from row 1 to row 5), and I have another
column (Column B) that I enter a code of 'HB' for home buying (there are
blank cells); then my last column (column C) has an amount. Now, I would
like to know how much is the total (sum) for the terminated and the total for
completed.

Any help will be appreciated.

Thanks
 
I

Irene

Thanks much, it helped. One more question, what about if I would like to
find out how many in column C is zero; how many terminated are zero and how
many who doesnt have a terminated or completed (blank in column A) has zero
amount in column C?
 
T

T. Valko

One more question
how many in column C is zero =COUNTIF(C1:C5,0)

how many terminated are zero =SUMPRODUCT(--(A1:A5=E1),--(ISNUMBER(C1:C5)),--(C1:C5=0)

how many who doesnt have a terminated
or completed (blank in column A) has zero
=SUMPRODUCT(--(A1:A5=""),--(ISNUMBER(C1:C5)),--(C1:C5=0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top