SUMIF WITH MULTIPLE CRITERIA

G

Guest

Can anyone help??

I am trying to get sales data for each month from a worksheet and total it.

e.g I have ColumnA=Month, ColumnB=Transaction type, ColumnC= Amount

What i am trying to do is sum the values of column C but only if column A=
"JANUARY" ...... but ..... i also do not want the total if Column B =
"invoice", regardless of it being in Jan

i.e. the totals for jan and not invoice.

Any ideas on how to expand the criteria cus it seems beyond me!!

So far i have:

=SUMIF(Worksheet!$A$6:$A$1000,"JANUARY",Worksheet!$C$6:$C$1000)

I hope it is possible and thanks for trying
 
B

Bob Phillips

=SUMPRODUCT(--(Worksheet!$A$6:$A$1000="JANUARY"),--(Worksheet!$B$6:$B$1000<>"Invoice"),Worksheet!$C$6:$C$1000)

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)
 
G

Guest

Try this one
=SUMPRODUCT((A2:A100="JANUARY")*(B2:B100<>"invoice"),C2:C100)

pls do rate
 

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