r/excel • u/Defiled- • Dec 14 '18
solved Split .csv file by the header row line identifier (multiple headers in file)
Hey guys,
I have .csv files that contain multiple header rows with a line identifier of 'DH', all the data is then subsequently under a 'DL' line identifier until the next header row.
I need to be able to split these files so that each header row and its relevant detail lines are put into their own files.
Any ideas on how I can do this please? The programs I've found online seem to all be by x amount of rows.
Thanks!
1
Upvotes
1
u/Defiled- Dec 14 '18
Solution Verified
1
u/excelevator 3071 Dec 14 '18
how many rows/files are you talking?
is it not quickest just to scroll down and cut and paste into new text files?