Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello
I have only started to use and realise the power of using named lists to represent a range of values. I am sure it is a simple thing to do, but what is the easiest logical formula test that will look at a cell and return a TRUE value if the entry in the cell belongs to a pre-defined named list and a FALSE value if it does not. Thanks in advance Bullman |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=isnumber(match(a1,sheet2!a:a,0))
My list is in Sheet2, column A (and nothing else is there). And I'm checking the value in A1 of the activesheet. Bullman wrote: Hello I have only started to use and realise the power of using named lists to represent a range of values. I am sure it is a simple thing to do, but what is the easiest logical formula test that will look at a cell and return a TRUE value if the entry in the cell belongs to a pre-defined named list and a FALSE value if it does not. Thanks in advance Bullman -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi!
To check if it's part of a SPECIFIC named range/list: Test cell A1 to see it its value is contained in a named range called List: =ISNUMBER(MATCH(A1,List,0)) =COUNTIF(List,A1)0 Will return either TRUE or FALSE. To check if it's part of ANY named range/list, I don't think that can be done with a formula. Biff "Bullman" wrote in message oups.com... Hello I have only started to use and realise the power of using named lists to represent a range of values. I am sure it is a simple thing to do, but what is the easiest logical formula test that will look at a cell and return a TRUE value if the entry in the cell belongs to a pre-defined named list and a FALSE value if it does not. Thanks in advance Bullman |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
All great help guys, thanks!
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Return entry in column above/below cell | Excel Worksheet Functions | |||
How to create a List inside a cell? | Excel Discussion (Misc queries) | |||
Ooh .. Linking a list to a list to an output cell | Excel Discussion (Misc queries) | |||
resolving a numeric cell entry for its meaning | Excel Worksheet Functions | |||
Move the last entry in a column to a different cell, when the loc. | Excel Worksheet Functions |