+ Reply to Thread
Results 1 to 104 of 104

Another Try

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

    Another Try

    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

    In Worksheet Column J each date corresponds with a person. What I want to do is get a count of dates/persons that occur during a set perid of time, which is one week. The difficulty comes in, in that the column J where the dates are entered span three different months. But I want to break that down into weekly cohorts.

    So for example if in Worksheet B in cell J2 I have a date that lies between 8/17/05 and 8/23/05 then the number 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.

    Here is roughly what my spreadsheet looks like

    WORKSHEET A

    ......Column.....L[weeks]
    Row
    22 [8/17/05]
    23 [8/24/05]
    .
    29 [10/5/05]


    WORKSHEET B
    .....Column.......J[Recieved Date]
    Row
    2 [8/19/05]
    3 [10/6/05]
    .
    528 [9/14/05]

    Thanks for your help.

    Krisjhn

  2. #2
    Forum Contributor
    Join Date
    03-12-2004
    Posts
    329
    N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet B'!J$2:J$528<L23)) (Copy down)


    Hope it helps.


    Quote Originally Posted by Krisjhn
    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

    In Worksheet Column J each date corresponds with a person. What I want to do is get a count of dates/persons that occur during a set perid of time, which is one week. The difficulty comes in, in that the column J where the dates are entered span three different months. But I want to break that down into weekly cohorts.

    So for example if in Worksheet B in cell J2 I have a date that lies between 8/17/05 and 8/23/05 then the number 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.

    Here is roughly what my spreadsheet looks like

    WORKSHEET A

    ......Column.....L[weeks]
    Row
    22 [8/17/05]
    23 [8/24/05]
    .
    29 [10/5/05]


    WORKSHEET B
    .....Column.......J[Recieved Date]
    Row
    2 [8/19/05]
    3 [10/6/05]
    .
    528 [9/14/05]

    Thanks for your help.

    Krisjhn

  3. #3
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  4. #4
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  5. #5
    Forum Contributor
    Join Date
    03-12-2004
    Posts
    329
    Cell N29 is not needed to complete the count.


    [QUOTE=Biff]Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

  6. #6
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  7. #7
    Forum Contributor
    Join Date
    03-12-2004
    Posts
    329
    I still do not understand what you mean. Can you explain a little more?


    [QUOTE=Biff]N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

  8. #8
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  9. #9
    Forum Contributor
    Join Date
    03-12-2004
    Posts
    329
    You are right. If you copy formula to cell N28 then you do not count L29, which I think you should not. L29 should be consider as the first day of next week. If you count L29 you will have 8 days in that week which I think is wrong.



    Quote Originally Posted by Biff
    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >

  10. #10
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  11. #11
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  12. #12
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  13. #13
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  14. #14
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  15. #15
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  16. #16
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  17. #17
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  18. #18
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  19. #19
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  20. #20
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  21. #21
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  22. #22
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  23. #23
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  24. #24
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  25. #25
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  26. #26
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  27. #27
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  28. #28
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  29. #29
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  30. #30
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  31. #31
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  32. #32
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  33. #33
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  34. #34
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  35. #35
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  36. #36
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  37. #37
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  38. #38
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  39. #39
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  40. #40
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  41. #41
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  42. #42
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  43. #43
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  44. #44
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  45. #45
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  46. #46
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  47. #47
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  48. #48
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  49. #49
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  50. #50
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  51. #51
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  52. #52
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  53. #53
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  54. #54
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  55. #55
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  56. #56
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  57. #57
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  58. #58
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  59. #59
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  60. #60
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  61. #61
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  62. #62
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  63. #63
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  64. #64
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  65. #65
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  66. #66
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  67. #67
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  68. #68
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  69. #69
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  70. #70
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  71. #71
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  72. #72
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  73. #73
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  74. #74
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  75. #75
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  76. #76
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  77. #77
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  78. #78
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  79. #79
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  80. #80
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  81. #81
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  82. #82
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  83. #83
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  84. #84
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  85. #85
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  86. #86
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  87. #87
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  88. #88
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  89. #89
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  90. #90
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  91. #91
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  92. #92
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  93. #93
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  94. #94
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  95. #95
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  96. #96
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  97. #97
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  98. #98
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  99. #99
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  100. #100
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  101. #101
    Biff
    Guest

    Re: Another Try

    See reply to your first post

    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
    >
    > In Worksheet Column J each date corresponds with a person. What I want
    > to do is get a count of dates/persons that occur during a set perid of
    > time, which is one week. The difficulty comes in, in that the column J
    > where the dates are entered span three different months. But I want to
    > break that down into weekly cohorts.
    >
    > So for example if in *Worksheet B* in cell J2 I have a date that lies
    > between 8/17/05 and 8/23/05 then the number 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.
    >
    > Here is roughly what my spreadsheet looks like
    >
    > WORKSHEET A
    >
    > .....Column.....L[weeks]
    > Row
    > 22 [8/17/05]
    > 23 [8/24/05]




  102. #102
    Biff
    Guest

    Re: Another Try

    Hi!

    This formula will fail in cell N29.

    The date criteria ends in cell L29. Using this formula the last reference
    will be to cell L30. If L30 is empty or contains a text value the results
    could be incorrect.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    > B'!J$2:J$528<L23)) (Copy down)
    >
    >
    > Hope it helps.
    >
    >
    > Krisjhn Wrote:
    >> 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
    >>
    >> In Worksheet Column J each date corresponds with a person. What I want
    >> to do is get a count of dates/persons that occur during a set perid of
    >> time, which is one week. The difficulty comes in, in that the column J
    >> where the dates are entered span three different months. But I want to
    >> break that down into weekly cohorts.
    >>
    >> So for example if in *Worksheet B* in cell J2 I have a date that lies
    >> between 8/17/05 and 8/23/05 then the number 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.
    >>
    >> Here is roughly what my spreadsheet looks like
    >>
    >> WORKSHEET A
    >>
    >> ......Column.....L[weeks]
    >> Row
    >> 22 [8/17/05]
    >> 23 [8/24/05]
    >> .
    >> 29 [10/5/05]
    >>
    >>
    >> WORKSHEET B
    >> .....Column.......J[Recieved Date]
    >> Row
    >> 2 [8/19/05]
    >> 3 [10/6/05]
    >> .
    >> 528 [9/14/05]
    >>
    >> Thanks for your help.
    >>
    >> Krisjhn

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  103. #103
    Biff
    Guest

    Re: Another Try

    N29 is a formula cell and has nothing to do with any count.

    Test it and you'll see what I mean.

    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Cell N29 is not needed to complete the count.
    >
    >
    > Biff Wrote:
    >> Hi!
    >>
    >> This formula will fail in cell N29.
    >>
    >> The date criteria ends in cell L29. Using this formula the last
    >> reference
    >> will be to cell L30. If L30 is empty or contains a text value the
    >> results
    >> could be incorrect.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




  104. #104
    Biff
    Guest

    Re: Another Try

    Based on the OP's explanation:

    >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


    So, N22 is the first formula cell:

    >N22 = SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L22),--('Worksheet
    >B'!J$2:J$528<L23)) (Copy down)


    Your formula uses the next cell to set the upper boundry in the date range.
    When you copy this down to N29 that formula would look like this:

    =SUMPRODUCT(--('Worksheet B'!J$2:J$528>=L29),--('WorksheetB'!J$2:J$528<L30))

    L30 is outside the date range of L22:L29. So, if L30 is an empty cell it
    evaluates to zero and the Sumproduct formula evaluates to:

    --('WorksheetB'!J$2:J$528<0)

    If you only copy the formula to cell N28 then you don't account for dates
    >=L29.


    Biff

    "Morrigan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I still do not understand what you mean. Can you explain a little
    > more?
    >
    >
    > Biff Wrote:
    >> N29 is a formula cell and has nothing to do with any count.
    >>
    >> Test it and you'll see what I mean.
    >>
    >> Biff

    >
    >
    > --
    > Morrigan
    > ------------------------------------------------------------------------
    > Morrigan's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7094
    > View this thread: http://www.excelforum.com/showthread...hreadid=400958
    >




+ 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