Thanks Amir, 1) Does this mean your original problem is solved? No, it's not 2) You can see the CSV data and are finding it difficult. We cannot see the CSV data so it will be difficult for us too! Please open the csv in a text editor (e.g., Notepad++, notepad, etc.), not Excel, and copy and paste (not screenshot) a few rows of the data into a post. I am pasting a few data lines here 1495123836168993500,80863,200612,,,,,A,"",,1,,,,,,,,,,,LS28,03C,03C,,,8,20170120,20170120,,,,,,,,,,,,,101005445,1,1,21,19,1,19,20170120,09:00:00,20170120,16:49:00,9,1,,1,8,8,,20170120,09:00:00,20170120,16:49:00,0,0,XXXXXX,RAE,9,RAE,,02R,,C5195478,160,160,160,,,2,S611,,S6250,,V498,,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2,S662,20170120,,,,,Z895,20170120,,,,,Z942,20170120,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,002,,4,RAE,,,,,,,002,,1,RAE,,,,,,,20170120,09:00:00,20170120,16:49:00,"",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
1516883626006995200,890558,200102,,,,,J,"",,2,,,,,,,,,,,BD7 ,02R,02R,,,9,20170906,20170906,,,,,,,,,,,,,101086017,1,1,21,19,1,19,20170906,01:01:00,20170906,21:44:00,N,1,,1,8,8,,20170906,01:01:00,20170906,21:44:00,0,0,XXXXXX,RAE,9,RAE,,02R,,C4729819,302,300,300,,,2,R568,,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,601,,4,RAE,,,,,,,601,,1,RAE,,,,,,,20170906,01:01:00,20170906,21:44:00,"",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
1559124729002961400,600284,201703,,,2,,A,"",,1,,,,,,,,,,,BD18,02R,02R,,,8,20180926,20180926,,,,,,,,,,,,,CE:35485409,1,1,22,19,1,19,20180926,13:22:00,20180926,15:37:00,9,1,,1,8,8,,20180926,13:22:00,20180926,15:37:00,0,0,XXXXXX,"",9,RAE,,02R00,,C3459982,420,420,420,,,2,J039,,B000,,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,32 CCDA BRI,,4,RAE01,,,,,,,32 CCDA BRI,,1,RAE01,,,,,,,20180926,13:22:00,20180926,15:37:00,"",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
1516802315006998500,238139,201110,,,,,99,"",,1,,,,,,,,,,,BD2 ,02R,02R,,,8,20170602,20170602,,,,,,,,,,,,,101051887,1,2,11,19,1,19,20170602,07:30:00,20170602,15:40:00,N,1,,1,8,8,,20170602,07:30:00,20170602,15:40:00,0,0,XXXXXX,RAE,9,RAE,,02R,,C2304809,120,120,120,,,2,G473,,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2,F341,20170602,,,,,E201,20170602,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,002,,4,RAE,,,,,,,002,,1,RAE,,,,,,,20170602,07:30:00,20170602,15:40:00,"",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
1526736714007997400,42290,200408,,,,,J,"",,2,,,,,,,,,,,BD3 ,02W,02W,,,9,20171005,20171005,,,,,,,,,,,,,CE:35017268,1,1,21,19,1,19,20171005,18:02:00,20171009,19:00:00,N,1,,2,8,8,,20171005,18:02:00,20171005,18:46:00,0,0,XXXXXX,"",9,RAE,,02W,,C3459982,420,420,420,,,2,R55X,,R064,,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"",,,"",,,,,,,"",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
1526736714007997400,42290,200408,,,,,J,"",,2,,,,,,,,,,,BD3 ,02W,02W,,,9,20171005,20171009,,,,,,,,,,,,,CE:35017268,1,1,21,19,1,19,20171005,18:02:00,20171009,19:00:00,N,2,,1,8,1,,20171005,18:46:00,20171009,19:00:00,0,0,XXXXXX,"",9,RAE,,02W,,C4527804,420,420,420,,,2,R55X,,R064,,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2,U052,20171006,,,,,Y981,20171006,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,32 CCDA BRI,,4,RAE01,,,,,,,32 CCDA BRI,,1,RAE01,,,,,,,20171005,18:46:00,20171006,15:18:00,30 CYPU BRI,,1,RAE01,,,,,,,20171006,15:18:00,20171009,19:00:00,"",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
1558443886001977300,187675,200408,,,,,N,"",,1,,,,,,,,,,,BD9 ,02W,02W,,,8,20190214,20190215,,,,,,,,,,,,,CE:35668648,1,1,22,19,1,19,20190214,11:57:00,20190215,12:12:00,9,1,,1,8,8,,20190214,11:57:00,20190215,12:12:00,0,0,XXXXX=,"",9,RAE,,02W00,,C4617556,420,420,420,,,2,J029,,E559,,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,32 CCDA BRI,,4,RAE01,,,,,,,32 CCDA BRI,,1,RAE01,,,,,,,20190214,11:57:00,20190215,12:12:00,"",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
1526737932007990500,1076578,200506,,,,,A,"",,2,,,,,,,,,,,HX2 ,02T,02T,,,9,20171122,20171122,,,,,,,,,,,,,CE:35083945,1,1,21,19,1,19,20171122,01:36:00,20171122,13:12:00,N,1,,2,8,8,,20171122,01:36:00,20171122,02:07:00,0,0,XXXXX=,"",9,RAE,,02T,,C4617556,420,420,420,,,2,R458,,Z915,,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"",,,"",,,,,,,"",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
1526737932007988e3,1076578,200506,,,,,A,"",,2,,,,,,,,,,,HX2 ,02T,02T,,,9,20171122,20171122,,,,,,,,,,,,,CE:35083945,1,1,21,19,1,19,20171122,01:36:00,20171122,13:12:00,N,2,,1,8,8,,20171122,02:07:00,20171122,13:12:00,0,0,XXXXX=,"",9,RAE,,02T,,C3668300,420,420,420,,,2,R458,,Z915,,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,32 CCDA BRI,,4,RAE01,,,,,,,32 CCDA BRI,,1,RAE01,,,,,,,20171122,02:07:00,20171122,13:12:00,"",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"","",,,"",,,,,,,,"",,"",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 3) The names of the variables shouldn't matter as your code already uses firstobs=2 to ignore the header row. So, are you suggesting to not change variable names and use them as it is in further code? 4) 4) I would try using a "dummy" variable to input and ignore the fields you don't want ("dummy" can be dropped)., For example you can try running the following, and then change it to work with your data: Apologies but I am unable to understand the 'dummy' code Ta
... View more