Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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? -- LastPhilippe Johannes |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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. -- Best Regards, Luke M "LastPhilippe" wrote: 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? -- LastPhilippe Johannes |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
see if copy and paste special transpose
solve it hth -- regards from Brazil Thanks in advance for your feedback. Marcelo "LastPhilippe" escreveu: 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? -- LastPhilippe Johannes |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
sorry I have posted it wrong
-- regards from Brazil Thanks in advance for your feedback. Marcelo "Marcelo" escreveu: see if copy and paste special transpose solve it hth -- regards from Brazil Thanks in advance for your feedback. Marcelo "LastPhilippe" escreveu: 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? -- LastPhilippe Johannes |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
User Defined Function | Excel Worksheet Functions | |||
Max of a defined function | Excel Worksheet Functions | |||
Color a result cell in a user defined function | Excel Discussion (Misc queries) | |||
Formula/function that checks for a set of values. | Excel Worksheet Functions | |||
help neede with adding times | Excel Discussion (Misc queries) |