Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]() 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! -- gkaste ------------------------------------------------------------------------ gkaste's Profile: http://www.excelforum.com/member.php...o&userid=24525 View this thread: http://www.excelforum.com/showthread...hreadid=386847 |
#2
![]() |
|||
|
|||
![]()
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! |
#3
![]() |
|||
|
|||
![]() Thanks! It was even simpler than I thought. -- gkaste ------------------------------------------------------------------------ gkaste's Profile: http://www.excelforum.com/member.php...o&userid=24525 View this thread: http://www.excelforum.com/showthread...hreadid=386847 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I have a formula check if a value occurs within a range? | Excel Worksheet Functions | |||
check occurrence of items in a range | Excel Worksheet Functions | |||
Histograms: how change number of bins | Excel Discussion (Misc queries) | |||
I WANT TO SET PRINT RANGE TO NUMBER OF COLUMNS | Setting up and Configuration of Excel | |||
index to a range of cells | Excel Worksheet Functions |