# Match Formula

Hi,

Im looking for some match formula/lookup for the attached ss.

I want to match the data in "Raw Data" and "Output" based on Cell (B2) [Highlighted Red].
Any rows that match in "Raw Data" get returned where cells are highlighted green.

So what im trying to do is bring back data from "Raw Data" where the ISIN is the same as in "Output"

Thanks
Seamus
test.zip
###### Who is Participating?

Commented:
Hi,

In N2 through U2 and copy down,

=INDEX('Raw Data'!\$B\$2:\$I\$163,MATCH(\$B2,'Raw Data'!\$A\$2:\$A\$163,0),COLUMNS(\$N2:N2))

Kris
0

Commented:
Paste this in N2

=IF(ISERROR(VLOOKUP(M2,'Raw Data'!\$A\$1:\$I\$163,2,0)),"",VLOOKUP(M2,'Raw Data'!\$A\$1:\$I\$163,2,0))

O2

=IF(ISERROR(VLOOKUP(M2,'Raw Data'!\$A\$1:\$I\$163,3,0)),"",VLOOKUP(M2,'Raw Data'!\$A\$1:\$I\$163,3,0))

P2

=IF(ISERROR(VLOOKUP(M2,'Raw Data'!\$A\$1:\$I\$163,4,0)),"",VLOOKUP(M2,'Raw Data'!\$A\$1:\$I\$163,4,0))

and so on...

Just increase the BOLD and UNDERLINE number by 1

Sid
0

Commented:
Here is the sample file. All You need to do is change the ISIN number in the red cell.

Sid

test.xls
0

Commented:
Hi,

To trap the error,

=IF(ISNUMBER(MATCH(\$B2,'Raw Data'!\$A\$2:\$A\$163,0)),INDEX('Raw Data'!\$B\$2:\$I\$163,MATCH(\$B2,'Raw Data'!\$A\$2:\$A\$163,0),COLUMNS(\$N2:N2)),"")

If you are using XL 2007,

=IFERROR(INDEX('Raw Data'!\$B\$2:\$I\$163,MATCH(\$B2,'Raw Data'!\$A\$2:\$A\$163,0),COLUMNS(\$N2:N2)),"")

0

Author Commented:
Thanks guys, il go with the match.

Thank you very much

Cheers
Seamus
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.