Thread: Sumproduct
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
[email protected] bplumhoff@gmail.com is offline
external usenet poster
 
Posts: 136
Default Sumproduct

Hello,

You can enter as array formula:
=SUMPRODUCT(--(A2:A20=D22),--(A2:A20<=D23),IF(ISERROR(--B2:B20),0,--B2:B20))
(CTRL + SHIFT + ENTER)

HTH,
Bernd