I use a combination of if , vlookup , match , iserror , and, unfortunately, I could not find the correct formula.
Comparing two columns for matches is quite simple. the hard part returned a specific cell after a match was found.
So I'm dealing with something like this:
Header Column A Column B Column C Column D Row 1 111 AAA 112 Row 2 222 BBB 111 Row 3 333 CCC 221 Row 4 444 DDD 333
I am trying to match column values ββin Column A , with Column C Therefore, if this matches, I want the corresponding value in Column B populate in Column D Not a great explanation, but let me visually show you what I'm looking for.
Header Column A Column B Column C Column D Row 2 111 AAA 112 Row 3 222 BBB 111 AAA Row 4 333 CCC 221 Row 5 444 DDD 333 CCC
Since cells A1 correspond to cell C3 , I want D return B2
Same thing with line 5 . Since A4 and C5 consistent, I need a value for B5
Let me know if this makes sense or you need further clarification.
source share