View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Saintsman Saintsman is offline
external usenet poster
 
Posts: 81
Default Ignor null in count

I need to count the number of values between -5.5% & +5.5%.
I use named ranges pcp & classification (classification is linked to a drop
down list)

={SUM(IF(pcp<5.5%,IF(classification=B38,1,0)))-SUM(IF(pcp<-5.5%,IF(classification=B38,1,0)))}

The formula works nearly OK except that it counts NULL values. I can have 0
values ocasionally which need to be included, but not empty cells
Can anyone help?

Saintsman