Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Extracting text from a string | Excel Worksheet Functions | |||
Extracting text from string | Excel Worksheet Functions | |||
Charecter set | Excel Discussion (Misc queries) | |||
Extracting a string | Excel Discussion (Misc queries) | |||
extracting numbers from string | Excel Discussion (Misc queries) |