+ Reply to Thread
Results 1 to 4 of 4

Countif Statement

  1. #1
    souchie40
    Guest

    Countif Statement

    Hi everyone,

    After a bit of help with this statement

    =COUNTIF(J21:J27,(">A2,<J2"))

    All the cell references are the same custom date format ([$-809]d mmmm yyyy;@)
    What I want to do is count the number of dates that fall between the A2 and
    J2 references at the moment I get a '0' return.

    Any suggestions greatly recieved

    MTIA

    Souchie40

  2. #2
    Don Guillett
    Guest

    Re: Countif Statement

    try sumproduct
    =sumproduct((j21:j27>a2)*(j21:j27<j2))

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "souchie40" <[email protected]> wrote in message
    news:[email protected]...
    > Hi everyone,
    >
    > After a bit of help with this statement
    >
    > =COUNTIF(J21:J27,(">A2,<J2"))
    >
    > All the cell references are the same custom date format ([$-809]d mmmm
    > yyyy;@)
    > What I want to do is count the number of dates that fall between the A2
    > and
    > J2 references at the moment I get a '0' return.
    >
    > Any suggestions greatly recieved
    >
    > MTIA
    >
    > Souchie40




  3. #3
    souchie40
    Guest

    Re: Countif Statement

    Thank you for a speedy response that does the trick

    Souchie40

    "Don Guillett" wrote:

    > try sumproduct
    > =sumproduct((j21:j27>a2)*(j21:j27<j2))
    >
    > --
    > Don Guillett
    > SalesAid Software
    > [email protected]
    > "souchie40" <[email protected]> wrote in message
    > news:[email protected]...
    > > Hi everyone,
    > >
    > > After a bit of help with this statement
    > >
    > > =COUNTIF(J21:J27,(">A2,<J2"))
    > >
    > > All the cell references are the same custom date format ([$-809]d mmmm
    > > yyyy;@)
    > > What I want to do is count the number of dates that fall between the A2
    > > and
    > > J2 references at the moment I get a '0' return.
    > >
    > > Any suggestions greatly recieved
    > >
    > > MTIA
    > >
    > > Souchie40

    >
    >
    >


  4. #4
    Don Guillett
    Guest

    Re: Countif Statement

    glad to help

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "souchie40" <[email protected]> wrote in message
    news:[email protected]...
    > Thank you for a speedy response that does the trick
    >
    > Souchie40
    >
    > "Don Guillett" wrote:
    >
    >> try sumproduct
    >> =sumproduct((j21:j27>a2)*(j21:j27<j2))
    >>
    >> --
    >> Don Guillett
    >> SalesAid Software
    >> [email protected]
    >> "souchie40" <[email protected]> wrote in message
    >> news:[email protected]...
    >> > Hi everyone,
    >> >
    >> > After a bit of help with this statement
    >> >
    >> > =COUNTIF(J21:J27,(">A2,<J2"))
    >> >
    >> > All the cell references are the same custom date format ([$-809]d mmmm
    >> > yyyy;@)
    >> > What I want to do is count the number of dates that fall between the A2
    >> > and
    >> > J2 references at the moment I get a '0' return.
    >> >
    >> > Any suggestions greatly recieved
    >> >
    >> > MTIA
    >> >
    >> > Souchie40

    >>
    >>
    >>




+ 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