mohanprabhus
New Member
- Joined
- Dec 7, 2016
- Messages
- 17
Hi All,
I have my text data as below mentioned & i need to extract data
[TABLE="width: 500"]
<tbody>[TR]
[TD]
<tbody>
[TD="align: left"] 152/C Ist FLOOR, ASAMBU ROAD, VADASERRY, NAGERCOIL,629001,TAMIL NADU [/TD]
</tbody>[/TD]
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] 21-37-L, I FLOOR, VASANTHAM MAIN ROAD, THUCKALAY,629175,TAMIL NADU [/TD]
</tbody>[/TD]
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] MAIN ROAD, BALAPALLAM POST, BALAPALLAM,629159,TAMIL NADU [/TD]
</tbody>[/TD]
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] CONCORDIA BUILDING, 245/AC K P ROAD, NAGERCOIL,629001,TAMIL NADU [/TD]
</tbody>[/TD]
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] ST JOSEPH COMPLEX 150/21 UPSTAIRS, MEENAKSHIPURAM, NAGERCOIL,629001,TAMIL NADU [/TD]
</tbody>[/TD]
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] MAIN ROAD, KANYAKUMARI,629702,TAMIL NADU [/TD]
</tbody>[/TD]
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] BLD NO.8/361,ELAMBALLUR, KUNDARA P.O., KOLLAM DISTRICT, KUNDARA,691501,KERALA [/TD]
</tbody>[/TD]
[/TR]
</tbody>[/TABLE]
but i want like this, Can you helpme with this format And provide the formula to update.
I have extracted last one by using formula (=MID(H2,FIND("|",SUBSTITUTE(H2,",","|",LEN(H2)-LEN(SUBSTITUTE(H2,",",""))))+1,500) ), but do no to extract in between text and numbers.
[TABLE="width: 500"]
<tbody>[TR]
[TD]152/C Ist FLOOR, ASAMBU ROAD[/TD]
[TD]VADASERRY[/TD]
[TD] NAGERCOIL[/TD]
[TD]629001[/TD]
[TD]TAMIL NADU[/TD]
[/TR]
[TR]
[TD]21-37-L, I FLOOR[/TD]
[TD]VASANTHAM MAIN ROAD[/TD]
[TD]THUCKALAY[/TD]
[TD]
<tbody>
[TD="align: right"] 629175 [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: left"] TAMIL NADU [/TD]
</tbody>[/TD]
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] MAIN ROAD [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: left"] BALAPALLAM POST [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: left"] BALAPALLAM [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: right"] 629159 [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: left"] TAMIL NADU [/TD]
</tbody>[/TD]
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] CONCORDIA BUILDING, 245/AC [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: left"] K P ROAD [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: left"] NAGERCOIL [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: right"] 629001 [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: left"] TAMIL NADU [/TD]
</tbody>[/TD]
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] ST JOSEPH COMPLEX 150/21 UPSTAIRS [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: left"] MEENAKSHIPURAM [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: left"] NAGERCOIL [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: right"] 629001 [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: left"] TAMIL NADU [/TD]
</tbody>[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]
<tbody>
[TD="align: left"] MAIN ROAD [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: left"] KANYAKUMARI [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: right"] 629702 [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: left"] TAMIL NADU [/TD]
</tbody>[/TD]
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] BLD NO.8/361,ELAMBALLUR, KUNDARA P.O. [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: left"] KOLLAM DISTRICT [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: left"] KUNDARA [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: right"] 691501 [/TD]
</tbody>[/TD]
[TD]
<tbody>
[TD="align: left"] KERALA [/TD]
</tbody>[/TD]
[/TR]
</tbody>[/TABLE]
I have my text data as below mentioned & i need to extract data
[TABLE="width: 500"]
<tbody>[TR]
[TD]
<tbody>
[TD="align: left"] 152/C Ist FLOOR, ASAMBU ROAD, VADASERRY, NAGERCOIL,629001,TAMIL NADU [/TD]
</tbody>
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] 21-37-L, I FLOOR, VASANTHAM MAIN ROAD, THUCKALAY,629175,TAMIL NADU [/TD]
</tbody>
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] MAIN ROAD, BALAPALLAM POST, BALAPALLAM,629159,TAMIL NADU [/TD]
</tbody>
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] CONCORDIA BUILDING, 245/AC K P ROAD, NAGERCOIL,629001,TAMIL NADU [/TD]
</tbody>
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] ST JOSEPH COMPLEX 150/21 UPSTAIRS, MEENAKSHIPURAM, NAGERCOIL,629001,TAMIL NADU [/TD]
</tbody>
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] MAIN ROAD, KANYAKUMARI,629702,TAMIL NADU [/TD]
</tbody>
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] BLD NO.8/361,ELAMBALLUR, KUNDARA P.O., KOLLAM DISTRICT, KUNDARA,691501,KERALA [/TD]
</tbody>
[/TR]
</tbody>[/TABLE]
but i want like this, Can you helpme with this format And provide the formula to update.
I have extracted last one by using formula (=MID(H2,FIND("|",SUBSTITUTE(H2,",","|",LEN(H2)-LEN(SUBSTITUTE(H2,",",""))))+1,500) ), but do no to extract in between text and numbers.
[TABLE="width: 500"]
<tbody>[TR]
[TD]152/C Ist FLOOR, ASAMBU ROAD[/TD]
[TD]VADASERRY[/TD]
[TD] NAGERCOIL[/TD]
[TD]629001[/TD]
[TD]TAMIL NADU[/TD]
[/TR]
[TR]
[TD]21-37-L, I FLOOR[/TD]
[TD]VASANTHAM MAIN ROAD[/TD]
[TD]THUCKALAY[/TD]
[TD]
<tbody>
[TD="align: right"] 629175 [/TD]
</tbody>
[TD]
<tbody>
[TD="align: left"] TAMIL NADU [/TD]
</tbody>
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] MAIN ROAD [/TD]
</tbody>
[TD]
<tbody>
[TD="align: left"] BALAPALLAM POST [/TD]
</tbody>
[TD]
<tbody>
[TD="align: left"] BALAPALLAM [/TD]
</tbody>
[TD]
<tbody>
[TD="align: right"] 629159 [/TD]
</tbody>
[TD]
<tbody>
[TD="align: left"] TAMIL NADU [/TD]
</tbody>
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] CONCORDIA BUILDING, 245/AC [/TD]
</tbody>
[TD]
<tbody>
[TD="align: left"] K P ROAD [/TD]
</tbody>
[TD]
<tbody>
[TD="align: left"] NAGERCOIL [/TD]
</tbody>
[TD]
<tbody>
[TD="align: right"] 629001 [/TD]
</tbody>
[TD]
<tbody>
[TD="align: left"] TAMIL NADU [/TD]
</tbody>
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] ST JOSEPH COMPLEX 150/21 UPSTAIRS [/TD]
</tbody>
[TD]
<tbody>
[TD="align: left"] MEENAKSHIPURAM [/TD]
</tbody>
[TD]
<tbody>
[TD="align: left"] NAGERCOIL [/TD]
</tbody>
[TD]
<tbody>
[TD="align: right"] 629001 [/TD]
</tbody>
[TD]
<tbody>
[TD="align: left"] TAMIL NADU [/TD]
</tbody>
[/TR]
[TR]
[TD][/TD]
[TD]
<tbody>
[TD="align: left"] MAIN ROAD [/TD]
</tbody>
[TD]
<tbody>
[TD="align: left"] KANYAKUMARI [/TD]
</tbody>
[TD]
<tbody>
[TD="align: right"] 629702 [/TD]
</tbody>
[TD]
<tbody>
[TD="align: left"] TAMIL NADU [/TD]
</tbody>
[/TR]
[TR]
[TD]
<tbody>
[TD="align: left"] BLD NO.8/361,ELAMBALLUR, KUNDARA P.O. [/TD]
</tbody>
[TD]
<tbody>
[TD="align: left"] KOLLAM DISTRICT [/TD]
</tbody>
[TD]
<tbody>
[TD="align: left"] KUNDARA [/TD]
</tbody>
[TD]
<tbody>
[TD="align: right"] 691501 [/TD]
</tbody>
[TD]
<tbody>
[TD="align: left"] KERALA [/TD]
</tbody>
[/TR]
</tbody>[/TABLE]