multi column of sumif

B

birdsting

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.
 
D

Don Guillett

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top