View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default if then statement

=ABS(COUNTIF(A:A,"" & 4999)-COUNTIF(A:A,"" & 9998))

--
Gary''s Student - gsnu200764


"Amy" wrote:

I would like to count the number of cells in a range that has a number in it
that is greather than 4999 but less than 9999 - any ideas