View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dcwood57 dcwood57 is offline
external usenet poster
 
Posts: 9
Default Formula in DCounta Criteria

I'm trying to create multiple queries for users using dropdown lists.

I use the formula =IF(ISBLANK(J4),"","="&J4) in the criteria range.

However, Dcounta does not count the record if the field in the record is
blank.

If I do the exact same query except have nothing in the criteria cell, it
counts all records. I think the problem is that DCounta does not an empty
string "" the same as a true blank cell.

Anybody have any suggestions on how to work around this?

Thanks.