View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Mike Mike is offline
external usenet poster
 
Posts: 3,101
Default How do I create a formula to tell if A2:A25 contains a negative va

This should do it
=IF(COUNTIF(A2:A25,"<0"),"negative in list","no negative in list")

"Bill" wrote:

I want to know how to write a simple (please, not VBA) formula to let me know
if a range contains a negative value, i.e., IF(A2:A25) contains a value less
than zero, "negative in list","no negative in list"))