Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2008

Tip: Looking for answers? Try searching our database.

Function neede which checks if a value in a cell is in a defined s

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
LastPhilippe - 21 May 2008 16:54 GMT
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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.