VBABEGINER
Well-known Member
- Joined
- Jun 15, 2011
- Messages
- 1,284
- Office Version
- 365
- Platform
- Windows
Pls Note: The following query answer i got from one of our MrExcel Member, but this is some applicable to limited no. of result, hence query asking again.
The solution I got that is-
My query was, i have data like,
Tag No.
P01.SG-17 P01B.SG-18
P01.SG-17 P01A.SG-25
P05.SG-21 P05A.SG-22
P02.SG-11
P02.SG-12
P07.SG-12 P07A.SG-15 P07B.SG-16
O/p should be -
P01 P01B
P01 P01A
P05 P05A
P02
P02
P07 P07A P07B
The reason i red marked, the formula is fixed. That made for 2 naming convention only. Not Single ("P02.SG-11") or for three content.
That is, if set this much only-
I dont want this.
tag no. can be any length of content. Only SG tag dont want to display.
Tha is from 1st "." to space and like way.
Can any one there to SOLVE problem?
I am also trying some R&D, by using SUBSTITUTE function.
The solution I got that is-
=MID(F12,1,FIND(".",F12)-1)&MID(F12,FIND(" ",F12),FIND(".",F12,FIND(" ",F12))-FIND(" ",F12))
My query was, i have data like,
Tag No.
P01.SG-17 P01B.SG-18
P01.SG-17 P01A.SG-25
P05.SG-21 P05A.SG-22
P02.SG-11
P02.SG-12
P07.SG-12 P07A.SG-15 P07B.SG-16
O/p should be -
P01 P01B
P01 P01A
P05 P05A
P02
P02
P07 P07A P07B
The reason i red marked, the formula is fixed. That made for 2 naming convention only. Not Single ("P02.SG-11") or for three content.
That is, if set this much only-
then this will applicable to only single naming convetions.=MID(F12,1,FIND(".",F12)-1)&MID(F12,FIND(" ",F12))
I dont want this.
tag no. can be any length of content. Only SG tag dont want to display.
Tha is from 1st "." to space and like way.
Can any one there to SOLVE problem?
I am also trying some R&D, by using SUBSTITUTE function.