Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Sat, 18 Aug 2007 06:03:45 -0000, Stem sells
wrote: Ron: Thanks for your input. The good news is that the syntax behind your logic statement is perfect. However, I truly think that there maybe some other error preventing the right answer from showing correctly (I tried the first option). I'm always getting "0.4". I think that this may have something to do with text and numerical characters. I've seen this error pop up in the past. Without seeing your formula, it's hard to know. Did you perhaps omit the tilde (~) before each asterisk? Does your data differ in format from that which you posted with regard to the <spaces? If so, and if it is variable, you might want to remove the spaces from the data to "normalize" it. =IF(ISNUMBER(SEARCH("Derivatives36~*--", SUBSTITUTE(A2," ",""))),0.4, IF(ISNUMBER(SEARCH("Derivatives36-~*-", SUBSTITUTE(A2," ",""))),0.6, IF(ISNUMBER(SEARCH("Derivatives36--~*", SUBSTITUTE(A2," ",""))),0.8,"Not Found"))) --ron |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Combining Date and String into 1 cell | Excel Worksheet Functions | |||
Combining a string of text | Excel Discussion (Misc queries) | |||
Function that searches cell for string? | Excel Worksheet Functions | |||
Getting valid web searches and avoiding sites that contaminate web searches | New Users to Excel | |||
Need help -- a Macro that searches for string in a cell range? | Excel Programming |