Please, when you post code, sample data, error mesages or console output format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.
Thanks in advance
You explanation is not entirely clear. Could you please share a sample of the resulting CSV file?
Regardless of that - what have tried so far? Please share the code you already have. So we do not have to start from scratch.
Thnx Olaf, changed the format of the message and added 2 lines of resulting CSV. I think I have to read both source CSV files into an array, read array from CSV1, and for every line find a matching record from array CSV2 and fill a column for that match.
This is what I use to load the 2 csv’s in arrays. Question: How do I loop the first one, search for matching record in 2nd one, and add that data as an extra field?
Please, when you post code, sample data, error mesages or console output format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.
Thanks in advance
Now, since we need all items from the second CSV file belonging to one individual PersonNr in an array we group the second list for the property PersonNr: