Thread: Sumif/countif
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Barb Reinhardt Barb Reinhardt is offline
external usenet poster
 
Posts: 3,355
Default Sumif/countif

I prefer SUMPRODUCT, but I bet some COUNTIF would work.

SUMPRODUCT(--(ae9:ae8000<distance))

Where Distance is numeric.
--
HTH,
Barb Reinhardt



"reno" wrote:

have a range of of 8000 rows organized by zip codes
have formula to calculate distance from inputed specific zipcode--- named
"distance"
have 12 columns that use vlookup to see if specific stores are within that
zipcode, if yes places an "X" else blank. (could change to "1")

while it seems simple enough to countif [if value is X countif <=distance]
but am getting incorrect results...the formula
countif(ae9:ae8000,"<distance",ag9:ag8000) where distance is entered