Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default How to apply date range criteria

I have this formula that works.
=SUMPRODUCT(--(Completed!E1:E4941="OTHER"),--(Completed!H1:H4941="COMPLETE"),(Completed!G1:G494 1))
It goes through three columns and looks for the specified criteria and
retunrs the total number of days for COMPLETE project labeled as OTHER. That
is fine but what I need to do now if get this result for a specific date
range like from 07/01/2008 to 06/01/2009. I have tried a few different ways
of doing this but all it does is return a value of 0. Can anyone help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default How to apply date range criteria

Just keep adding your criteria:

=SUMPRODUCT(--(Completed!E1:E4941="OTHER"),
--(Completed!H1:H4941="COMPLETE"),
--(Completed!x1:x4941=date(2008,7,1)),
--(Completed!x1:x4941<date(2009,6,1)),
(Completed!G1:G4941))

I used column X as the date column and included July 1, 2008, but excluded June
1, 2009.



Nina wrote:

I have this formula that works.
=SUMPRODUCT(--(Completed!E1:E4941="OTHER"),--(Completed!H1:H4941="COMPLETE"),(Completed!G1:G494 1))
It goes through three columns and looks for the specified criteria and
retunrs the total number of days for COMPLETE project labeled as OTHER. That
is fine but what I need to do now if get this result for a specific date
range like from 07/01/2008 to 06/01/2009. I have tried a few different ways
of doing this but all it does is return a value of 0. Can anyone help!


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default How to apply date range criteria

Thanks that worked! I knew it was something simple.

"Dave Peterson" wrote:

Just keep adding your criteria:

=SUMPRODUCT(--(Completed!E1:E4941="OTHER"),
--(Completed!H1:H4941="COMPLETE"),
--(Completed!x1:x4941=date(2008,7,1)),
--(Completed!x1:x4941<date(2009,6,1)),
(Completed!G1:G4941))

I used column X as the date column and included July 1, 2008, but excluded June
1, 2009.



Nina wrote:

I have this formula that works.
=SUMPRODUCT(--(Completed!E1:E4941="OTHER"),--(Completed!H1:H4941="COMPLETE"),(Completed!G1:G494 1))
It goes through three columns and looks for the specified criteria and
retunrs the total number of days for COMPLETE project labeled as OTHER. That
is fine but what I need to do now if get this result for a specific date
range like from 07/01/2008 to 06/01/2009. I have tried a few different ways
of doing this but all it does is return a value of 0. Can anyone help!


--

Dave Peterson

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
Countif with date range criteria luisi Excel Worksheet Functions 5 March 28th 08 05:19 PM
Sum within a date range meeting one other criteria [email protected] Excel Worksheet Functions 3 January 28th 07 04:53 AM
How do I put a date range in the criteria of a countif formula? hlpmelrn Excel Discussion (Misc queries) 3 November 23rd 06 03:12 AM
date criteria to select range Kstalker Excel Worksheet Functions 30 August 23rd 05 07:19 AM
use a date range as criteria in a countif formula mbparks Excel Worksheet Functions 3 January 2nd 05 11:06 PM


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