Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default SUMIF using two criteria to count

I would like to use a sumif function to count the values in column C if
Column A is a "Monkey" and Column B is "before 1/1/2009".

Thanks in advance


A B C
Dog 6/4/2007 0.456
Cat 5/4/2005 0.5454
Monkey 12/1/2007 0.33442
Monkey 12/1/2009 0.3344
Monkey 7/1/2009 0.9458

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default SUMIF using two criteria to count

=SUMPRODUCT(--(A1:A5="Monkey"),--(B1:B5<--"1/1/2009"),C1:C5)


"mokihi" wrote:

I would like to use a sumif function to count the values in column C if
Column A is a "Monkey" and Column B is "before 1/1/2009".

Thanks in advance


A B C
Dog 6/4/2007 0.456
Cat 5/4/2005 0.5454
Monkey 12/1/2007 0.33442
Monkey 12/1/2009 0.3344
Monkey 7/1/2009 0.9458

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default SUMIF using two criteria to count

=SUMPRODUCT(--(A1:A100="Monkey"),--(B1:B100<DATE(2009,1,1)),C1:C100)

If this post helps click Yes
---------------
Jacob Skaria


"mokihi" wrote:

I would like to use a sumif function to count the values in column C if
Column A is a "Monkey" and Column B is "before 1/1/2009".

Thanks in advance


A B C
Dog 6/4/2007 0.456
Cat 5/4/2005 0.5454
Monkey 12/1/2007 0.33442
Monkey 12/1/2009 0.3344
Monkey 7/1/2009 0.9458

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
Count how many criteria in a column match criteria in another colu Charles Stover Excel Discussion (Misc queries) 3 March 6th 09 08:39 PM
SUMIF criteria lkawecki Excel Worksheet Functions 4 August 5th 08 11:47 PM
Multiple Criteria, Count If, Sum Product to get count across range Jonathan Excel Worksheet Functions 5 January 9th 08 11:32 PM
Criteria in SUMIF Space Elf Excel Worksheet Functions 2 December 22nd 05 06:43 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM


All times are GMT +1. The time now is 02:45 AM.

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"