Hello Amir,

you can use below formula as well.

=LEFT(MID(A2,FIND(" ",A2)+1,FIND(" ",A2,FIND(" ",A2)+1)),FIND(" ",MID(A2,FIND(" 
",A2)+1,FIND(" ",A2,FIND(" ",A2)+1))))

but i think below formula is much shorter than this 1.  :) 




>________________________________
> From: Aamir Shahzad <[email protected]>
>To: [email protected] 
>Sent: Sunday, 18 December 2011 1:14 AM
>Subject: Re: $$Excel-Macros$$ Mid Function
> 
>
>Thanks Asa
>
>
>
>Aamir Shahzad
>
>On Sun, Dec 18, 2011 at 12:36 AM, Asa Rossoff <[email protected]> wrote:
>
>Hello Aamir,
>>You can use:
>>=MID(A2,FIND(" ",A2)+1,FIND(" ",A2,FIND(" ",A2)+1)-FIND(" ",A2))
>> 
>>Because the third argument to MID is the starting position, we can start the 
>>search for the second space after the first space. 
>>~Asa
>> 
>>From:[email protected] [mailto:[email protected]] On 
>>Behalf Of Aamir Shahzad
>>Sent: Saturday, December 17, 2011 11:04 AM
>>To: [email protected]
>>Subject: $$Excel-Macros$$ Mid Function
>> 
>>Dear Group,
>> 
>>When I am extracting the "Insulators" text by below mentioned mid function it 
>>shows only "Insulat", Please suggest what amendment required in this formula. 
>> 
>>Ceramic Insulators #124-TD45-87
>>
>> 
>>=MID(A2,FIND(" ",A2),FIND(" ",A2))
>>
>>-- 
>>Regards,
>>Aamir Shahzad
>> 
>>-- 
>>FORUM RULES (934+ members already BANNED for violation)
>> 
>>1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
>>Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not 
>>get quick attention or may not be answered.
>> 
>>2) Don't post a question in the thread of another member.
>> 
>>3) Don't post questions regarding breaking or bypassing any security measure.
>> 
>>4) Acknowledge the responses you receive, good or bad.
>> 
>>5) Cross-promotion of, or links to, forums competitive to this forum in 
>>signatures are prohibited. 
>> 
>>NOTE : Don't ever post personal or confidential data in a workbook. Forum 
>>owners and members are not responsible for any loss.
>> 
>>------------------------------------------------------------------------------------------------------
>>To post to this group, send email to [email protected]
>>-- 
>>FORUM RULES (934+ members already BANNED for violation)
>> 
>>1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
>>Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not 
>>get quick attention or may not be answered.
>> 
>>2) Don't post a question in the thread of another member.
>> 
>>3) Don't post questions regarding breaking or bypassing any security measure.
>> 
>>4) Acknowledge the responses you receive, good or bad.
>> 
>>5)  Cross-promotion of, or links to, forums competitive to this forum in 
>>signatures are prohibited. 
>> 
>>NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
>>owners and members are not responsible for any loss.
>> 
>>------------------------------------------------------------------------------------------------------
>>To post to this group, send email to [email protected]
>>
>
>
>-- 
>
>Regards,
>Aamir Shahzad
>-- 
>FORUM RULES (934+ members already BANNED for violation)
> 
>1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
>Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
>quick attention or may not be answered.
> 
>2) Don't post a question in the thread of another member.
> 
>3) Don't post questions regarding breaking or bypassing any security measure.
> 
>4) Acknowledge the responses you receive, good or bad.
> 
>5)  Cross-promotion of, or links to, forums competitive to this forum in 
>signatures are prohibited. 
> 
>NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
>owners and members are not responsible for any loss.
> 
>------------------------------------------------------------------------------------------------------
>To post to this group, send email to [email protected]
>
>
>

-- 
FORUM RULES (934+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to [email protected]

Reply via email to