Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
hoyt
 
Posts: n/a
Default counting occasions dates occur between 2 dates

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
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Trevor Shuttleworth
 
Posts: n/a
Default counting occasions dates occur between 2 dates

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" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.newusers
hoyt
 
Posts: n/a
Default counting occasions dates occur between 2 dates

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" wrote in message
...
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




  #4   Report Post  
Posted to microsoft.public.excel.newusers
hoyt
 
Posts: n/a
Default counting occasions dates occur between 2 dates

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(B 8)))

"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" wrote in message
...
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




  #5   Report Post  
Posted to microsoft.public.excel.newusers
Trevor Shuttleworth
 
Posts: n/a
Default counting occasions dates occur between 2 dates

Or, you could get away with:

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

Regards

Trevor


"hoyt" wrote in message
...
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(B 8)))

"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" wrote in message
...
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








  #6   Report Post  
Posted to microsoft.public.excel.newusers
hoyt
 
Posts: n/a
Default counting occasions dates occur between 2 dates

thanks Trevor


"Trevor Shuttleworth" wrote:

Or, you could get away with:

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

Regards

Trevor


"hoyt" wrote in message
...
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(B 8)))

"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" wrote in message
...
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
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
Counting non-repeating dates SouthCarolina Excel Discussion (Misc queries) 8 May 23rd 06 07:50 AM
Counting Dates PH NEWS Excel Worksheet Functions 2 February 21st 06 04:07 PM
Counting dates for a the present month but not future months BrianInCalifornia Excel Worksheet Functions 3 December 7th 05 02:00 AM
Counting individual dates Robin Excel Discussion (Misc queries) 5 June 15th 05 07:02 PM
counting entries between two dates? Todd Excel Worksheet Functions 7 November 1st 04 11:07 PM


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

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"