Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
array
Hi,
I have an array with 3 elements, 0,1,2 0=a 1=b 2=c I have a range of data, a1:a100 Is there an easy way to test if activecell.value is contained in array if a1=b returns true if a2=x returns false or do I have to do a for/next loop for each cell thanks peter |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
array
=IF(ISNA(MATCH(A1,{"a","b","c"},0)),FALSE,TRUE)
entered in Cell B1 and filled down to B100 Alan Beban peter wrote: Hi, I have an array with 3 elements, 0,1,2 0=a 1=b 2=c I have a range of data, a1:a100 Is there an easy way to test if activecell.value is contained in array if a1=b returns true if a2=x returns false or do I have to do a for/next loop for each cell thanks peter |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Complex conditional summing - array COUNT works, array SUM gives#VALUE | Excel Worksheet Functions | |||
Array formula: how to join 2 ranges together to form one array? | Excel Worksheet Functions | |||
Prevent cell/array references from changing when altering/moving thecell/array | Excel Discussion (Misc queries) | |||
meaning of : IF(Switch; Average(array A, array B); array A) | Excel Worksheet Functions | |||
combining cells and array from different sheets into an array to pass to IRR() | Excel Discussion (Misc queries) |