• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

compare values in 2 columns if match found return 3rd column else return blank

mdavid

Member
Hi Col A has multiple repeating item numbers, col B has list of unique item numbers. If item number appears in A and B then return value in col C of row that item number appears in col A. If no match return blank
Attached example with expected results in col D.
Any help much appreciated.
Thanks

exCompare.JPG
 
If you have a modern excel version, it might be very simple. Just one formula that spills the result.
=XLOOKUP(A2:A24,B2:B24,C2:C24,"")
1708535107200.png
Or using some legacy function, no need to have a double lookup like presented in #2.
1708535250984.png
 
Back
Top