# 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?

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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:
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

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

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
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.