Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
smb2000user100
 
Posts: n/a
Default How can I trim "4|+|23.68^" into "23.68" in excel 2000?


I can not find a solution for it. Please help me. Thank you!
--
George
  #2   Report Post  
N Harkawat
 
Posts: n/a
Default

If the number that you want to extract always begins after second instance
of "|" and ends just before "^" then use the following: -
=--(MID(A1,FIND("xx",SUBSTITUTE(A1,"|","xx",2))+1,FIN D("^",A1)-(FIND("xx",SUBSTITUTE(A1,"|","xx",2))+1)))

If the number that you want to extract always begins after second instance
of "|" and ends just before "^" then use the following: -

"smb2000user100" wrote in message
...

I can not find a solution for it. Please help me. Thank you!
--
George



  #3   Report Post  
smb2000user100
 
Posts: n/a
Default

Thank you very much! The formula solved my problem.

Best regards,

George

"N Harkawat" wrote:

If the number that you want to extract always begins after second instance
of "|" and ends just before "^" then use the following: -
=--(MID(A1,FIND("xx",SUBSTITUTE(A1,"|","xx",2))+1,FIN D("^",A1)-(FIND("xx",SUBSTITUTE(A1,"|","xx",2))+1)))

If the number that you want to extract always begins after second instance
of "|" and ends just before "^" then use the following: -

"smb2000user100" wrote in message
...

I can not find a solution for it. Please help me. Thank you!
--
George




  #4   Report Post  
Harlan Grove
 
Posts: n/a
Default

"N Harkawat" wrote...
If the number that you want to extract always begins after second instance
of "|" and ends just before "^" then use the following: -

....

If these assumptions hold, better to use Edit Replace to eliminate the ^s,
then use Data Text to Columns, Delimited, specify | as the delimiter, and
skip the first two fields.


  #5   Report Post  
smb2000user100
 
Posts: n/a
Default

Thank you! It is a good solution.

Best regards,

George

"Harlan Grove" wrote:

"N Harkawat" wrote...
If the number that you want to extract always begins after second instance
of "|" and ends just before "^" then use the following: -

....

If these assumptions hold, better to use Edit Replace to eliminate the ^s,
then use Data Text to Columns, Delimited, specify | as the delimiter, and
skip the first two fields.



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
I get a program error when I download an excel template Ladybug Excel Discussion (Misc queries) 3 March 4th 05 12:02 AM
html to excel nellie Excel Discussion (Misc queries) 4 February 8th 05 10:37 PM
Merge from Excel to Excel dalstar Excel Discussion (Misc queries) 3 January 30th 05 02:37 PM
Shortcut file fails to open JimH Excel Discussion (Misc queries) 3 January 15th 05 10:13 PM
pivotcell object to excel 2000 Kellyc Excel Discussion (Misc queries) 0 December 1st 04 03:45 PM


All times are GMT +1. The time now is 03:07 PM.

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"