Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How can i extract some text data.....

I am doing a special project in my work...my problem is i can find the
right command in elimininating some data from the data base provided to
me....here is the example...

Le Yuan [Jolin Tsai]
Ye Qu [Jay Chou]
Ai Mei [Rainie Yang]

I need to take out all the data in close parenthesis to match with my
data base in performing the look up function.

Here is the command i used courtesy of John Walkenback book, but my
problem is this command cant particulary identify the word in close
parenthesis only..

=IF(ISERR(FIND(" ",C24))," ",LEFT(C24,LEN(C24)-FIND(" ",C24,1)))

Thanks in advance for the help!!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default How can i extract some text data.....

will this work for you?

=IF(ISERR(FIND("",C24))," ",LEFT(C24,FIND("[",C24,1)-2))

--


Gary


"Saz" wrote in message
oups.com...
I am doing a special project in my work...my problem is i can find the
right command in elimininating some data from the data base provided to
me....here is the example...

Le Yuan [Jolin Tsai]
Ye Qu [Jay Chou]
Ai Mei [Rainie Yang]

I need to take out all the data in close parenthesis to match with my
data base in performing the look up function.

Here is the command i used courtesy of John Walkenback book, but my
problem is this command cant particulary identify the word in close
parenthesis only..

=IF(ISERR(FIND(" ",C24))," ",LEFT(C24,LEN(C24)-FIND(" ",C24,1)))

Thanks in advance for the help!!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How can i extract some text data.....

I never thought how easy is that for you...I am trouble shooting that
formula since this morning..you save my day! thanks a lot Gary!!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default How can i extract some text data.....

or do you want the text within the brackets?

=MID(C24,FIND("[",C24,1)+1,LEN(C24)-FIND("[",C24,1)-1)

--


Gary


"Saz" wrote in message
oups.com...
I am doing a special project in my work...my problem is i can find the
right command in elimininating some data from the data base provided to
me....here is the example...

Le Yuan [Jolin Tsai]
Ye Qu [Jay Chou]
Ai Mei [Rainie Yang]

I need to take out all the data in close parenthesis to match with my
data base in performing the look up function.

Here is the command i used courtesy of John Walkenback book, but my
problem is this command cant particulary identify the word in close
parenthesis only..

=IF(ISERR(FIND(" ",C24))," ",LEFT(C24,LEN(C24)-FIND(" ",C24,1)))

Thanks in advance for the help!!



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
Need to extract specific data from a text column Homecomingwarrior Excel Worksheet Functions 2 April 12th 10 11:10 PM
refer a cell text in b1 and extract remaing text from a1 Narnimar Excel Discussion (Misc queries) 4 April 3rd 10 12:30 PM
Extract DAta from text gibbylinks Excel Discussion (Misc queries) 1 April 10th 09 10:28 AM
Search/Extract Data w/in Text File D.Parker Excel Discussion (Misc queries) 4 June 21st 05 07:33 PM
open text file to extract data S.E. Excel Programming 2 September 8th 04 03:53 AM


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

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

About Us

"It's about Microsoft Excel"