Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default function to count project overlap


i have the below function which looks for the start and end date of a
project, if it occurs within the dates provided, count it as 1.
although, if 2 projects with the same exist and overlap, eg 2 projects
called 'project1' exist in january 2006, it needs to see this and show
2. for each project it needs to increment of 1 if the project names are
the same.


Code:
--------------------
=IF(ISNA(MATCH($A4,'project list'!$A$3:$A$6,0)),0,SUMPRODUCT(--('project list'!$A$3:$A$6=Sheet1!$A4),--(C$2='project list'!$B$3:$B$6),--(C$2<='project list'!$C$3:$C$6)))
--------------------


expected results a
project list |31/12/04 |28/01/05 |25/02/05 |01/04/05
project1 |1 |1 |1 |1
project2 |0 |0 |2 |2
project3 |1 |1 |0 |0
project4 |0 |0 |0 |0


project 2 is under 25/2/05 because both projects are in progress before
1/4/05, so as they are in progress before this date, they need to be
counted. i know one of the project2's begins after 27.3.05, but it
still exists between 25/2//05 and 1/4/05.

can anyone help? im stuck, thanks

Jay


--
jay d
------------------------------------------------------------------------
jay d's Profile: http://www.excelforum.com/member.php...o&userid=34487
View this thread: http://www.excelforum.com/showthread...hreadid=568296

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 function applied to a time period MIchel Khennafi Excel Worksheet Functions 1 April 10th 06 03:31 PM
Count Function Help Josh O. Excel Worksheet Functions 4 July 29th 05 11:04 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM


All times are GMT +1. The time now is 11:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"