View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Don Guillett
 
Posts: n/a
Default multi column of sumif

this will work if nothing in col c or e
=SUMPRODUCT((A2:A22="special")*B2:F22)

--
Don Guillett
SalesAid Software

"birdsting" wrote in message
...

while I create a multi column sumif function as this:
=sumif(a:a,"special",or/and(b:b,d:d,f:f)), but it is unable to
function. So, I use the duplicate sumif function like this:
=sumif(a:a,"special",b:b)+sumif(a:a,"special",d:d) +sumif(a:a,"special",f:f).

Please tell me how to simplify it with thanks.


--
birdsting