One way:
=COUNTIF(A1:A5,2) 0
In article ,
gkaste wrote:
Is there any way (hopefully easy, no code) to check if a number exists
in a range?
For example, A1 to A5 contains the numbers 1, 2, 3, 4, 5. I want to
check if range A1:A5 contains, for example 2. Just have a true or
false return.
Thanks!
|