Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 140
Default filtering CSV data

Hi,
I have 650 lines of data in CSV format in an excel sheet.
The lines are long and something like this:

Aaaaaa,"",Bbbbbb," ","bla bla", ..........
","sdfs d",.......
.....
....

I need to filter out the records like this

A B C
1 Aaaaa Bbbbbb ,
2 Cdfhdj Djkjds


Any code recommendation is much appriciated.
J_J


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 140
Default filtering CSV data

Aha..sorry
And I forget to tell that all data resides in the A:A column cells.
J_J

"J_J" wrote in message
...
Hi,
I have 650 lines of data in CSV format in an excel sheet.
The lines are long and something like this:

Aaaaaa,"",Bbbbbb," ","bla bla", ..........
","sdfs d",.......
....
...

I need to filter out the records like this

A B C
1 Aaaaa Bbbbbb ,
2 Cdfhdj Djkjds


Any code recommendation is much appriciated.
J_J




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default filtering CSV data

try using the replace command under the edit menu. Turn on the macro
recorder and run it manually if you want code

--
Regards,
Tom Ogilvy

"J_J" wrote in message
...
Aha..sorry
And I forget to tell that all data resides in the A:A column cells.
J_J

"J_J" wrote in message
...
Hi,
I have 650 lines of data in CSV format in an excel sheet.
The lines are long and something like this:

Aaaaaa,"",Bbbbbb," ","bla bla", ..........
","sdfs d",.......
....
...

I need to filter out the records like this

A B C
1 Aaaaa Bbbbbb ,
2 Cdfhdj Djkjds


Any code recommendation is much appriciated.
J_J






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 140
Default filtering CSV data

Sorry Tom, but I couldn't get your point.
I do not want to replace anything. All my data are on Sheet1 and resides in
column A:A.

With cell A1 what I need to do actually is :

get the first text from the left of first comma and put it to Sheet2 A1
get the text between the second and the third comma and put it to Sheet2 B1
get the emial address between the forth and fifth commas and put it to
Sheet2 C1

Then I need to repeat this process for all 650 lines.
Regards
J_J

"Tom Ogilvy" wrote in message
...
try using the replace command under the edit menu. Turn on the macro
recorder and run it manually if you want code

--
Regards,
Tom Ogilvy

"J_J" wrote in message
...
Aha..sorry
And I forget to tell that all data resides in the A:A column cells.
J_J

"J_J" wrote in message
...
Hi,
I have 650 lines of data in CSV format in an excel sheet.
The lines are long and something like this:

Aaaaaa,"",Bbbbbb," ","bla bla", ..........
","sdfs d",.......
....
...

I need to filter out the records like this

A B C
1 Aaaaa Bbbbbb ,
2 Cdfhdj Djkjds


Any code recommendation is much appriciated.
J_J








  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default filtering CSV data

Paste the column in Sheet2

Select column A in sheet2

do data=Text to columns, select comma as the delimiter

Delete the columns you don't want.

If you want code, turn on the macro recorder while you do it manually.

--
Regards,
Tom Ogilvy


"J_J" wrote in message
...
Sorry Tom, but I couldn't get your point.
I do not want to replace anything. All my data are on Sheet1 and resides

in
column A:A.

With cell A1 what I need to do actually is :

get the first text from the left of first comma and put it to Sheet2 A1
get the text between the second and the third comma and put it to Sheet2

B1
get the emial address between the forth and fifth commas and put it to
Sheet2 C1

Then I need to repeat this process for all 650 lines.
Regards
J_J

"Tom Ogilvy" wrote in message
...
try using the replace command under the edit menu. Turn on the macro
recorder and run it manually if you want code

--
Regards,
Tom Ogilvy

"J_J" wrote in message
...
Aha..sorry
And I forget to tell that all data resides in the A:A column cells.
J_J

"J_J" wrote in message
...
Hi,
I have 650 lines of data in CSV format in an excel sheet.
The lines are long and something like this:

Aaaaaa,"",Bbbbbb," ","bla bla", ..........
","sdfs d",.......
....
...

I need to filter out the records like this

A B C
1 Aaaaa Bbbbbb ,
2 Cdfhdj Djkjds


Any code recommendation is much appriciated.
J_J












  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 140
Default filtering CSV data

I got it this time.
Thanks a lot Tom.
J_J

"Tom Ogilvy" wrote in message
...
Paste the column in Sheet2

Select column A in sheet2

do data=Text to columns, select comma as the delimiter

Delete the columns you don't want.

If you want code, turn on the macro recorder while you do it manually.

--
Regards,
Tom Ogilvy


"J_J" wrote in message
...
Sorry Tom, but I couldn't get your point.
I do not want to replace anything. All my data are on Sheet1 and resides

in
column A:A.

With cell A1 what I need to do actually is :

get the first text from the left of first comma and put it to Sheet2 A1
get the text between the second and the third comma and put it to Sheet2

B1
get the emial address between the forth and fifth commas and put it to
Sheet2 C1

Then I need to repeat this process for all 650 lines.
Regards
J_J

"Tom Ogilvy" wrote in message
...
try using the replace command under the edit menu. Turn on the macro
recorder and run it manually if you want code

--
Regards,
Tom Ogilvy

"J_J" wrote in message
...
Aha..sorry
And I forget to tell that all data resides in the A:A column cells.
J_J

"J_J" wrote in message
...
Hi,
I have 650 lines of data in CSV format in an excel sheet.
The lines are long and something like this:

Aaaaaa,"",Bbbbbb," ","bla bla", ..........
","sdfs d",.......
....
...

I need to filter out the records like this

A B C
1 Aaaaa Bbbbbb ,
2 Cdfhdj Djkjds


Any code recommendation is much appriciated.
J_J












Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filtering of data - autmatically based on data on other sheet uptonfamilywa Excel Discussion (Misc queries) 1 June 20th 09 12:46 AM
filtering row data Gary''s Student Excel Worksheet Functions 3 October 26th 05 07:03 PM
Data Filtering Jimipolo Excel Discussion (Misc queries) 7 April 28th 05 10:13 PM
Filtering Data tess457 Excel Programming 1 September 18th 04 12:58 AM
Help with Filtering data and matching two data sets? masai_chadi Excel Programming 2 March 1st 04 10:33 PM


All times are GMT +1. The time now is 10:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"