If I understand what you're looking for, enter this in C1, and drag down to
copy as needed:
=IF(B1,A1,"")
--
HTH,
RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================
"Henrik" wrote in message
...
Does anyone have any suggestions as to how to build a function that
automatically selects the next observation with a particular value assigned
to it?
For instance, I have a dataset that looks like this (where column A contains
a list of names and column B contains a corresponding value/toggle that can
be either TRUE or FALSE):
Apple TRUE
Banana TRUE
Lemon TRUE
Orange FALSE
Grapefruit TRUE
As the desired function is dragged down, it will only select observations
with a TRUE VALUE in column B. The result would be the following list of
names. If the Lemon toggle was changed to FALSE, the list would no longer
contain Lemon.
Apple
Banana
Lemon
Grapefruit
Thanks,
Henrik
|