• 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.

If the values of two columns match, extract the corresponding value

I want to find a formula that extracts a value corresponding two two columns if the values in those two columns match exactly those in another set of two columns. Please, see an example in the attached document.
 

Attachments

Hi George,

Try Below array formula in E3 and copy down:

=IFERROR(INDEX($J$3:$J$6,MATCH(C3&D3,$H$3:$H$6&$I$3:$I$6,0)),"")

Note: 1. Must be entered with Ctrl+Shift+Enter, and not just Enter.
2. Only work if you data set has no duplicates of column H & I. If you have duplicates than formula need to change.

Regards,
 
Hi George,

Try Below array formula in E3 and copy down:

=IFERROR(INDEX($J$3:$J$6,MATCH(C3&D3,$H$3:$H$6&$I$3:$I$6,0)),"")

Note: 1. Must be entered with Ctrl+Shift+Enter, and not just Enter.
2. Only work if you data set has no duplicates of column H & I. If you have duplicates than formula need to change.

Regards,
The formula gave me the wrong results. Please take a look at the attached file
 

Attachments

Back
Top