COUNTIF & Blank Cells

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
laurie said:
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
 
Thanks Franz much appreciated

Franz Verga said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top