Question : Excel processing mutiple csv files into one sheet using a criteria

Hi I would really appreciate some help on this. I've attached two example csv files.

We have *.csv files that would like to process into one excel sheet. However would llike to process the data which meets a criteria.

The data looks like this:
Product Name: XX     Model Name: XXX      Serial Number: XX-XXXX            
Data Points: 3600          Sample Period: 120 s                         
     ======================================================================      
Sensor Information :                  
Drift Value        :                   
Levels   : ---       20                          
Levels  : 30.0      20                          
Span Value         : 19.0      50                          
Correction Factor  : ---       1.00                        
Over Levels  : 30.0      100                         
               ===========Event #2 data informations===========                           
LINE#        Date/Time                 Meaure 1       Measure 2
1      6/12/2010 16:35      10      0
2      6/12/2010 16:37      10      4
3      6/12/2010 16:39      10      0
4      6/12/2010 16:41      10      2

What I would like to be to do is:
1. Copy only rows where the value > 1 in the Measure 2 column. ie copy the whole row of data with date
2. Insert into the first column the first 8 characters of the Serial Number value eg XX-XXXX, so there is serial number next to each row copied. LIke so
SERIAL #      LINE#        Date/Time                 Meaure 1       Measure 2
XX-XXXX      2       6/12/2010 16:37      10      4
XX-XXXX      4      6/12/2010 16:41      10      2
3. It would be great to be able to select up to 7 csv files at once to process into one sheet (if possible).

Thanks in advance for anyones help.

Cheers

Ian
Attachments:
 
Csv file that will be processed
 
 
Csv file that will be processed
 

Answer : Excel processing mutiple csv files into one sheet using a criteria

Random Solutions  
 
programming4us programming4us