Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Is there a function (or an addin with this function) that just defines wethera character is present in a string or not ?
("Find" gives an error-string if the character is not present). Thanks, Gilbert |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=isnumber(find(...))
will return true/false if the string is found. Gilbert De Ceulaer wrote: Is there a function (or an addin with this function) that just defines wethera character is present in a string or not ? ("Find" gives an error-string if the character is not present). Thanks, Gilbert -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Gilbert,
What do you want returned if a string is not present? Try something like =IF(ISERROR(FIND("a",A1)),"NotFound",FIND("a",A1)) -- Kind regards, Niek Otten Microsoft MVP - Excel "Gilbert De Ceulaer" wrote in message ... Is there a function (or an addin with this function) that just defines wethera character is present in a string or not ? ("Find" gives an error-string if the character is not present). Thanks, Gilbert |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Thu, 29 Nov 2007 22:10:41 +0100, "Gilbert De Ceulaer"
wrote: Is there a function (or an addin with this function) that just defines wethera character is present in a string or not ? ("Find" gives an error-string if the character is not present). Thanks, Gilbert You can simply test for the error: For example: =if(iserr(find(...),"Not Prsent","Present") --ron |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
Try =IF(ISNUMBER(FIND(your find formula)),"do 1",do 2") -- Regards Roger Govier "Gilbert De Ceulaer" wrote in message ... Is there a function (or an addin with this function) that just defines wethera character is present in a string or not ? ("Find" gives an error-string if the character is not present). Thanks, Gilbert |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sorry, typo
Missing set of quotes =IF(ISNUMBER(FIND(your find formula)),"do 1","do 2") Replace Do 1 and Do 2 with whatever you want depending on the outcome of the test. -- Regards Roger Govier "Roger Govier" <roger@technology4unospamdotcodotuk wrote in message ... Hi Try =IF(ISNUMBER(FIND(your find formula)),"do 1",do 2") -- Regards Roger Govier "Gilbert De Ceulaer" wrote in message ... Is there a function (or an addin with this function) that just defines wethera character is present in a string or not ? ("Find" gives an error-string if the character is not present). Thanks, Gilbert |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy of excel file not showing formulal/function in the function b | Excel Discussion (Misc queries) | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
Offset function with nested match function not finding host ss. | Excel Worksheet Functions | |||
Emulate Index/Match combo function w/ VBA custom function | Excel Worksheet Functions | |||
Nested IF Function, Date Comparing, and NetworkDays Function | Excel Worksheet Functions |