Advertisement
crexin

Parse Text in between characters in Excel

Feb 6th, 2023
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | Software | 0 0
  1. https://www.exceldemy.com/extract-text-from-a-cell-in-excel/#43_Extract_Text_between_Two_Specific_Characters_from_a_Cell_Using_the_MID_and_SEARCH_Functions
  2.  
  3. TEST15060_TZ-048_2013-07-01T10_17_08.xml
  4.  
  5. =MID(D2, SEARCH("_",D2) + 1, SEARCH("_",D2,SEARCH("_",D2)+1) - SEARCH("_",D2) - 1)
  6.  
  7. Returns: TZ-048
  8.  
  9. The first text is in D2 in the Excel output for the Dose Return Name. The formula is how you would extract the TZ-048 Unit from that text.
Tags: excel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement