View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Dave is offline
external usenet poster
 
Posts: 1,388
Default COUNTIF counting incorrectly

Slight correction - d1 has a header, and gives me a FALSE, however cutting it
out and making the formula d2 to d10k does not change the incorrect count.

"Dave" wrote:

Mike,

I get all true for my fields with data, however after line 3670 (last night
filled in), I get false, as I would expect. I've used countif before without
having it count blank fields (that would be how it works, I thought).

"Mike H" wrote:

Dave

there is probably something wrong with your data in d1 - Dxxx

Put this in e1 or another helper column
=ISNUMBER(D1)
drag down and it should return TRUE for each number and FALSE for text.

Mike

"Dave" wrote:

Hi there excel gurus. I'm stumped as to how to rectify a bug in Excel2000
with the COUNTIF function. Simply put, the number is not coming up
correctly. I have a very simple function:

=COUNTIF(Current!D1:D10000,"=180")

which should give me everything in the column with a value of 180 or
greater, however, the number is off by a few. I'm getting 1531 when there
1537 records when I simply use the cursor to count. I found a Knowledge base
article that was possibly on it, but was unable to make the formula work
based on their suggestions. The last line of the data currently ends at 3700
something, but it will continue to grow, thus my 10k figure. Even changing
this to the last line does not alter the incorrect count.

Please advise!