Hello,
example:
I have a row where can be the names of animals: cow, cat, dog, frog, ...
To analyse the content against some special values, eg. pets(cat, dog), I
need a function which returns true (or 1) and false (or 0):
is_in_set(b$2$;pets)
or
is_in_set(b$2$;(cat,dog))
Any idea?

Signature
LastPhilippe Johannes
Luke M - 21 May 2008 17:06 GMT
Sounds like you could use some sort of VLOOKUP, and if it returns an error,
you would know the item was not in your list of pets.
=IF(ISERROR(VLOOKUP(B2,D1:D10,1,FALSE)),0,1)
Where D1:D10 is where your list is.

Signature
Best Regards,
Luke M
> Hello,
>
[quoted text clipped - 7 lines]
>
> Any idea?
Marcelo - 21 May 2008 18:08 GMT
see if copy and paste special transpose
solve it
hth

Signature
regards from Brazil
Thanks in advance for your feedback.
Marcelo
> Hello,
>
[quoted text clipped - 7 lines]
>
> Any idea?
Marcelo - 21 May 2008 18:32 GMT
sorry I have posted it wrong

Signature
regards from Brazil
Thanks in advance for your feedback.
Marcelo
> see if copy and paste special transpose
>
[quoted text clipped - 13 lines]
> >
> > Any idea?