PC Review


Reply
Thread Tools Rate Thread

How to count dates within a certain range in a column with mutiple date range entries

 
 
Krisjhn
Guest
Posts: n/a
 
      31st Aug 2005

On my speedsheet I have two worksheets A and B

WORKSHEET

Column J2:J528 entitled -1st RCVD Date-

In this column I will have a variety of dates spanning over thre
diffferent months

WORKSHEET

Column N21 titled -# of Persons-
Column L22:L29 is Titled Weeks - Each row is broken down by wee
L22/8/17/05, L23 8/24/05. L24 8/31/05, etc to L29 10/5/05

What I am looking for is a count of number of persons by week r1s
received.

So for example if in Worksheet B in cell J2 I have a date that lie
between 8/17/05 and 8/23/05 a 1 would show up on Workseet A in #o
persons in the row for that corresponding week. Say the next week
have 6 entires of dates that land in that next week then the number
would show up on worksheet A on the row for 8/24/05. And so on.

So the question is how do I add up dates within a certain range in th
same column and then break that down by week to be reported on
different worksheet by week.

Thanks for your help.

Krisjh

--
Krisjh
-----------------------------------------------------------------------
Krisjhn's Profile: http://www.excelforum.com/member.php...fo&userid=2679
View this thread: http://www.excelforum.com/showthread.php?threadid=40092

 
Reply With Quote
 
 
 
 
Biff
Guest
Posts: n/a
 
      31st Aug 2005
Hi!

Try this formula in N22:

=SUMPRODUCT(--(Sheet2!J$2:J$528>=L22),--(Sheet2!J$2:J$528<=L22+6))

Copy down to N29.

This assumes that you are using true dates and not just text strings that
look like dates.

Biff

"Krisjhn" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
>
> On my speedsheet I have two worksheets A and B
>
> WORKSHEET B
>
> Column J2:J528 entitled -1st RCVD Date-
>
> In this column I will have a variety of dates spanning over three
> diffferent months
>
> WORKSHEET A
>
> Column N21 titled -# of Persons-
> Column L22:L29 is Titled Weeks - Each row is broken down by week
> L22/8/17/05, L23 8/24/05. L24 8/31/05, etc to L29 10/5/05
>
> What I am looking for is a count of number of persons by week r1st
> received.
>
> So for example if in Worksheet B in cell J2 I have a date that lies
> between 8/17/05 and 8/23/05 a 1 would show up on Workseet A in #of
> persons in the row for that corresponding week. Say the next week I
> have 6 entires of dates that land in that next week then the number 6
> would show up on worksheet A on the row for 8/24/05. And so on.
>
> So the question is how do I add up dates within a certain range in the
> same column and then break that down by week to be reported on a
> different worksheet by week.
>
> Thanks for your help.
>
> Krisjhn
>
>
> --
> Krisjhn
> ------------------------------------------------------------------------
> Krisjhn's Profile:
> http://www.excelforum.com/member.php...o&userid=26796
> View this thread: http://www.excelforum.com/showthread...hreadid=400925
>



 
Reply With Quote
 
Krisjhn
Guest
Posts: n/a
 
      1st Sep 2005

Thanks Biff. Worked like a charm.


--
Krisjhn
------------------------------------------------------------------------
Krisjhn's Profile: http://www.excelforum.com/member.php...o&userid=26796
View this thread: http://www.excelforum.com/showthread...hreadid=400925

 
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
Divide a a range of dates into intervals starting with the current date or the latest date in the range of dates Daryl Microsoft Access Queries 2 8th Jan 2010 05:27 PM
How do I count a range of dates in a column? GBC Microsoft Excel Worksheet Functions 6 24th Feb 2009 07:10 PM
count date occurances in range of dates... =?Utf-8?B?QWxleA==?= Microsoft Excel Worksheet Functions 2 27th Jul 2005 04:15 PM
Count Number of Dates in Date Range xtreme Microsoft Excel Worksheet Functions 8 20th Jul 2004 04:20 AM
Count the dates in a specified range of data (column). Faraj Microsoft Excel Misc 1 7th Oct 2003 01:49 PM


Features
 

Advertising
 

Newsgroups
 


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