Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Find duplicates in 2 csv files and copy extra data.

$
0
0

I have this issue, I have 2 csv files. the first contains several thousand  rows of data broken down by column. I have a second similar csv broken down the same way but different column names. Also, the two may be slightly different. The first is my primary and I wish to find the matching data in the second worksheet based on an 'identifier' column, then for the matching rows pull the cell data from column 'x' (which ever that is) and move it to the primary csv and place it in a new column 'x' of the matching row. 

Can someone help?


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>