#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default sumif

I imported a set of activities from Project that I use for a Milestone Chart.
I want to use SumIf to total a separate column of data for a particular
month. For instance, I want to sum up data for only October 2007. I can't get
the formula correct using and < in the SUmIF criteria. This is what I have
that isn't working:

=SUMIF(E:E,"10/1/2007 5:00:00 PM and <10/31/2007 5:00:00 PM",G:G)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default sumif

=SUMPRODUCT(--(MONTH(E1:E5000)=10),G1:G5000)

note that you cannot use the whole column using this formula unless you have
excel 2007 so you can't use E:E or G:G you need to specify the range


If you want to do this for a lot of different months you might want to
change it to

=SUMPRODUCT(--(MONTH(E1:E5000)=10),--ISNUMBER(E1:E5000),G1:G5000)

then just change the 10 to whatever index number of the month you want to
use


--


Regards,


Peo Sjoblom



"I2Golf" wrote in message
...
I imported a set of activities from Project that I use for a Milestone
Chart.
I want to use SumIf to total a separate column of data for a particular
month. For instance, I want to sum up data for only October 2007. I can't
get
the formula correct using and < in the SUmIF criteria. This is what I
have
that isn't working:

=SUMIF(E:E,"10/1/2007 5:00:00 PM and <10/31/2007 5:00:00 PM",G:G)



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 for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
Help on SUMIF timotee New Users to Excel 3 January 29th 06 06:49 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 09:55 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"