+ Reply to Thread
Results 1 to 10 of 10

how would I count dates (not # of days) in cells that fall betwee.

  1. #1
    Max
    Guest

    Re: how would I count dates (not # of days) in cells that fall betwee.

    One way ...

    Assuming the dates are real dates, and in A1:A100 down:
    try something like this in say, B1:

    =SUMPRODUCT((A1:A100>=DATE(2005,7,1))*(A1:A100<=DATE(2005,7,15)))

    which counts the # of cells within A1:A100 with dates
    between 1st July 2005 and 15th July 2005 (inclusive)

    Adapt to suit. Note that we can't use entire col references in SUMPRODUCT
    --
    Rgds
    Max
    xl 97
    ---
    Singapore, GMT+8
    xdemechanik
    http://savefile.com/projects/236895
    --
    "sailingscotts" <sailingscotts@discussions.microsoft.com> wrote in message
    news:9956EDF5-D2C7-4B6C-B18A-E93A5D173D65@microsoft.com...
    > Using excel, how would you count occurances of dates that fall between 2
    > dates? Thank you,
    > sailingscotts




  2. #2
    sailingscotts
    Guest

    Re: how would I count dates (not # of days) in cells that fall bet

    Thank you, Max!

    "Max" wrote:

    > One way ...
    >
    > Assuming the dates are real dates, and in A1:A100 down:
    > try something like this in say, B1:
    >
    > =SUMPRODUCT((A1:A100>=DATE(2005,7,1))*(A1:A100<=DATE(2005,7,15)))
    >
    > which counts the # of cells within A1:A100 with dates
    > between 1st July 2005 and 15th July 2005 (inclusive)
    >
    > Adapt to suit. Note that we can't use entire col references in SUMPRODUCT
    > --
    > Rgds
    > Max
    > xl 97
    > ---
    > Singapore, GMT+8
    > xdemechanik
    > http://savefile.com/projects/236895
    > --
    > "sailingscotts" <sailingscotts@discussions.microsoft.com> wrote in message
    > news:9956EDF5-D2C7-4B6C-B18A-E93A5D173D65@microsoft.com...
    > > Using excel, how would you count occurances of dates that fall between 2
    > > dates? Thank you,
    > > sailingscotts

    >
    >
    >


  3. #3
    Max
    Guest

    Re: how would I count dates (not # of days) in cells that fall bet

    You're welcome !
    --
    Rgds
    Max
    xl 97
    ---
    Singapore, GMT+8
    xdemechanik
    http://savefile.com/projects/236895
    --
    "sailingscotts" <sailingscotts@discussions.microsoft.com> wrote in message
    news:E6F8B09D-7C05-4AE6-A574-27615A351B30@microsoft.com...
    > Thank you, Max!




  4. #4
    Max
    Guest

    Re: how would I count dates (not # of days) in cells that fall betwee.

    One way ...

    Assuming the dates are real dates, and in A1:A100 down:
    try something like this in say, B1:

    =SUMPRODUCT((A1:A100>=DATE(2005,7,1))*(A1:A100<=DATE(2005,7,15)))

    which counts the # of cells within A1:A100 with dates
    between 1st July 2005 and 15th July 2005 (inclusive)

    Adapt to suit. Note that we can't use entire col references in SUMPRODUCT
    --
    Rgds
    Max
    xl 97
    ---
    Singapore, GMT+8
    xdemechanik
    http://savefile.com/projects/236895
    --
    "sailingscotts" <sailingscotts@discussions.microsoft.com> wrote in message
    news:9956EDF5-D2C7-4B6C-B18A-E93A5D173D65@microsoft.com...
    > Using excel, how would you count occurances of dates that fall between 2
    > dates? Thank you,
    > sailingscotts




  5. #5
    sailingscotts
    Guest

    Re: how would I count dates (not # of days) in cells that fall bet

    Thank you, Max!

    "Max" wrote:

    > One way ...
    >
    > Assuming the dates are real dates, and in A1:A100 down:
    > try something like this in say, B1:
    >
    > =SUMPRODUCT((A1:A100>=DATE(2005,7,1))*(A1:A100<=DATE(2005,7,15)))
    >
    > which counts the # of cells within A1:A100 with dates
    > between 1st July 2005 and 15th July 2005 (inclusive)
    >
    > Adapt to suit. Note that we can't use entire col references in SUMPRODUCT
    > --
    > Rgds
    > Max
    > xl 97
    > ---
    > Singapore, GMT+8
    > xdemechanik
    > http://savefile.com/projects/236895
    > --
    > "sailingscotts" <sailingscotts@discussions.microsoft.com> wrote in message
    > news:9956EDF5-D2C7-4B6C-B18A-E93A5D173D65@microsoft.com...
    > > Using excel, how would you count occurances of dates that fall between 2
    > > dates? Thank you,
    > > sailingscotts

    >
    >
    >


  6. #6
    Max
    Guest

    Re: how would I count dates (not # of days) in cells that fall bet

    You're welcome !
    --
    Rgds
    Max
    xl 97
    ---
    Singapore, GMT+8
    xdemechanik
    http://savefile.com/projects/236895
    --
    "sailingscotts" <sailingscotts@discussions.microsoft.com> wrote in message
    news:E6F8B09D-7C05-4AE6-A574-27615A351B30@microsoft.com...
    > Thank you, Max!




  7. #7
    sailingscotts
    Guest

    how would I count dates (not # of days) in cells that fall betwee.

    Using excel, how would you count occurances of dates that fall between 2
    dates? Thank you,
    sailingscotts

  8. #8
    Max
    Guest

    Re: how would I count dates (not # of days) in cells that fall betwee.

    One way ...

    Assuming the dates are real dates, and in A1:A100 down:
    try something like this in say, B1:

    =SUMPRODUCT((A1:A100>=DATE(2005,7,1))*(A1:A100<=DATE(2005,7,15)))

    which counts the # of cells within A1:A100 with dates
    between 1st July 2005 and 15th July 2005 (inclusive)

    Adapt to suit. Note that we can't use entire col references in SUMPRODUCT
    --
    Rgds
    Max
    xl 97
    ---
    Singapore, GMT+8
    xdemechanik
    http://savefile.com/projects/236895
    --
    "sailingscotts" <sailingscotts@discussions.microsoft.com> wrote in message
    news:9956EDF5-D2C7-4B6C-B18A-E93A5D173D65@microsoft.com...
    > Using excel, how would you count occurances of dates that fall between 2
    > dates? Thank you,
    > sailingscotts




  9. #9
    sailingscotts
    Guest

    Re: how would I count dates (not # of days) in cells that fall bet

    Thank you, Max!

    "Max" wrote:

    > One way ...
    >
    > Assuming the dates are real dates, and in A1:A100 down:
    > try something like this in say, B1:
    >
    > =SUMPRODUCT((A1:A100>=DATE(2005,7,1))*(A1:A100<=DATE(2005,7,15)))
    >
    > which counts the # of cells within A1:A100 with dates
    > between 1st July 2005 and 15th July 2005 (inclusive)
    >
    > Adapt to suit. Note that we can't use entire col references in SUMPRODUCT
    > --
    > Rgds
    > Max
    > xl 97
    > ---
    > Singapore, GMT+8
    > xdemechanik
    > http://savefile.com/projects/236895
    > --
    > "sailingscotts" <sailingscotts@discussions.microsoft.com> wrote in message
    > news:9956EDF5-D2C7-4B6C-B18A-E93A5D173D65@microsoft.com...
    > > Using excel, how would you count occurances of dates that fall between 2
    > > dates? Thank you,
    > > sailingscotts

    >
    >
    >


  10. #10
    Max
    Guest

    Re: how would I count dates (not # of days) in cells that fall bet

    You're welcome !
    --
    Rgds
    Max
    xl 97
    ---
    Singapore, GMT+8
    xdemechanik
    http://savefile.com/projects/236895
    --
    "sailingscotts" <sailingscotts@discussions.microsoft.com> wrote in message
    news:E6F8B09D-7C05-4AE6-A574-27615A351B30@microsoft.com...
    > Thank you, Max!




+ 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