View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom Peo Sjoblom is offline
external usenet poster
 
Posts: 3,268
Default SumIf and CountIf Multiple Criteria

One possible way

=SUMPRODUCT((B11:B1143<"PTA")*(U11:V1143=0)*(U11 :V1143<"")*(U11:V1143))/MAX(1,SUMPRODUCT((B11:B1143<"PTA")*(U11:V1143=0) *(U11:V1143<"")))


--


Regards,


Peo Sjoblom



"Rose" wrote in message
...
Help Please! I need to learn how to get the average of two columns
excluding
certain types which are in a third column. Column U is Survey Score
column V
is Additional Survey Score but I need to exclude the type of "PTA" survey
scores which are in column B.

The current formula we use just to get the average is of the two columns
is:
=SUMIF(U11:V1143,"=0")/MAX(1,COUNTIF(U11:V1143,"=0"))

What do I need to add to the formula to exclude the "PTA" scores, the
score
types are in column B. Or do I need to use a totally different formula to
achieve this?

Best Regards,
Rose