Link to home
Start Free TrialLog in
Avatar of kirkwood
kirkwood

asked on

Range limit on COUNTIF function in Excel

   What is the limit of rows for which the COUNTIF function can be used? I use Excel to analyze survey responses and I have tried to use the COUNTIF function to count the number of "5s", "4s", "3s", etc., in a range of survey responses. The function works fine for a range of 20 or 30 cells, but fails if the range is a few hundred cells. The DCOUNT function works, but is more awkward and time consuming to use.
    Is there something I'm missing?
Avatar of kirkwood
kirkwood

ASKER

Edited text of question
Which version of Excel?
kirkwood,

I tried it on over 22,000 in Excel 97 and with 16,000 rows in Excel 5.0 and it seemed to work fine. If you want to send me the file I will see if I can get it to work for you. You can send the file to shalbe@san.rr.com

Steve
kirkwood,

I've looked at the file and found that your "blank" spaces are not blank. That is why the countif totals are wrong.  I sorted the data by q1 and highlighted all the blank spaces and hit Delete. Then it recalculated and gave the correct answers.

Was the data imported ?

Steve


    Thanks, Steve.  The solution is embarrassingly simple. Yes the data were imported.  It was the first time I have dealt with "blanks" from the source of the imported data.
ASKER CERTIFIED SOLUTION
Avatar of shalbe
shalbe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial