View Single Post
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=COUNTIF(F4:AK4,"20")-COUNTIF(F4:AK4,"=25")

or


=SUMPRODUCT(--(F3:AK320),--(F3:AK3<25))


note that this will not include 20 or 25,
if so use

=COUNTIF(F4:AK4,"=20")-COUNTIF(F4:AK4,"25")


or

=SUMPRODUCT(--(F3:AK3=20),--(F3:AK3<=25))

--

Regards,

Peo Sjoblom

"Matt" wrote in message
...
I am trying to count the occourances in a row of data that are between $20

&
$25. Based on postings I have tried a couple of options...both are

resulting
in "0".

=COUNTIF(F4:AK4,"and(F4:AK420,F4:AK4<25)")
=SUMPRODUCT(--(F3:AK3="20"),--(F3:AK3="<25"))
Any Ideas??