Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to find a particular work and give the comment in a different cell

Hi
I have a sheet containing 1500+ lines. I need to find a particulart
work "execute" or "script" from a cell which contains a big string
which is entered by users. I need to check whether that particular
work is there in that string and if its there i need to mention
"Present" in a different cell.

Can some one help me in solving this. I tried the built in functions
but was not able to get the correct result. If some one can give me a
VBA code for this it will be really helpful.

regards

Manoj S.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default How to find a particular work and give the comment in a different

Hi Manu,

Assume column A contains words "execute" and"script", and you want "Present"
to appear in column B, then type in B2 the following formula, and fill it
down to 1500+ as needed:

=IF(AND(ISERROR(SEARCH("execute",A2)),ISERROR(SEAR CH("script",A2))),"","Present")

Regards,
Stefi



€˛Manu€¯ ezt Ć*rta:

Hi
I have a sheet containing 1500+ lines. I need to find a particulart
work "execute" or "script" from a cell which contains a big string
which is entered by users. I need to check whether that particular
work is there in that string and if its there i need to mention
"Present" in a different cell.

Can some one help me in solving this. I tried the built in functions
but was not able to get the correct result. If some one can give me a
VBA code for this it will be really helpful.

regards

Manoj S.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do gettinf certified give you a edge in the work place? Bren Excel Discussion (Misc queries) 2 May 1st 07 06:37 PM
Can a formula find a comment in a cell CRH Excel Worksheet Functions 3 September 28th 06 07:47 AM
Find comment replace cell value [email protected] Excel Discussion (Misc queries) 3 July 5th 06 09:42 PM
In excel my find a value in a cell won't work. Why? Rick in Colorado Excel Worksheet Functions 1 December 17th 05 06:18 AM
Find cell of equal value of a range and give result of ajoining co Word and Excel startup Excel Programming 1 August 4th 04 09:58 PM


All times are GMT +1. The time now is 09:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"