Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teri
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default 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" wrote in message
...
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teri
 
Posts: n/a
Default 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" wrote in message
...
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
windsurferLA
 
Posts: n/a
Default 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" wrote in message
...

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teri
 
Posts: n/a
Default 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" wrote in message
...

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default COUNT with Multiple Criteria Error

It's invariably rogue data :-))

--

HTH

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


"Teri" wrote in message
...
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" wrote in message
...

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
count based on multiple date criteria lisaw Excel Worksheet Functions 1 August 9th 05 05:31 PM
I need to count while using multiple criteria Larry Excel Worksheet Functions 1 July 21st 05 04:56 PM
Arithmetical Mode of Criteria in Multiple Non-Adjacent columns Sam via OfficeKB.com Excel Worksheet Functions 4 July 14th 05 09:15 PM
Multiple Criteria IF Nesting BethB Excel Worksheet Functions 2 May 17th 05 12:14 AM
calculate percent from multiple criteria Jan Excel Worksheet Functions 0 November 10th 04 06:09 PM


All times are GMT +1. The time now is 05:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"