Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default SUMIF WITH MULTIPLE CRITERIA

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default SUMIF WITH MULTIPLE CRITERIA


=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)


"franko" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 179
Default SUMIF WITH MULTIPLE CRITERIA

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

pls do rate

"franko" wrote:

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

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default SUMIF WITH MULTIPLE CRITERIA



Sumproduct..... Thanks guys that works perfectly.



"Bob Phillips" wrote:


=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)


"franko" wrote in message
...
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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumif with multiple criteria Farhad Excel Discussion (Misc queries) 6 December 3rd 06 03:56 AM
SUMIF - multiple criteria in different columns SUMIF Multiple Criteria in diff columns Excel Worksheet Functions 1 September 22nd 06 04:06 PM
SUMIF multiple criteria HLS Excel Discussion (Misc queries) 5 March 24th 06 03:43 PM
SUMIF with multiple criteria stacyjhaskins Excel Worksheet Functions 4 August 29th 05 08:22 PM
SUMIF in multiple columns based on other criteria in Excel? Scott Powell Excel Discussion (Misc queries) 9 April 13th 05 02:32 PM


All times are GMT +1. The time now is 09:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"