1. If you wish to use Excel, the file would need to be split into 7 files each with no more than 1 million lines. I've done this before but only with files less than 2 million lines. Opened in Wordpad, deleted half the rows, then saved it as a new file named ...1of2. Then reopened the original large file, deleted the other half of the rows and saved it as ....2of2. Don't know if wordpad would handle such a large file, but there may be other text editors that can.
2. I used Excel 2013 to open your sample txt file and it automatically split most into separate columns, the exception being the 6 columns beginning with CaseNo and ending with STMvalue which it placed in a single column. You could split these with Excels Text to Columns, but 1st do items 3 & 4 below.
3. The Courier Name column seems to be the only column that wraps to a 2nd row in some cases (but not all). After I numbered all rows using a blank column on the right (ie Fill - series), I inserted a row above the 1st row and then copied a header line into row 1. I then inserted a column after Courier name and entered this formula in N9 and copied down so that the full courier name would be on the main row:
Code:
=IF(AND(M10<>"",L10=""),M9&" "&M10,M9)
.
4. Then turned on autofilters to filter out the dashed lines, header rows and blanks in Col I.
5. That left data rows and subtotals beneath them. I couldn't figure out what determines the rows belonging to each subtotal. If you can, then you probably don't need the subtotals and can filter those out. If you can't, then the sequential line numbering comes in handy.
I suspect even after doing this you'll still have well over 1 million rows of data so it won't fit into a single excel worksheet. However once you've cleaned out unnecessary rows, you could upload each file to a MSAccess database for further analysis.
It's definitely a time consuming project to do it this way. Certainly worth investigating if the provider of the file could deliver it in another format. Also worth looking into a custom script to directly edit the text file.