![]() |
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. |
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 |
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. |
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. |
All times are GMT +1. The time now is 07:14 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com