View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ergo ergo is offline
external usenet poster
 
Posts: 2
Default difference between logical AND and multiplication?

Hi,

please consider the following example:

a c 1
a d 2

Why is (as matrix formula)

=SUM(IF((A1:A2="a")*(B1:B2="d");C1:C2;0))

(which is 2) different from (as matrix formula)

=SUM(IF(AND(A1:A2="a";B1:B2="d");C1:C2;0))

(which is 0)? I would expect 2 in both cases.

Rregerds Olaf