View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
isis isis is offline
external usenet poster
 
Posts: 3
Default Countif gone wrong

Hi,

A B C D E
2000BC DEF DEF DEF 2000BC
ABC 2000BC DEF 2000BC DEF
2000BC 2000BC 2000BC 2000BC 2000BC
ABC 2000BC DEF DEF DEF

This normally works but Im having a problem with it now. My formula
looks like this
=COUNTIF(Sheet3!A:A,"=2000BC")+COUNTIF(Sheet3!B:B, "=2000BC")+COUNTIF(Sheet3!C:C,"=2000BC")+COUNTIF(S heet3!D:D,"=2000BC")+COUNTIF(Sheet3!E:E,"=2000BC")
The column range is a lot of lines ie reason why I use column:column, the
last countif was added & it returns answer as 0 instead of adding 2 more-if I
change the formula to only read =COUNTIF(Sheet3!E:E,"=2000BC") it gives me a
0.