Count Cells That Do Not Contain Errors Excel Formula
The result is 7, since there are seven cells in B5:B14 that do not contain error values. COUNTIF function One way to count cells that do not contain errors is to use the COUNTIF function like this: For criteria, we use the not equal to operator (<>) with #N/A. Notice both values are enclosed in double quotes. COUNTIF returns 9 since there are nine cells in B5:B15 that do not contain the #N/A error....