Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 31-10-2009
Member
 
Join Date: Mar 2009
Posts: 1,360
Search function in sequence with characters

I have a problem with an Excel file, the formula I use

Code:
=IF(ISERROR(SEARCH(BN$3;$B$4));"";1)
In the box BN3 is entered, for example, Datastage. But if the word Datastage is written on one line but the form following:

Quote:
xxx/datastage/yy/zz,
Excel will not pull me information.

My hope is to raise the keyword content in cell BN3 but even if this keyword is a character sequence.
Reply With Quote
  #2  
Old 31-10-2009
Member
 
Join Date: Oct 2005
Posts: 2,389
Re: Search function in sequence with characters

Code:
=IF(LEN (A1)=LEN(SUBSTITUTE(A1;A2;""));"";1)
the principle is that the function substitute () replaces a string with another and does nothing if the string is not present. If asked to replace the empty string "", length is unchanged if that is not present and it will decrease this.
Reply With Quote
  #3  
Old 31-10-2009
Member
 
Join Date: Feb 2008
Posts: 1,848
Re: Search function in sequence with characters

Try this:

Code:
  IF (ISERROR (SEARCH ("*" &BN$ 3 & "*" ;$B$ 4)) ; "" ; 1)
Reply With Quote
  #4  
Old 31-10-2009
Member
 
Join Date: May 2008
Posts: 2,383
Re: Search function in sequence with characters

I think the problem is that Excel automatically interleaves depending on whether the text position where it is copied to another file. You can change the options in excel on the subject but it will reverse the problem and the desired words would not be found:
Tools/Options/Spelling and AutoCorrect lists replace, delete.
__________________
The FIFA Manager 2009 PC Game
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Search function in sequence with characters"
Thread Thread Starter Forum Replies Last Post
Quick search Function in Opera with different Search engines? Oorja Technology & Internet 2 23-02-2012 05:53 PM
Help to search the file in the C++ language using function Gaauge Software Development 5 16-02-2010 05:17 PM
Search MAX / IF function in excel Windowed Windows Software 5 05-01-2010 02:00 PM
Function search in a string Amandev Software Development 3 24-11-2009 02:19 PM
Search function does not working in Windows XP Sachit Operating Systems 3 17-07-2009 11:16 AM


All times are GMT +5.5. The time now is 02:29 PM.