Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Help to deciper the String Extraction formula


Found this, but need help to decipher the formula

==========================================
* returns the characters between the 3rd and 4th underscores (_):*

With Text in Cell A1: COMP_PROG_v1_ABCD_01
This formula in Cell B1 returns the characters between the 3rd and 4th underscores (_): B1: =TRIM(LEFT(SUBSTITUTE(MID(A1,FIND("|",SUBSTITUTE(A 1,"_","|",3))+1,LEN(A1)),"_",REPT(" ",LEN(A1))),LEN(A1)))
In the above example, the formula returns: ABCD
================================

Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Help to deciper the String Extraction formula


OK Got it by stepping through "Evaluate Formula"

Thanks.
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
String search & extraction from txt file Varun Excel Programming 1 February 19th 09 09:37 PM
string extraction not working. SteveDB1 Excel Programming 4 September 2nd 08 09:46 PM
Text string extraction Geoffric Excel Worksheet Functions 5 December 19th 07 07:18 PM
String Extraction... iceberg27 Excel Worksheet Functions 2 October 15th 05 04:28 AM
data extraction / cleansing a string column in a workbook Keith[_12_] Excel Programming 2 May 3rd 04 08:54 PM


All times are GMT +1. The time now is 01:42 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"