PC Review


Reply
Thread Tools Rate Thread

counting occasions dates occur between 2 dates

 
 
=?Utf-8?B?aG95dA==?=
Guest
Posts: n/a
 
      14th Jun 2006
i have a column which shows the date that a task is complete, what i want is
a formula to show how many times the task has beem completed in a week. for
example if the column had the date 12/6/6 three times and the date 15/6/6,
seven times then between 12/6/6 & 18/6/6 the task has been completed ten
times.

is this possible, any ideas?

thanks
 
Reply With Quote
 
 
 
 
Trevor Shuttleworth
Guest
Posts: n/a
 
      14th Jun 2006
Assuming your dates are in cells A1 to A1000:

=SUMPRODUCT((A1:A1000>=DATE(2006,6,6))*(A1:A1000<=DATE(2006,6,18)))

Regards

Trevor


"hoyt" <(E-Mail Removed)> wrote in message
news:AE9B662A-3E87-4A91-AB12-(E-Mail Removed)...
>i have a column which shows the date that a task is complete, what i want
>is
> a formula to show how many times the task has beem completed in a week.
> for
> example if the column had the date 12/6/6 three times and the date 15/6/6,
> seven times then between 12/6/6 & 18/6/6 the task has been completed ten
> times.
>
> is this possible, any ideas?
>
> thanks



 
Reply With Quote
 
=?Utf-8?B?aG95dA==?=
Guest
Posts: n/a
 
      15th Jun 2006
thanks Trevor
this works but it doesnt quite do what i need,assuming the dates are in
A1:A1000, i also have in Column B the week commencing dates from the start of
the contract which in this case is 5/6/06 then 12/6/06 then 19/6/06 and so
on, can your formula be made to work so as it will calculate how many times
the dates in A1:A1000 occur between the week commencing dates in Column B?

Sorry to be a pain

"Trevor Shuttleworth" wrote:

> Assuming your dates are in cells A1 to A1000:
>
> =SUMPRODUCT((A1:A1000>=DATE(2006,6,6))*(A1:A1000<=DATE(2006,6,18)))
>
> Regards
>
> Trevor
>
>
> "hoyt" <(E-Mail Removed)> wrote in message
> news:AE9B662A-3E87-4A91-AB12-(E-Mail Removed)...
> >i have a column which shows the date that a task is complete, what i want
> >is
> > a formula to show how many times the task has beem completed in a week.
> > for
> > example if the column had the date 12/6/6 three times and the date 15/6/6,
> > seven times then between 12/6/6 & 18/6/6 the task has been completed ten
> > times.
> >
> > is this possible, any ideas?
> >
> > thanks

>
>
>

 
Reply With Quote
 
=?Utf-8?B?aG95dA==?=
Guest
Posts: n/a
 
      15th Jun 2006
thanks for the help Trevor i think ive done it the way i wanted by altering
your formula a little to:
=SUMPRODUCT((C4:C254>=VALUE(B7))*(C4:C254<=VALUE(B8)))

"Trevor Shuttleworth" wrote:

> Assuming your dates are in cells A1 to A1000:
>
> =SUMPRODUCT((A1:A1000>=DATE(2006,6,6))*(A1:A1000<=DATE(2006,6,18)))
>
> Regards
>
> Trevor
>
>
> "hoyt" <(E-Mail Removed)> wrote in message
> news:AE9B662A-3E87-4A91-AB12-(E-Mail Removed)...
> >i have a column which shows the date that a task is complete, what i want
> >is
> > a formula to show how many times the task has beem completed in a week.
> > for
> > example if the column had the date 12/6/6 three times and the date 15/6/6,
> > seven times then between 12/6/6 & 18/6/6 the task has been completed ten
> > times.
> >
> > is this possible, any ideas?
> >
> > thanks

>
>
>

 
Reply With Quote
 
Trevor Shuttleworth
Guest
Posts: n/a
 
      15th Jun 2006
Or, you could get away with:

=SUMPRODUCT((C4:C254>=B7)*(C4:C254<=B8))

Regards

Trevor


"hoyt" <(E-Mail Removed)> wrote in message
news:AC1A4E76-F6CE-4B7D-ACA2-(E-Mail Removed)...
> thanks for the help Trevor i think ive done it the way i wanted by
> altering
> your formula a little to:
> =SUMPRODUCT((C4:C254>=VALUE(B7))*(C4:C254<=VALUE(B8)))
>
> "Trevor Shuttleworth" wrote:
>
>> Assuming your dates are in cells A1 to A1000:
>>
>> =SUMPRODUCT((A1:A1000>=DATE(2006,6,6))*(A1:A1000<=DATE(2006,6,18)))
>>
>> Regards
>>
>> Trevor
>>
>>
>> "hoyt" <(E-Mail Removed)> wrote in message
>> news:AE9B662A-3E87-4A91-AB12-(E-Mail Removed)...
>> >i have a column which shows the date that a task is complete, what i
>> >want
>> >is
>> > a formula to show how many times the task has beem completed in a week.
>> > for
>> > example if the column had the date 12/6/6 three times and the date
>> > 15/6/6,
>> > seven times then between 12/6/6 & 18/6/6 the task has been completed
>> > ten
>> > times.
>> >
>> > is this possible, any ideas?
>> >
>> > thanks

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?aG95dA==?=
Guest
Posts: n/a
 
      16th Jun 2006
thanks Trevor


"Trevor Shuttleworth" wrote:

> Or, you could get away with:
>
> =SUMPRODUCT((C4:C254>=B7)*(C4:C254<=B8))
>
> Regards
>
> Trevor
>
>
> "hoyt" <(E-Mail Removed)> wrote in message
> news:AC1A4E76-F6CE-4B7D-ACA2-(E-Mail Removed)...
> > thanks for the help Trevor i think ive done it the way i wanted by
> > altering
> > your formula a little to:
> > =SUMPRODUCT((C4:C254>=VALUE(B7))*(C4:C254<=VALUE(B8)))
> >
> > "Trevor Shuttleworth" wrote:
> >
> >> Assuming your dates are in cells A1 to A1000:
> >>
> >> =SUMPRODUCT((A1:A1000>=DATE(2006,6,6))*(A1:A1000<=DATE(2006,6,18)))
> >>
> >> Regards
> >>
> >> Trevor
> >>
> >>
> >> "hoyt" <(E-Mail Removed)> wrote in message
> >> news:AE9B662A-3E87-4A91-AB12-(E-Mail Removed)...
> >> >i have a column which shows the date that a task is complete, what i
> >> >want
> >> >is
> >> > a formula to show how many times the task has beem completed in a week.
> >> > for
> >> > example if the column had the date 12/6/6 three times and the date
> >> > 15/6/6,
> >> > seven times then between 12/6/6 & 18/6/6 the task has been completed
> >> > ten
> >> > times.
> >> >
> >> > is this possible, any ideas?
> >> >
> >> > thanks
> >>
> >>
> >>

>
>
>

 
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
Counting number of dates that occur within a week - per market Thomas Microsoft Excel Discussion 4 27th Mar 2009 09:30 AM
Counting dates between 2 dates (No weekends) Sandra Microsoft Access Queries 5 28th Feb 2008 09:19 PM
Counting dates, within a list of dates =?Utf-8?B?anJoZWluc2NobQ==?= Microsoft Excel Worksheet Functions 7 19th Apr 2006 06:13 PM
Excel: counting cells which have dates between specified dates Jacqueline Microsoft Excel Misc 2 11th Aug 2004 12:15 PM
Format Dates to show quarter they occur in DanP Microsoft Excel Misc 1 28th Aug 2003 09:45 PM


Features
 

Advertising
 

Newsgroups
 


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