<html><head></head><body><div class="yahoo-style-wrap" style="font-family:bookman old style, new york, times, serif;font-size:16px;"><div dir="ltr" data-setdir="false">Dear NCL-talk</div><div dir="ltr" data-setdir="false">I hope you are doing great.</div><div dir="ltr" data-setdir="false">My question is about how to match two files based on the same id from one column.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I have two files with different columns and rows. However, each of them has a column including station ids. This column has same ids for two files but not in the same order or the same number. Based on the same ids in this column I want to pass a column<span><span style="color: rgb(0, 0, 0); font-family: "bookman old style", "new york", times, serif; font-size: 16px;">, including height,</span></span> from one file to the other one. I mean I want to pass height of the each station from file2 to file1.</div><div dir="ltr" data-setdir="false">May I ask how I could find the correct height from file2 and write for the proper row in file?</div><div dir="ltr" data-setdir="false">I want to ask only about the matching part.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I hope I could explain the problem correctly.</div><div dir="ltr" data-setdir="false">Any help will be appreciated.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><i><font size="2">Sincerely</font></i></div><div dir="ltr" data-setdir="false"><i><font size="2">Ehsan</font></i></div><div dir="ltr" data-setdir="false"><br></div></div></body></html>