Hi I have a text file with 1000's of lines of data (bank statement details). I have called the text file "Upload" and can save it on any drive
The blocks of data I am interested in are seperated by a hyphon "-"
I need to scan through the data block and where the description starts :20: but the trailing number in column A, where the description starts :25: but the trailing number in B. Where the description starts :28: I need to put the first part in column C and the 2nd part in column D (they are seperated by a "/"). Then move onto the next block of data (after the hyphon) and repeat
An example of the file is:
:20:9400124556152110
:25:10455644
:28:37/1
Other stuff
Other stuff
Other stuff
-
:20:9400124556153167
:25:10455689
:28:37/2
Other stuff
Other stuff
Other stuff
-
Any help would be greatly appreciated!
The blocks of data I am interested in are seperated by a hyphon "-"
I need to scan through the data block and where the description starts :20: but the trailing number in column A, where the description starts :25: but the trailing number in B. Where the description starts :28: I need to put the first part in column C and the 2nd part in column D (they are seperated by a "/"). Then move onto the next block of data (after the hyphon) and repeat
An example of the file is:
:20:9400124556152110
:25:10455644
:28:37/1
Other stuff
Other stuff
Other stuff
-
:20:9400124556153167
:25:10455689
:28:37/2
Other stuff
Other stuff
Other stuff
-
Any help would be greatly appreciated!