View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
laurie g laurie g is offline
external usenet poster
 
Posts: 11
Default COUNTIF & Blank Cells

Thanks Franz much appreciated

"Franz Verga" wrote:

laurie g wrote:
Using =COUNTIF(Sheet1!$E$6:$E$119,A25) in B25 on sheet2 When I
copy down to B35 and if any cells in A25 to A35 is blank it gives a
result of 98, When it should be blank.Sheet1 E6:E119 is text and
A25:A35 on Sheet2 is also text. Please correct my formula for me.

Many thanks,
laurie g



Hi Laurie,

try this:

=IF(A25<"",COUNTIF(Sheet1!$E$6:$E$119,A25),"")


--
(I'm not sure of names of menus, options and commands, because
translating from the Italian version of Excel...)

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy