S
snsyg
hello,
i am trying to search a range of cells for a certain value,
specifically an "X".
from my understanding, in order for the lookup function to work
properly, the list must first be sorted and in proper order...that is
not possible for what i am doing.
as a result of using an unsorted range of cells, some times an
incorrect value is returned.
here is the formula i am using:
=IF(ISNA(LOOKUP("X",A11)),"OK",(IF(LOOKUP("X",A11)<>"X","OK","Not
Complete")))
my intent is that anytime there is at least one "X" in the range of
cells, the value that is returned is "Not Complete", regardless of
whatever other values are in the cells before or after it.
if i input an "X" in one or more of the cells, the formula returns "Not
Complete", which is correct.
however, if, for example, i input an "X" in cell A1 and an "A" in B1,
the value that needs to be returned is "Not Complete", but instead i
get "OK". this is incorrect.
i have to use the letter "X".
is there another function i should be using rather than lookup that
looks for a specific value and ignores all others?
any help will be greatly appreciated.
thanks for your time
karen
i am trying to search a range of cells for a certain value,
specifically an "X".
from my understanding, in order for the lookup function to work
properly, the list must first be sorted and in proper order...that is
not possible for what i am doing.
as a result of using an unsorted range of cells, some times an
incorrect value is returned.
here is the formula i am using:
=IF(ISNA(LOOKUP("X",A11)),"OK",(IF(LOOKUP("X",A11)<>"X","OK","Not
Complete")))
my intent is that anytime there is at least one "X" in the range of
cells, the value that is returned is "Not Complete", regardless of
whatever other values are in the cells before or after it.
if i input an "X" in one or more of the cells, the formula returns "Not
Complete", which is correct.
however, if, for example, i input an "X" in cell A1 and an "A" in B1,
the value that needs to be returned is "Not Complete", but instead i
get "OK". this is incorrect.
i have to use the letter "X".
is there another function i should be using rather than lookup that
looks for a specific value and ignores all others?
any help will be greatly appreciated.
thanks for your time
karen