+ Reply to Thread
Results 1 to 6 of 6

COUNT with Multiple Criteria Error

Hybrid View

  1. #1
    Teri
    Guest

    COUNT with Multiple Criteria Error

    I have the current formula:

    =SUMPRODUCT(--($A$1:$A$2500="CLE"),--($B$1:$B$2500="IE"),--($E$1:$E$2500=6),--($I$1:$I$2500<0))

    which works perfectly. Now I want to find out the number of times a value
    less than 20% appears in column J. Why won't this work when I change the
    formula so the ending argument is
    ,--($J$1:$J$2500<.20)) ??

    I keep getting a #DIV/0 error!


  2. #2
    Bob Phillips
    Guest

    Re: COUNT with Multiple Criteria Error

    Works okay for me in a small test.Try reducing the number of rows, and
    increase until you get an error, then check the data.

    --

    HTH

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


    "Teri" <Teri@discussions.microsoft.com> wrote in message
    news:83B3A3DE-A6A0-400A-ACD7-3ED67AD60FF1@microsoft.com...
    > I have the current formula:
    >
    >

    =SUMPRODUCT(--($A$1:$A$2500="CLE"),--($B$1:$B$2500="IE"),--($E$1:$E$2500=6),
    --($I$1:$I$2500<0))
    >
    > which works perfectly. Now I want to find out the number of times a value
    > less than 20% appears in column J. Why won't this work when I change the
    > formula so the ending argument is
    > ,--($J$1:$J$2500<.20)) ??
    >
    > I keep getting a #DIV/0 error!
    >




  3. #3
    Teri
    Guest

    Re: COUNT with Multiple Criteria Error

    You're right! It does work if I decrease the range. It works all the way
    up to $2200, but I have data in rows $2201 through $2500 that have values
    less than 20%. How can I make this work?

    "Bob Phillips" wrote:

    > Works okay for me in a small test.Try reducing the number of rows, and
    > increase until you get an error, then check the data.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Teri" <Teri@discussions.microsoft.com> wrote in message
    > news:83B3A3DE-A6A0-400A-ACD7-3ED67AD60FF1@microsoft.com...
    > > I have the current formula:
    > >
    > >

    > =SUMPRODUCT(--($A$1:$A$2500="CLE"),--($B$1:$B$2500="IE"),--($E$1:$E$2500=6),
    > --($I$1:$I$2500<0))
    > >
    > > which works perfectly. Now I want to find out the number of times a value
    > > less than 20% appears in column J. Why won't this work when I change the
    > > formula so the ending argument is
    > > ,--($J$1:$J$2500<.20)) ??
    > >
    > > I keep getting a #DIV/0 error!
    > >

    >
    >
    >


  4. #4
    windsurferLA
    Guest

    Re: COUNT with Multiple Criteria Error

    Going back to Bob Phillips comment, I'd check the lower J column cells
    for the presence of data that does not allow a less-than test. Perhaps
    you have numbers that have been entered as characters. The "Cntrl-`"
    keys may help to view cell formulas.

    WindsurferLA

    Teri wrote:
    > You're right! It does work if I decrease the range. It works all the way
    > up to $2200, but I have data in rows $2201 through $2500 that have values
    > less than 20%. How can I make this work?
    >
    > "Bob Phillips" wrote:
    >
    >
    >>Works okay for me in a small test.Try reducing the number of rows, and
    >>increase until you get an error, then check the data.
    >>
    >>--
    >>
    >>HTH
    >>
    >>RP
    >>(remove nothere from the email address if mailing direct)
    >>
    >>
    >>"Teri" <Teri@discussions.microsoft.com> wrote in message
    >>news:83B3A3DE-A6A0-400A-ACD7-3ED67AD60FF1@microsoft.com...
    >>
    >>>I have the current formula:
    >>>
    >>>

    >>
    >>=SUMPRODUCT(--($A$1:$A$2500="CLE"),--($B$1:$B$2500="IE"),--($E$1:$E$2500=6),
    >>--($I$1:$I$2500<0))
    >>
    >>>which works perfectly. Now I want to find out the number of times a value
    >>>less than 20% appears in column J. Why won't this work when I change the
    >>>formula so the ending argument is
    >>>,--($J$1:$J$2500<.20)) ??
    >>>
    >>>I keep getting a #DIV/0 error!
    >>>

    >>
    >>
    >>


  5. #5
    Teri
    Guest

    Re: COUNT with Multiple Criteria Error

    Well, I'll be doggoned! There was one lousy cell (in 2400+ cells) that had
    an error message in it. I corrected it, and VOILA! Works!

    Thanks to both of you!

    "windsurferLA" wrote:

    > Going back to Bob Phillips comment, I'd check the lower J column cells
    > for the presence of data that does not allow a less-than test. Perhaps
    > you have numbers that have been entered as characters. The "Cntrl-`"
    > keys may help to view cell formulas.
    >
    > WindsurferLA
    >
    > Teri wrote:
    > > You're right! It does work if I decrease the range. It works all the way
    > > up to $2200, but I have data in rows $2201 through $2500 that have values
    > > less than 20%. How can I make this work?
    > >
    > > "Bob Phillips" wrote:
    > >
    > >
    > >>Works okay for me in a small test.Try reducing the number of rows, and
    > >>increase until you get an error, then check the data.
    > >>
    > >>--
    > >>
    > >>HTH
    > >>
    > >>RP
    > >>(remove nothere from the email address if mailing direct)
    > >>
    > >>
    > >>"Teri" <Teri@discussions.microsoft.com> wrote in message
    > >>news:83B3A3DE-A6A0-400A-ACD7-3ED67AD60FF1@microsoft.com...
    > >>
    > >>>I have the current formula:
    > >>>
    > >>>
    > >>
    > >>=SUMPRODUCT(--($A$1:$A$2500="CLE"),--($B$1:$B$2500="IE"),--($E$1:$E$2500=6),
    > >>--($I$1:$I$2500<0))
    > >>
    > >>>which works perfectly. Now I want to find out the number of times a value
    > >>>less than 20% appears in column J. Why won't this work when I change the
    > >>>formula so the ending argument is
    > >>>,--($J$1:$J$2500<.20)) ??
    > >>>
    > >>>I keep getting a #DIV/0 error!
    > >>>
    > >>
    > >>
    > >>

    >


  6. #6
    Bob Phillips
    Guest

    Re: COUNT with Multiple Criteria Error

    It's invariably rogue data :-))

    --

    HTH

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


    "Teri" <Teri@discussions.microsoft.com> wrote in message
    news:4B9AECA0-323C-40CB-A5A6-A879CF282440@microsoft.com...
    > Well, I'll be doggoned! There was one lousy cell (in 2400+ cells) that

    had
    > an error message in it. I corrected it, and VOILA! Works!
    >
    > Thanks to both of you!
    >
    > "windsurferLA" wrote:
    >
    > > Going back to Bob Phillips comment, I'd check the lower J column cells
    > > for the presence of data that does not allow a less-than test. Perhaps
    > > you have numbers that have been entered as characters. The "Cntrl-`"
    > > keys may help to view cell formulas.
    > >
    > > WindsurferLA
    > >
    > > Teri wrote:
    > > > You're right! It does work if I decrease the range. It works all

    the way
    > > > up to $2200, but I have data in rows $2201 through $2500 that have

    values
    > > > less than 20%. How can I make this work?
    > > >
    > > > "Bob Phillips" wrote:
    > > >
    > > >
    > > >>Works okay for me in a small test.Try reducing the number of rows, and
    > > >>increase until you get an error, then check the data.
    > > >>
    > > >>--
    > > >>
    > > >>HTH
    > > >>
    > > >>RP
    > > >>(remove nothere from the email address if mailing direct)
    > > >>
    > > >>
    > > >>"Teri" <Teri@discussions.microsoft.com> wrote in message
    > > >>news:83B3A3DE-A6A0-400A-ACD7-3ED67AD60FF1@microsoft.com...
    > > >>
    > > >>>I have the current formula:
    > > >>>
    > > >>>
    > > >>

    > >
    >>=SUMPRODUCT(--($A$1:$A$2500="CLE"),--($B$1:$B$2500="IE"),--($E$1:$E$2500=6

    ),
    > > >>--($I$1:$I$2500<0))
    > > >>
    > > >>>which works perfectly. Now I want to find out the number of times a

    value
    > > >>>less than 20% appears in column J. Why won't this work when I change

    the
    > > >>>formula so the ending argument is
    > > >>>,--($J$1:$J$2500<.20)) ??
    > > >>>
    > > >>>I keep getting a #DIV/0 error!
    > > >>>
    > > >>
    > > >>
    > > >>

    > >




+ 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