PC Review


Reply
Thread Tools Rate Thread

Configuring Dates

 
 
Neil_Pattison
Guest
Posts: n/a
 
      11th May 2006

I have a problem where I need to be able to calculate when a date fall
into a certain week.

For example I have a spreadsheet that covers the certain projects tha
we are carrying out on which I enter start dates and end dates for th
work, and I need to be able to calculate how many jobs were bein
carried out on a specific week.

I have set up a simple list on a seperate worksheet showing a colum
each for the week number, start date and end date i.e. Week One star
date is 2nd Jan 2006 and end date is 8th Jan 2006; Week Two start dat
is 9th jan 2006 and end date is 15 Jan 2006

I want to be able to choose a week number and be shown how many job
were being carried out that week i.e. Week 18 would show any jobs tha
were being carried out between 1st May 2006 and 7th May 2006

Any help would be greatly appreciate

--
Neil_Pattiso
-----------------------------------------------------------------------
Neil_Pattison's Profile: http://www.excelforum.com/member.php...fo&userid=2769
View this thread: http://www.excelforum.com/showthread.php?threadid=54097

 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      11th May 2006
Here is an example

=SUMPRODUCT(--(ISNUMBER(A2:A20)),--(INT((A2:A20-"2006-01-02")/7)+1<=week_num
),--(ISNUMBER(B2:B20)),--(INT((B2:B20-"2006-01-02")/7)+1>=week_num))

week_num is a named cell where you would store say 18, and the date in the
formula is the day 1 of week 1.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"Neil_Pattison" <(E-Mail Removed)>
wrote in message
news:(E-Mail Removed)...
>
> I have a problem where I need to be able to calculate when a date falls
> into a certain week.
>
> For example I have a spreadsheet that covers the certain projects that
> we are carrying out on which I enter start dates and end dates for the
> work, and I need to be able to calculate how many jobs were being
> carried out on a specific week.
>
> I have set up a simple list on a seperate worksheet showing a column
> each for the week number, start date and end date i.e. Week One start
> date is 2nd Jan 2006 and end date is 8th Jan 2006; Week Two start date
> is 9th jan 2006 and end date is 15 Jan 2006
>
> I want to be able to choose a week number and be shown how many jobs
> were being carried out that week i.e. Week 18 would show any jobs that
> were being carried out between 1st May 2006 and 7th May 2006
>
> Any help would be greatly appreciated
>
>
> --
> Neil_Pattison
> ------------------------------------------------------------------------
> Neil_Pattison's Profile:

http://www.excelforum.com/member.php...o&userid=27696
> View this thread: http://www.excelforum.com/showthread...hreadid=540970
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy/Paste 2009 dates into Tbale and they Show as 2008 Dates ryguy7272 Microsoft Access 1 13th Nov 2008 02:13 AM
How to group dates in pivot tables by weeksn ot single dates? =?Utf-8?B?UmV5bmFsZG8=?= Microsoft Access Getting Started 1 11th Aug 2006 02:06 PM
Automating consecutive dates matching dates of the week in columns JER Microsoft Excel Misc 4 10th Jul 2004 01:16 PM
Calculating dates - Need to calculate years and months between source dates. jmw748 Microsoft Access Queries 2 7th Jan 2004 12:31 PM
Showing data between two dates in multiple subreports by enter two dates Martijn Microsoft Access Reports 0 26th Sep 2003 10:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:48 AM.