Thread: Help
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Elkar Elkar is offline
external usenet poster
 
Posts: 964
Default Help

Try this:

=SUMPRODUCT(--(Time!B2:B20="F-10 CWE"),--(Time!C2:C20="L-02
SICK"),(Time!L2:L20))

HTH,
Elkar

"Fnipp" wrote:

This function adds everything in the column L2:L20. I only want to add if
the both conditions are met and if not then do not add the amount.

=SUM(IF(Time!B2:B20="F-10 CWE",IF(Time!C2:C20="L-02 SICK",Time!L2:L20)))

thanks,