View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Amy-Marie Amy-Marie is offline
external usenet poster
 
Posts: 4
Default function showing false result when it is not

On Jan 30, 7:49*pm, GS wrote:
Amy-Marie pretended :

Can anyone see what is wrong with this function? =IF('Employee
Details'!V4:V93="P",COUNTIF('Employee Details'!Y4:Y93,1),0) - There
are loads of "P"'s in that range but it is still showing 0 as if it is
false. How this makes sense. Its driving me mad!!!


How do you know the zero is not the result of there being none of your
COUNTIF criteria?

--
Garry

Free usenet access athttp://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


There are loads of 1's, it is just not counting them. The elements of
the formula are for the right ranges as well.