Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Obtain Middle vlaue of text with unknow length

Hi,

I have many cell with values like
01/ab123/09
01/123A/09
1/1A/9
I want to extract the middle value of each cell how could I do This.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Obtain Middle vlaue of text with unknow length

=LEFT(RIGHT(A1,LEN(A1)-FIND("/",A1,1)),-1+FIND("/",RIGHT(A1,LEN(A1)-FIND("/",A1,1))))

--
Gary''s Student - gsnu200902
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Obtain Middle vlaue of text with unknow length

Try this:

=MID(A1,FIND("/",A1)+1,FIND("/",A1,FIND("/",A1)+1)-1-FIND("/",A1))

--
Biff
Microsoft Excel MVP


"Abdul Shakeel" wrote in message
...
Hi,

I have many cell with values like
01/ab123/09
01/123A/09
1/1A/9
I want to extract the middle value of each cell how could I do This.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Obtain Middle vlaue of text with unknow length

=TRIM(MID(SUBSTITUTE(A1,"/",REPT(" ",99)),99,99))



"Abdul Shakeel" wrote:

Hi,

I have many cell with values like
01/ab123/09
01/123A/09
1/1A/9
I want to extract the middle value of each cell how could I do This.



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
hi, how to display my text vlaue in Axis (ex: J, F, M, A....) vijay Excel Discussion (Misc queries) 0 February 24th 09 09:51 AM
How can I obtain the average of the middle quartile of an array? nick Excel Worksheet Functions 5 January 30th 09 01:03 AM
Variable length array that exludes (possible) blanks in the middle Emma Excel Discussion (Misc queries) 1 January 21st 09 12:36 PM
IF and OR functions to obtain text descriptions Terranoman Excel Worksheet Functions 1 November 10th 06 09:07 AM
Add totals at end of the report with unknow number of rows with VB SITCFanTN New Users to Excel 3 June 4th 06 08:17 PM


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

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"