intradayteam
New Member
- Joined
- Feb 15, 2010
- Messages
- 29
okay, I know this can be done, but i dont know how.
I have a huge text file containing data entries like the following.
1. Above i have differentiated the details of 2 companies by paragraph (enter on keyboard), but original data has no paragraph.
2. As you can see, both the company details have some common things (Executive, Mobile). But second company details have some extra fields like (Designation, Website)
3. Addresses are in various range, some has 2-3 lines and some has 4-5 lines.
What i am willing to do in excel !
[TABLE="******* 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[TD]L[/TD]
[TD]M[/TD]
[TD]N[/TD]
[TD]O[/TD]
[TD]P[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Company Name[/TD]
[TD]Executive[/TD]
[TD]Designation[/TD]
[TD]Mobile[/TD]
[TD]Executive[/TD]
[TD]Designation[/TD]
[TD]Mobile[/TD]
[TD]Member No[/TD]
[TD]Category[/TD]
[TD]Year of Established[/TD]
[TD]Address[/TD]
[TD]Phone[/TD]
[TD]Fax[/TD]
[TD]Email[/TD]
[TD]Website[/TD]
[TD]Product[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Company 1 Name[/TD]
[TD]Name 1[/TD]
[TD][/TD]
[TD]9824209211[/TD]
[TD]Name 2[/TD]
[TD][/TD]
[TD]9888888888[/TD]
[TD]S-133/I/L[/TD]
[TD]Food work, Cattle work[/TD]
[TD]1983[/TD]
[TD]Some address here line 1
Some address here line 2
Some address here line 3
Some address here line 4
[/TD]
[TD]22222222[/TD]
[TD]33333333[/TD]
[TD]some1@email.com[/TD]
[TD][/TD]
[TD]Some product 1, Some other product 2.[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Company 2 Name[/TD]
[TD]Name 3[/TD]
[TD]Manager[/TD]
[TD]999999999[/TD]
[TD]Name 4[/TD]
[TD]Director[/TD]
[TD]9777777777[/TD]
[TD]S-134/I/L[/TD]
[TD]other work[/TD]
[TD]1985[/TD]
[TD]Some address here line 1
Some address here line 2
Some address here line 3
Some address here line 4
[/TD]
[TD]44444444[/TD]
[TD]55555555[/TD]
[TD]some2@email.com[/TD]
[TD]www.website.com[/TD]
[TD]Some product, Some other product.[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
and so on.
I dont know how to pull data in excel from text file, and arrange it like this. I know this is possible.
Any help would be great.
I can even send/upload the ORIGINAL text file, which is less than 1MB.
I have a huge text file containing data entries like the following.
Code:
Executive: Name 1
Mobile: 9824209211
Executive: Name 2
Mobile: 9888888888
Company 1 Name
Member No: S-133/I/L
Category: Food work, Cattle work
Year of Established: 1983
Address: Some address here line 1
Some address here line 2
Some address here line 3
Some address here line 4
Phone: 22222222
Fax: 33333333
Email: some1@email.com
Product: Some product 1, Some other product 2.
Executive: Name 3
Mobile: 999999999
Designation: Manager
Executive: Name 4
Mobile: 9777777777
Designation: Director
Company 2 Name
Member No: S-134/I/L
Category: other work
Year of Established: 1985
Address: Some address here line 1
Some address here line 2
Some address here line 3
Some address here line 4
Phone: 44444444
Fax: 55555555
Email: some2@email.com
Website: www.website.com
Product: Some product, Some other product.
1. Above i have differentiated the details of 2 companies by paragraph (enter on keyboard), but original data has no paragraph.
2. As you can see, both the company details have some common things (Executive, Mobile). But second company details have some extra fields like (Designation, Website)
3. Addresses are in various range, some has 2-3 lines and some has 4-5 lines.
What i am willing to do in excel !
[TABLE="******* 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[TD]L[/TD]
[TD]M[/TD]
[TD]N[/TD]
[TD]O[/TD]
[TD]P[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Company Name[/TD]
[TD]Executive[/TD]
[TD]Designation[/TD]
[TD]Mobile[/TD]
[TD]Executive[/TD]
[TD]Designation[/TD]
[TD]Mobile[/TD]
[TD]Member No[/TD]
[TD]Category[/TD]
[TD]Year of Established[/TD]
[TD]Address[/TD]
[TD]Phone[/TD]
[TD]Fax[/TD]
[TD]Email[/TD]
[TD]Website[/TD]
[TD]Product[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Company 1 Name[/TD]
[TD]Name 1[/TD]
[TD][/TD]
[TD]9824209211[/TD]
[TD]Name 2[/TD]
[TD][/TD]
[TD]9888888888[/TD]
[TD]S-133/I/L[/TD]
[TD]Food work, Cattle work[/TD]
[TD]1983[/TD]
[TD]Some address here line 1
Some address here line 2
Some address here line 3
Some address here line 4
[/TD]
[TD]22222222[/TD]
[TD]33333333[/TD]
[TD]some1@email.com[/TD]
[TD][/TD]
[TD]Some product 1, Some other product 2.[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Company 2 Name[/TD]
[TD]Name 3[/TD]
[TD]Manager[/TD]
[TD]999999999[/TD]
[TD]Name 4[/TD]
[TD]Director[/TD]
[TD]9777777777[/TD]
[TD]S-134/I/L[/TD]
[TD]other work[/TD]
[TD]1985[/TD]
[TD]Some address here line 1
Some address here line 2
Some address here line 3
Some address here line 4
[/TD]
[TD]44444444[/TD]
[TD]55555555[/TD]
[TD]some2@email.com[/TD]
[TD]www.website.com[/TD]
[TD]Some product, Some other product.[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
and so on.
I dont know how to pull data in excel from text file, and arrange it like this. I know this is possible.
Any help would be great.
I can even send/upload the ORIGINAL text file, which is less than 1MB.