View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Alex Mackenzie Alex Mackenzie is offline
external usenet poster
 
Posts: 14
Default Help with SUMPRODUCT

I admit I do not fully understand SUMPRODUCT; I am trying to follow the
variious samples I have found.

Data:

Whs Reasons Returns
1 1 2
10 DF 1
1 2 1

I want to sum the number of Returns when Whs=1 and Reasons=1, where Whs,
Reasons and Returns are all named ranges.

I have "=SUMPRODUCT((Whs=1)*AND(Reasons=1)*(Returns)) but the result is 0
rahter than 2.

Any help would be greatly appreciated.

Thank you.