View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Joe User[_2_] Joe User[_2_] is offline
external usenet poster
 
Posts: 905
Default CountIf or leave blank

"bcags7" wrote:
See formula below...if it doesn't find any cells
that contain "*A", a zero is entered in the cell.
I would like the cell to remain blank if nothing
is found.


=IF(COUNTIF($I$27:$BR$34,"*A"), COUNTIF($I$27:$BR$34,"*A"), "")


----- original message -----

"bcags7" wrote:
See formula below...if it doesn't find any cells that contain "*A", a zero is
entered in the cell. I would like the cell to remain blank if nothing is
found. Is this possible?

Thanks in advance

=COUNTIF($I$27:$BR$34,"*A")