If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Check to see if a value exists in a list?
Hi and thanks again for your help out there...
Is there any function to test if a particular value exists in a list? A simple example: Column A1= car; A2=train; A3=plane In B2 I place "car". Is there a function which will return TRUE if B2 exists in A1:A3, or false otherwise? Thanks Pradhan |
#2
|
|||
|
|||
Check to see if a value exists in a list?
One way...
=COUNTIF(A1:A3,B2)0 -- Biff Microsoft Excel MVP "Pradhan" wrote in message news Hi and thanks again for your help out there... Is there any function to test if a particular value exists in a list? A simple example: Column A1= car; A2=train; A3=plane In B2 I place "car". Is there a function which will return TRUE if B2 exists in A1:A3, or false otherwise? Thanks Pradhan |
#3
|
|||
|
|||
Check to see if a value exists in a list?
Try
=IF(COUNTIF(A1:A3,B1),TRUE,FALSE) -- Jacob "Pradhan" wrote: Hi and thanks again for your help out there... Is there any function to test if a particular value exists in a list? A simple example: Column A1= car; A2=train; A3=plane In B2 I place "car". Is there a function which will return TRUE if B2 exists in A1:A3, or false otherwise? Thanks Pradhan |
#4
|
|||
|
|||
Check to see if a value exists in a list?
=OR(INDEX(A1:A3=B2,))
"Pradhan" wrote: Hi and thanks again for your help out there... Is there any function to test if a particular value exists in a list? A simple example: Column A1= car; A2=train; A3=plane In B2 I place "car". Is there a function which will return TRUE if B2 exists in A1:A3, or false otherwise? Thanks Pradhan |
#5
|
|||
|
|||
Check to see if a value exists in a list?
Hi,.
Array enter the following formula (Ctrl+Shift+Enter) =B2=A1:A3 -- Regards, Ashish Mathur Microsoft Excel MVP "Pradhan" wrote in message news Hi and thanks again for your help out there... Is there any function to test if a particular value exists in a list? A simple example: Column A1= car; A2=train; A3=plane In B2 I place "car". Is there a function which will return TRUE if B2 exists in A1:A3, or false otherwise? Thanks Pradhan |
Thread Tools | |
Display Modes | |
|
|