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
View all comments
Show parent comment
1
u/excelevator 3071 Dec 14 '18
Have you confirmed this?
So column A will contain the data and the delimiters, no data in other columns