View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
PCLIVE PCLIVE is offline
external usenet poster
 
Posts: 1,311
Default Sum of values based on different criteria

Maybe this:

=SUMPRODUCT(--(A1:A5="terminated"),--(B1:B5="HB"),C1:C5)

HTH,
Paul

--

"Irene" wrote in message
...
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