Compare two columns and get values from third parallel column in excel

Here's a simple explanation of what I'm having trouble with.

Column A: List of 2300 order numbers
Column B: Email Address associated with an order number
Column C: List of 100 specific order numbers that I need the email address for

So, I'm looking to search column A for a value that matches C, and return the email address from column B in a new column (D).
The current formula almost works, but instead of returning the email address where A matched C, it returns the email address from the same row.
=IF(ISNA(INDEX(B:B,MATCH(C3,A:A,0))),"",INDEX(B:B,MATCH(C3,A:A,0)))
This probably will solve the problem and also remove the #N/A result that would appear if you couldn't find a result due to its absence in your lookup list.
Thanks, 
Neil

Comments

Popular posts from this blog

Convert excel files to .vcf for transfer of contacts from Pc to Andriod device

Files not showing in pendrive