ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMIF using two criteria to count (https://www.excelbanter.com/excel-worksheet-functions/231500-sumif-using-two-criteria-count.html)

mokihi

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


Teethless mama

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


Jacob Skaria

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



All times are GMT +1. The time now is 08:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com