+ Reply to Thread
Results 1 to 16 of 16

COUNTIF criteria using date ranges?

Hybrid View

  1. #1
    Annie
    Guest

    COUNTIF criteria using date ranges?

    How would I indicate that I want to count the number of dates fall
    between Date A and Date B? I looked in the other message threads about
    subtracting one COUNTIF from another, but I don't think it works for
    dates.

    Thank you,
    Annie


  2. #2
    Duke Carey
    Guest

    RE: COUNTIF criteria using date ranges?

    Put your test dates in a cell, then use COUNTIF like so

    =COUNTIF(A5:A30,"<="&A1)-COUNTIF(A5:A30,"<="&A2)



    "Annie" wrote:

    > How would I indicate that I want to count the number of dates fall
    > between Date A and Date B? I looked in the other message threads about
    > subtracting one COUNTIF from another, but I don't think it works for
    > dates.
    >
    > Thank you,
    > Annie
    >
    >


  3. #3
    Duke Carey
    Guest

    RE: COUNTIF criteria using date ranges?

    Put your test dates in a cell, then use COUNTIF like so

    =COUNTIF(A5:A30,"<="&A1)-COUNTIF(A5:A30,"<="&A2)



    "Annie" wrote:

    > How would I indicate that I want to count the number of dates fall
    > between Date A and Date B? I looked in the other message threads about
    > subtracting one COUNTIF from another, but I don't think it works for
    > dates.
    >
    > Thank you,
    > Annie
    >
    >


  4. #4
    Duke Carey
    Guest

    RE: COUNTIF criteria using date ranges?

    Put your test dates in a cell, then use COUNTIF like so

    =COUNTIF(A5:A30,"<="&A1)-COUNTIF(A5:A30,"<="&A2)



    "Annie" wrote:

    > How would I indicate that I want to count the number of dates fall
    > between Date A and Date B? I looked in the other message threads about
    > subtracting one COUNTIF from another, but I don't think it works for
    > dates.
    >
    > Thank you,
    > Annie
    >
    >


  5. #5
    Bob Phillips
    Guest

    Re: COUNTIF criteria using date ranges?

    This also works

    =COUNTIF(P1:P10,"<01/03/2005")-COUNTIF(P1:P10,"<01/02/2005")

    but make sure that you format the cell as general as it tends to try and
    force date format.

    --

    HTH

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


    "Duke Carey" <DukeCarey@discussions.microsoft.com> wrote in message
    news:8D42FC5E-1D43-49FB-8B67-BD9649BFD387@microsoft.com...
    > Put your test dates in a cell, then use COUNTIF like so
    >
    > =COUNTIF(A5:A30,"<="&A1)-COUNTIF(A5:A30,"<="&A2)
    >
    >
    >
    > "Annie" wrote:
    >
    > > How would I indicate that I want to count the number of dates fall
    > > between Date A and Date B? I looked in the other message threads about
    > > subtracting one COUNTIF from another, but I don't think it works for
    > > dates.
    > >
    > > Thank you,
    > > Annie
    > >
    > >




  6. #6
    Bob Phillips
    Guest

    Re: COUNTIF criteria using date ranges?

    This also works

    =COUNTIF(P1:P10,"<01/03/2005")-COUNTIF(P1:P10,"<01/02/2005")

    but make sure that you format the cell as general as it tends to try and
    force date format.

    --

    HTH

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


    "Duke Carey" <DukeCarey@discussions.microsoft.com> wrote in message
    news:8D42FC5E-1D43-49FB-8B67-BD9649BFD387@microsoft.com...
    > Put your test dates in a cell, then use COUNTIF like so
    >
    > =COUNTIF(A5:A30,"<="&A1)-COUNTIF(A5:A30,"<="&A2)
    >
    >
    >
    > "Annie" wrote:
    >
    > > How would I indicate that I want to count the number of dates fall
    > > between Date A and Date B? I looked in the other message threads about
    > > subtracting one COUNTIF from another, but I don't think it works for
    > > dates.
    > >
    > > Thank you,
    > > Annie
    > >
    > >




  7. #7
    Bob Phillips
    Guest

    Re: COUNTIF criteria using date ranges?

    This also works

    =COUNTIF(P1:P10,"<01/03/2005")-COUNTIF(P1:P10,"<01/02/2005")

    but make sure that you format the cell as general as it tends to try and
    force date format.

    --

    HTH

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


    "Duke Carey" <DukeCarey@discussions.microsoft.com> wrote in message
    news:8D42FC5E-1D43-49FB-8B67-BD9649BFD387@microsoft.com...
    > Put your test dates in a cell, then use COUNTIF like so
    >
    > =COUNTIF(A5:A30,"<="&A1)-COUNTIF(A5:A30,"<="&A2)
    >
    >
    >
    > "Annie" wrote:
    >
    > > How would I indicate that I want to count the number of dates fall
    > > between Date A and Date B? I looked in the other message threads about
    > > subtracting one COUNTIF from another, but I don't think it works for
    > > dates.
    > >
    > > Thank you,
    > > Annie
    > >
    > >




  8. #8
    Bob Phillips
    Guest

    Re: COUNTIF criteria using date ranges?

    This also works

    =COUNTIF(P1:P10,"<01/03/2005")-COUNTIF(P1:P10,"<01/02/2005")

    but make sure that you format the cell as general as it tends to try and
    force date format.

    --

    HTH

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


    "Duke Carey" <DukeCarey@discussions.microsoft.com> wrote in message
    news:8D42FC5E-1D43-49FB-8B67-BD9649BFD387@microsoft.com...
    > Put your test dates in a cell, then use COUNTIF like so
    >
    > =COUNTIF(A5:A30,"<="&A1)-COUNTIF(A5:A30,"<="&A2)
    >
    >
    >
    > "Annie" wrote:
    >
    > > How would I indicate that I want to count the number of dates fall
    > > between Date A and Date B? I looked in the other message threads about
    > > subtracting one COUNTIF from another, but I don't think it works for
    > > dates.
    > >
    > > Thank you,
    > > Annie
    > >
    > >




  9. #9
    Bob Phillips
    Guest

    Re: COUNTIF criteria using date ranges?

    This also works

    =COUNTIF(P1:P10,"<01/03/2005")-COUNTIF(P1:P10,"<01/02/2005")

    but make sure that you format the cell as general as it tends to try and
    force date format.

    --

    HTH

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


    "Duke Carey" <DukeCarey@discussions.microsoft.com> wrote in message
    news:8D42FC5E-1D43-49FB-8B67-BD9649BFD387@microsoft.com...
    > Put your test dates in a cell, then use COUNTIF like so
    >
    > =COUNTIF(A5:A30,"<="&A1)-COUNTIF(A5:A30,"<="&A2)
    >
    >
    >
    > "Annie" wrote:
    >
    > > How would I indicate that I want to count the number of dates fall
    > > between Date A and Date B? I looked in the other message threads about
    > > subtracting one COUNTIF from another, but I don't think it works for
    > > dates.
    > >
    > > Thank you,
    > > Annie
    > >
    > >




  10. #10
    Duke Carey
    Guest

    RE: COUNTIF criteria using date ranges?

    Put your test dates in a cell, then use COUNTIF like so

    =COUNTIF(A5:A30,"<="&A1)-COUNTIF(A5:A30,"<="&A2)



    "Annie" wrote:

    > How would I indicate that I want to count the number of dates fall
    > between Date A and Date B? I looked in the other message threads about
    > subtracting one COUNTIF from another, but I don't think it works for
    > dates.
    >
    > Thank you,
    > Annie
    >
    >


  11. #11
    Duke Carey
    Guest

    RE: COUNTIF criteria using date ranges?

    Put your test dates in a cell, then use COUNTIF like so

    =COUNTIF(A5:A30,"<="&A1)-COUNTIF(A5:A30,"<="&A2)



    "Annie" wrote:

    > How would I indicate that I want to count the number of dates fall
    > between Date A and Date B? I looked in the other message threads about
    > subtracting one COUNTIF from another, but I don't think it works for
    > dates.
    >
    > Thank you,
    > Annie
    >
    >


  12. #12
    Don Guillett
    Guest

    Re: COUNTIF criteria using date ranges?

    try
    =sumproduct((rnga>a1)*(rngA<b1))

    --
    Don Guillett
    SalesAid Software
    donaldb@281.com
    "Annie" <ashapren@yahoo.com> wrote in message
    news:1125078145.279053.146190@z14g2000cwz.googlegroups.com...
    > How would I indicate that I want to count the number of dates fall
    > between Date A and Date B? I looked in the other message threads about
    > subtracting one COUNTIF from another, but I don't think it works for
    > dates.
    >
    > Thank you,
    > Annie
    >




  13. #13
    Don Guillett
    Guest

    Re: COUNTIF criteria using date ranges?

    try
    =sumproduct((rnga>a1)*(rngA<b1))

    --
    Don Guillett
    SalesAid Software
    donaldb@281.com
    "Annie" <ashapren@yahoo.com> wrote in message
    news:1125078145.279053.146190@z14g2000cwz.googlegroups.com...
    > How would I indicate that I want to count the number of dates fall
    > between Date A and Date B? I looked in the other message threads about
    > subtracting one COUNTIF from another, but I don't think it works for
    > dates.
    >
    > Thank you,
    > Annie
    >




  14. #14
    Don Guillett
    Guest

    Re: COUNTIF criteria using date ranges?

    try
    =sumproduct((rnga>a1)*(rngA<b1))

    --
    Don Guillett
    SalesAid Software
    donaldb@281.com
    "Annie" <ashapren@yahoo.com> wrote in message
    news:1125078145.279053.146190@z14g2000cwz.googlegroups.com...
    > How would I indicate that I want to count the number of dates fall
    > between Date A and Date B? I looked in the other message threads about
    > subtracting one COUNTIF from another, but I don't think it works for
    > dates.
    >
    > Thank you,
    > Annie
    >




  15. #15
    Don Guillett
    Guest

    Re: COUNTIF criteria using date ranges?

    try
    =sumproduct((rnga>a1)*(rngA<b1))

    --
    Don Guillett
    SalesAid Software
    donaldb@281.com
    "Annie" <ashapren@yahoo.com> wrote in message
    news:1125078145.279053.146190@z14g2000cwz.googlegroups.com...
    > How would I indicate that I want to count the number of dates fall
    > between Date A and Date B? I looked in the other message threads about
    > subtracting one COUNTIF from another, but I don't think it works for
    > dates.
    >
    > Thank you,
    > Annie
    >




  16. #16
    Don Guillett
    Guest

    Re: COUNTIF criteria using date ranges?

    try
    =sumproduct((rnga>a1)*(rngA<b1))

    --
    Don Guillett
    SalesAid Software
    donaldb@281.com
    "Annie" <ashapren@yahoo.com> wrote in message
    news:1125078145.279053.146190@z14g2000cwz.googlegroups.com...
    > How would I indicate that I want to count the number of dates fall
    > between Date A and Date B? I looked in the other message threads about
    > subtracting one COUNTIF from another, but I don't think it works for
    > dates.
    >
    > Thank you,
    > Annie
    >




+ 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