I would create a third helper column, in column C and run the following
formula down:
=IF(A1=[certain value],IF(NOT(ISBLANK(B1)),"Nonblank",""))
Then, count the number of "Nonblank" responses you get: =COUNTIF([range from
helper column]="Nonblank")
Dave