Sumif for Date Range

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello-

Column A dates and Column C is what I want to sum. If the dates are between
1-1-07 and 1-31-07 I want to sum Column C. But I want to set up the formula
so I can change the month that is being summed easily. Here is my attempt to
do a sumif with a range:

=sumif(A:A,">=39141"&"<=39173",C:C)

It doesn't work, any help? Thanks!
 
TRY:

=SUMPRODUCT(--(MONTH(A1:A100)=1),C1:C100)

=SUMPRODUCT(--(MONTH(A1:A100)=X1),C1:C100)

1=Jan, 2=Feb etc

X1 contains 1, 2 etc

Ranges cannot be whole columns (except Excel 2007)
 

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

Similar Threads

Sumif formula 4
Sumif() with dates 10
SUMIFS with Dates 1
Filtering with SUMIFS 1
Nested IF / SUMIF statements 2
Sum up 2 or more columns under same SUMIF criteria 2
SUMIF and Named ranges 6
SUMIF by Week. 8

Back
Top