Hello everyone,
I need help! I have over 50 CSV files extracted from SAP. The column names are fixed, but the header column positions start on different lines. The first file header starts with line 12, other starts with line 14, and so on.
Need help to retrieve the 50 csv file and consolidate into 1 file.
Thank you in advance.
Solved! Go to Solution.
Load some sample data and we can help. No need for the whole dataset, just some sample from your own end, like 3 files. I can show how after.
Thank you for your suggestion @caltang , was able to parse the column using the field 1
but i got new problem, multiple text files where the same column (like "Shipping") appears in different positions across files (e.g., 3rd column in one file, 5th column in another). Resulting in incorrect data alignment :(
You’ll need to make a macro for that then! Align one file then make it a batch macro. Feed the txt file paths and it’ll align accordingly.
if you are stuck, show me how the data should look like and I can make something.
I don't get it @kathbanc
From ZV14_v1.txt, show me how it should look in Excel. Do it once manually with each column name and its respective value, then we can help better.
