+ Reply to Thread
Results 1 to 6 of 6

count an entry if ????

  1. #1
    Jerry W
    Guest

    count an entry if ????

    I know this has probably been addressed but cant locate my specific issue:
    I would like to count entries in columns b & c that meet criteria in column
    a. Here is an example:
    Date Cash Check
    01/19/05 2.00
    01/19/05 5.00
    01/19/05 5.00
    01/19/05 3.00
    02/28/05 1.00
    02/28/05 2.00

    What formula would give these counts as the end result?:
    01/19/05 2 2
    02/28/05 1 1
    Thanks - Jerry

  2. #2
    Bob Phillips
    Guest

    Re: count an entry if ????

    =SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--($B$1:$B$100>0))

    and

    =SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--($C$1:$C$100>0))

    --

    HTH

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


    "Jerry W" <[email protected]> wrote in message
    news:[email protected]...
    > I know this has probably been addressed but cant locate my specific issue:
    > I would like to count entries in columns b & c that meet criteria in

    column
    > a. Here is an example:
    > Date Cash Check
    > 01/19/05 2.00
    > 01/19/05 5.00
    > 01/19/05 5.00
    > 01/19/05 3.00
    > 02/28/05 1.00
    > 02/28/05 2.00
    >
    > What formula would give these counts as the end result?:
    > 01/19/05 2 2
    > 02/28/05 1 1
    > Thanks - Jerry




  3. #3
    Aladin Akyurek
    Guest

    Re: count an entry if ????

    =SUMPRODUCT(--(DateRange=Date),--ISNUMBER(CashRange))

    =SUMPRODUCT(--(DateRange=Date),--ISNUMBER(CheckRange))

    Ranges cannot refer to whole columns like A:A in this type of formula.

    Jerry W wrote:
    > I know this has probably been addressed but cant locate my specific issue:
    > I would like to count entries in columns b & c that meet criteria in column
    > a. Here is an example:
    > Date Cash Check
    > 01/19/05 2.00
    > 01/19/05 5.00
    > 01/19/05 5.00
    > 01/19/05 3.00
    > 02/28/05 1.00
    > 02/28/05 2.00
    >
    > What formula would give these counts as the end result?:
    > 01/19/05 2 2
    > 02/28/05 1 1
    > Thanks - Jerry


  4. #4
    Jerry W
    Guest

    Re: count an entry if ????

    Bob - Thanks for the quick reply. Sorry, I did not mention the entries in b
    & c are derived from formulas themselves. Your formula is working except it
    is counting the formula (I think) within the counted cell so I am coming up
    with a count of 4 instead of 2.

    "Bob Phillips" wrote:

    > =SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--($B$1:$B$100>0))
    >
    > and
    >
    > =SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--($C$1:$C$100>0))
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Jerry W" <[email protected]> wrote in message
    > news:[email protected]...
    > > I know this has probably been addressed but cant locate my specific issue:
    > > I would like to count entries in columns b & c that meet criteria in

    > column
    > > a. Here is an example:
    > > Date Cash Check
    > > 01/19/05 2.00
    > > 01/19/05 5.00
    > > 01/19/05 5.00
    > > 01/19/05 3.00
    > > 02/28/05 1.00
    > > 02/28/05 2.00
    > >
    > > What formula would give these counts as the end result?:
    > > 01/19/05 2 2
    > > 02/28/05 1 1
    > > Thanks - Jerry

    >
    >
    >


  5. #5
    Bob Phillips
    Guest

    Re: count an entry if ????

    Jerry,

    Try this then

    =SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--(ISNUMBER($B$1:$B$100)))

    and

    =SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--(ISNUMBER($C$1:$C$100)))

    as Aladin also suggested.

    --

    HTH

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


    "Jerry W" <[email protected]> wrote in message
    news:[email protected]...
    > Bob - Thanks for the quick reply. Sorry, I did not mention the entries in

    b
    > & c are derived from formulas themselves. Your formula is working except

    it
    > is counting the formula (I think) within the counted cell so I am coming

    up
    > with a count of 4 instead of 2.
    >
    > "Bob Phillips" wrote:
    >
    > > =SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--($B$1:$B$100>0))
    > >
    > > and
    > >
    > > =SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--($C$1:$C$100>0))
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "Jerry W" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > I know this has probably been addressed but cant locate my specific

    issue:
    > > > I would like to count entries in columns b & c that meet criteria in

    > > column
    > > > a. Here is an example:
    > > > Date Cash Check
    > > > 01/19/05 2.00
    > > > 01/19/05 5.00
    > > > 01/19/05 5.00
    > > > 01/19/05 3.00
    > > > 02/28/05 1.00
    > > > 02/28/05 2.00
    > > >
    > > > What formula would give these counts as the end result?:
    > > > 01/19/05 2 2
    > > > 02/28/05 1 1
    > > > Thanks - Jerry

    > >
    > >
    > >




  6. #6
    Jerry W
    Guest

    Re: count an entry if ????

    PERFECTOMUNDO!!!
    =SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--(ISNUMBER($B$1:$B$100))) worked
    just fine. Thank you so much...Jerrry W - Safety Harbor, FL

    "Bob Phillips" wrote:

    > Jerry,
    >
    > Try this then
    >
    > =SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--(ISNUMBER($B$1:$B$100)))
    >
    > and
    >
    > =SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--(ISNUMBER($C$1:$C$100)))
    >
    > as Aladin also suggested.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Jerry W" <[email protected]> wrote in message
    > news:[email protected]...
    > > Bob - Thanks for the quick reply. Sorry, I did not mention the entries in

    > b
    > > & c are derived from formulas themselves. Your formula is working except

    > it
    > > is counting the formula (I think) within the counted cell so I am coming

    > up
    > > with a count of 4 instead of 2.
    > >
    > > "Bob Phillips" wrote:
    > >
    > > > =SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--($B$1:$B$100>0))
    > > >
    > > > and
    > > >
    > > > =SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--($C$1:$C$100>0))
    > > >
    > > > --
    > > >
    > > > HTH
    > > >
    > > > RP
    > > > (remove nothere from the email address if mailing direct)
    > > >
    > > >
    > > > "Jerry W" <[email protected]> wrote in message
    > > > news:[email protected]...
    > > > > I know this has probably been addressed but cant locate my specific

    > issue:
    > > > > I would like to count entries in columns b & c that meet criteria in
    > > > column
    > > > > a. Here is an example:
    > > > > Date Cash Check
    > > > > 01/19/05 2.00
    > > > > 01/19/05 5.00
    > > > > 01/19/05 5.00
    > > > > 01/19/05 3.00
    > > > > 02/28/05 1.00
    > > > > 02/28/05 2.00
    > > > >
    > > > > What formula would give these counts as the end result?:
    > > > > 01/19/05 2 2
    > > > > 02/28/05 1 1
    > > > > Thanks - Jerry
    > > >
    > > >
    > > >

    >
    >
    >


+ 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