+ Reply to Thread
Results 1 to 7 of 7

count date occurances in range of dates...

  1. #1
    Bob Phillips
    Guest

    Re: count date occurances in range of dates...

    =SUMPRODUCT(COUNTIF(A1:A7,B1:B3))

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Alex" <[email protected]> wrote in message
    news:[email protected]...
    > Hi
    >
    > I am stuck trying to come up with a formula to count the number of times
    > dates occur within a range of dates.
    > What I have is:
    > col A has a range of dates, say A1:A100
    > col b with another set of dates B1:B7
    > What I need to do is return the number of times any of the individual

    dates
    > in the B1:B7 range occur in A1:A100.
    > e.g
    > A B
    > 10 Feb 05 26 Mar 05
    > 15 Feb 05 29 Apr 05
    > 26 Mar 05 10 Feb 05
    > 29 Apr 05
    > 06 May 05
    > 11 Jan 05
    > 18 Dec 05
    >
    > The answer I'm looking for here would be 3. Each date in col B occurs once
    > in col A.
    >
    > Getting very frustrated with this and can't seem to find an answer for

    it!!
    > Many thanks in advance
    >
    > Alex
    >




  2. #2
    Alex
    Guest

    Re: count date occurances in range of dates...

    Thanks for the speedy answer. Works great.

    Cheers,
    Alex.


    "Bob Phillips" wrote:

    > =SUMPRODUCT(COUNTIF(A1:A7,B1:B3))
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Alex" <[email protected]> wrote in message
    > news:[email protected]...
    > > Hi
    > >
    > > I am stuck trying to come up with a formula to count the number of times
    > > dates occur within a range of dates.
    > > What I have is:
    > > col A has a range of dates, say A1:A100
    > > col b with another set of dates B1:B7
    > > What I need to do is return the number of times any of the individual

    > dates
    > > in the B1:B7 range occur in A1:A100.
    > > e.g
    > > A B
    > > 10 Feb 05 26 Mar 05
    > > 15 Feb 05 29 Apr 05
    > > 26 Mar 05 10 Feb 05
    > > 29 Apr 05
    > > 06 May 05
    > > 11 Jan 05
    > > 18 Dec 05
    > >
    > > The answer I'm looking for here would be 3. Each date in col B occurs once
    > > in col A.
    > >
    > > Getting very frustrated with this and can't seem to find an answer for

    > it!!
    > > Many thanks in advance
    > >
    > > Alex
    > >

    >
    >
    >


  3. #3
    Bob Phillips
    Guest

    Re: count date occurances in range of dates...

    =SUMPRODUCT(COUNTIF(A1:A7,B1:B3))

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Alex" <[email protected]> wrote in message
    news:[email protected]...
    > Hi
    >
    > I am stuck trying to come up with a formula to count the number of times
    > dates occur within a range of dates.
    > What I have is:
    > col A has a range of dates, say A1:A100
    > col b with another set of dates B1:B7
    > What I need to do is return the number of times any of the individual

    dates
    > in the B1:B7 range occur in A1:A100.
    > e.g
    > A B
    > 10 Feb 05 26 Mar 05
    > 15 Feb 05 29 Apr 05
    > 26 Mar 05 10 Feb 05
    > 29 Apr 05
    > 06 May 05
    > 11 Jan 05
    > 18 Dec 05
    >
    > The answer I'm looking for here would be 3. Each date in col B occurs once
    > in col A.
    >
    > Getting very frustrated with this and can't seem to find an answer for

    it!!
    > Many thanks in advance
    >
    > Alex
    >




  4. #4
    Alex
    Guest

    Re: count date occurances in range of dates...

    Thanks for the speedy answer. Works great.

    Cheers,
    Alex.


    "Bob Phillips" wrote:

    > =SUMPRODUCT(COUNTIF(A1:A7,B1:B3))
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Alex" <[email protected]> wrote in message
    > news:[email protected]...
    > > Hi
    > >
    > > I am stuck trying to come up with a formula to count the number of times
    > > dates occur within a range of dates.
    > > What I have is:
    > > col A has a range of dates, say A1:A100
    > > col b with another set of dates B1:B7
    > > What I need to do is return the number of times any of the individual

    > dates
    > > in the B1:B7 range occur in A1:A100.
    > > e.g
    > > A B
    > > 10 Feb 05 26 Mar 05
    > > 15 Feb 05 29 Apr 05
    > > 26 Mar 05 10 Feb 05
    > > 29 Apr 05
    > > 06 May 05
    > > 11 Jan 05
    > > 18 Dec 05
    > >
    > > The answer I'm looking for here would be 3. Each date in col B occurs once
    > > in col A.
    > >
    > > Getting very frustrated with this and can't seem to find an answer for

    > it!!
    > > Many thanks in advance
    > >
    > > Alex
    > >

    >
    >
    >


  5. #5
    Alex
    Guest

    count date occurances in range of dates...

    Hi

    I am stuck trying to come up with a formula to count the number of times
    dates occur within a range of dates.
    What I have is:
    col A has a range of dates, say A1:A100
    col b with another set of dates B1:B7
    What I need to do is return the number of times any of the individual dates
    in the B1:B7 range occur in A1:A100.
    e.g
    A B
    10 Feb 05 26 Mar 05
    15 Feb 05 29 Apr 05
    26 Mar 05 10 Feb 05
    29 Apr 05
    06 May 05
    11 Jan 05
    18 Dec 05

    The answer I'm looking for here would be 3. Each date in col B occurs once
    in col A.

    Getting very frustrated with this and can't seem to find an answer for it!!
    Many thanks in advance

    Alex


  6. #6
    Bob Phillips
    Guest

    Re: count date occurances in range of dates...

    =SUMPRODUCT(COUNTIF(A1:A7,B1:B3))

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Alex" <[email protected]> wrote in message
    news:[email protected]...
    > Hi
    >
    > I am stuck trying to come up with a formula to count the number of times
    > dates occur within a range of dates.
    > What I have is:
    > col A has a range of dates, say A1:A100
    > col b with another set of dates B1:B7
    > What I need to do is return the number of times any of the individual

    dates
    > in the B1:B7 range occur in A1:A100.
    > e.g
    > A B
    > 10 Feb 05 26 Mar 05
    > 15 Feb 05 29 Apr 05
    > 26 Mar 05 10 Feb 05
    > 29 Apr 05
    > 06 May 05
    > 11 Jan 05
    > 18 Dec 05
    >
    > The answer I'm looking for here would be 3. Each date in col B occurs once
    > in col A.
    >
    > Getting very frustrated with this and can't seem to find an answer for

    it!!
    > Many thanks in advance
    >
    > Alex
    >




  7. #7
    Alex
    Guest

    Re: count date occurances in range of dates...

    Thanks for the speedy answer. Works great.

    Cheers,
    Alex.


    "Bob Phillips" wrote:

    > =SUMPRODUCT(COUNTIF(A1:A7,B1:B3))
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Alex" <[email protected]> wrote in message
    > news:[email protected]...
    > > Hi
    > >
    > > I am stuck trying to come up with a formula to count the number of times
    > > dates occur within a range of dates.
    > > What I have is:
    > > col A has a range of dates, say A1:A100
    > > col b with another set of dates B1:B7
    > > What I need to do is return the number of times any of the individual

    > dates
    > > in the B1:B7 range occur in A1:A100.
    > > e.g
    > > A B
    > > 10 Feb 05 26 Mar 05
    > > 15 Feb 05 29 Apr 05
    > > 26 Mar 05 10 Feb 05
    > > 29 Apr 05
    > > 06 May 05
    > > 11 Jan 05
    > > 18 Dec 05
    > >
    > > The answer I'm looking for here would be 3. Each date in col B occurs once
    > > in col A.
    > >
    > > Getting very frustrated with this and can't seem to find an answer for

    > it!!
    > > Many thanks in advance
    > >
    > > Alex
    > >

    >
    >
    >


+ 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