Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Ok, I need to search for partial text matches in an IF statement.
the base formula goes like this: =IF ((ISNUMBER(SEARCH("index", A1), "Indexed", "Not indexed") what i need is basically the same thing.. but looking for more than one search match. ideally something like: =IF((ISNUMBER(SEARCH("index" or "table" or "legend"), a1), "Indexed", "Not Indexed") Make sense? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try something like this:
For text in A1 B1: =IF(MAX(COUNTIF(A1,{"*index*","*table*","*legend*" })),"","not ")&"indexed" If A1 contains any of index, table, or legend the return value is "indexed"; otherwise "not indexed". Is that something you can work with? *********** Regards, Ron XL2002, WinXP-Pro "Eric Shamlin" wrote: Ok, I need to search for partial text matches in an IF statement. the base formula goes like this: =IF ((ISNUMBER(SEARCH("index", A1), "Indexed", "Not indexed") what i need is basically the same thing.. but looking for more than one search match. ideally something like: =IF((ISNUMBER(SEARCH("index" or "table" or "legend"), a1), "Indexed", "Not Indexed") Make sense? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Another way:
=IF(OR(ISNUMBER(SEARCH({"index","table","legend"}, A1))), "Indexed", "Not Indexed") Biff "Eric Shamlin" wrote in message ... Ok, I need to search for partial text matches in an IF statement. the base formula goes like this: =IF ((ISNUMBER(SEARCH("index", A1), "Indexed", "Not indexed") what i need is basically the same thing.. but looking for more than one search match. ideally something like: =IF((ISNUMBER(SEARCH("index" or "table" or "legend"), a1), "Indexed", "Not Indexed") Make sense? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VLookup function to search an entire workbook | Excel Worksheet Functions | |||
a search function | Excel Worksheet Functions | |||
Search function | Excel Discussion (Misc queries) | |||
Automatically up date time in a cell | Excel Discussion (Misc queries) | |||
Search function using commas | Excel Worksheet Functions |