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

Index MAtch with Two Columns

Hi,
I want to pull data by comparing two columns, I have tried index match, but its giving me errors.

Please help
 

Attachments

  • Index MAtch.xlsx
    58.6 KB · Views: 11
Perhaps,

In C3, copied down :

=IFERROR(INDEX($N$3:$N$709,MATCH(1,INDEX(($A3=$L$3:$L$709)*($B3=$M$3:$M$709),0),0)),"")

Regards
Bosco
 
2 alternatives in attached file. An array formula (no helper columns), or with an helper column to concatenate L&M columns.

EDIT: Bosco's comment was not visible when I posted. It sure is more elegant. Can't get it into my head to use index within a match:rolleyes:

my third alternative would have been,
=IFERROR(INDEX($N$3:$N$709,AGGREGATE(15,6,ROW($N$3:$N$709)/(($L$3:$L$709&$M$3:$M$709)=(A3&B3)),1)),"Not Found")
 

Attachments

  • Copy of Index MAtch.xlsx
    110.7 KB · Views: 5
Last edited:
T
2 alternatives in attached file. An array formula (no helper columns), or with an helper column to concatenate L&M columns.

EDIT: Bosco's comment was not visible when I posted. It sure is more elegant. Can't get it into my head to use index within a match:rolleyes:

my third alternative would have been,
=IFERROR(INDEX($N$3:$N$709,AGGREGATE(15,6,ROW($N$3:$N$709)/(($L$3:$L$709&$M$3:$M$709)=(A3&B3)),1)),"Not Found")
Thank You Bosco, this was very helpful
 
Back
Top