Problem with COUNTIF being off by 1

I

Injury

I'm having issues with the sum of the results of a series of COUNTIF
statements being 1 less than the expected result when compared to COUNTA of
the same range. COUNTA I confirm to be accurate by what I am seeing on the
sheet.

More specific to my workbook. WorksheetA has 12457 rows of data including
column headers. I have a range name set for column N (call it NRange for this
discussion), none of which are blank. COUNTA of Nrange returns the expected
result of 12456. I then did a series of countIFs of the 13 current values of
NRange. Included values were determined by creating a filter to see all the
values. When I try to verify results and use SUM on the count totals derived
from the COUNTIF(NRange,"value1), COUNTIF(Nrange,"Value2") etc etc I get a
result of 12455 (I expect 12456).

I have tried adding the wildcard * and my results didn't change. Although I
figured if I had a rogue value it would have been picked up in the list of
possible values when I looked at filtering for that column. I did a visual
check and none of the cells I'm expecting to be counted are empty.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top