Hello all,
I have a complicated request that I can't seem to solve.
I have two sheets with two columns in each sheet. I want to search the contents of Column A in Sheet1 against the contents of Column A in Sheet2 and if they match, I want to take the corresponding contents from the B column in Sheet2 and copy it to the corresponding B column of the matched A cell in Sheet1.
So far I found a way to match the contents and I get a Y or N if there is a match, but I can't find a way to copy the contents from Sheet2 to Sheet1 for the corresponding cell found.
My formula is
I have a header so that's why I'm starting at 2.
Thanks for any help!
I have a complicated request that I can't seem to solve.
I have two sheets with two columns in each sheet. I want to search the contents of Column A in Sheet1 against the contents of Column A in Sheet2 and if they match, I want to take the corresponding contents from the B column in Sheet2 and copy it to the corresponding B column of the matched A cell in Sheet1.
So far I found a way to match the contents and I get a Y or N if there is a match, but I can't find a way to copy the contents from Sheet2 to Sheet1 for the corresponding cell found.
My formula is
Code:
=IF(ISNA(MATCH(A2,Sheet2!$A2:$A31398,0)),"N","Y")
I have a header so that's why I'm starting at 2.
Thanks for any help!