+ Reply to Thread
Results 1 to 26 of 26

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

  1. #1
    Registered User
    Join Date
    08-30-2005
    Posts
    8

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

    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

  2. #2
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  3. #3
    Registered User
    Join Date
    08-30-2005
    Posts
    8

    Thanks

    Thanks Biff. Worked like a charm.

  4. #4
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  5. #5
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  6. #6
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  7. #7
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  8. #8
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  9. #9
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  10. #10
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  11. #11
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  12. #12
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  13. #13
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  14. #14
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  15. #15
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  16. #16
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  17. #17
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  18. #18
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  19. #19
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  20. #20
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  21. #21
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  22. #22
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  23. #23
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  24. #24
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  25. #25
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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
    >




  26. #26
    Biff
    Guest

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

    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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1