Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Extracting charecter from a string

do you wish to achieve this:

=MID(D3;FIND("0910\",D3)+5,LEN(D3)-FIND("0910\",D3)-5)

?


On 26 Lis, 13:06, Trevor Aiston
wrote:
I have strings of text which are file locations within a worksheet
e.g "\Clinical_Audit\Projects\Project Monitoring\Audit\0910\CAMHS\02
Improving access to appropriate services for children, young people and their
families\"
I want to extract the service code from the string (ins this case "CAMHS")
and can do for this row using
=MID(D3,56,5)
But some of the service directories (all begin at char 56) are the same
length (5) others have 4 char some 2 etc.

ANy ideas who to acheive this?

THanks
Trevor


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
Extracting text from a string [email protected] Excel Worksheet Functions 8 June 2nd 08 10:09 PM
Extracting text from string Confused Excel Worksheet Functions 4 February 15th 08 03:34 PM
Charecter set Suunto Excel Discussion (Misc queries) 3 January 16th 08 02:30 PM
Extracting a string Peter Rooney Excel Discussion (Misc queries) 5 June 20th 06 06:34 PM
extracting numbers from string Chris Dowell via OfficeKB.com Excel Discussion (Misc queries) 1 January 12th 05 09:37 PM


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