vlookup assistance

I have a workbook with two tabs (worksheets) team & regs

tab teams has multiple columns and I want to have a column pull email from tab regs when the fname and lastname columns match in each table.

tab teams
H=pull from email

tab regs

so in teams I want column h to be a lookup that pulls column G from regs when the fname & lname matches
Matt PinkstonEnterprise ArchitectAsked:
Who is Participating?
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.

Brian HarringtonIT ManagerCommented:
According to http://www.mrexcel.com/forum/showthread.php?t=306615, you can use the index function for a multiple criteria function. Structure is thus:


Open in new window

Brian HarringtonIT ManagerCommented:
Also, you could use vbscript to help with it, here's a link to a guide on it:

Matt PinkstonEnterprise ArchitectAuthor Commented:
not vlookup?
Brian HarringtonIT ManagerCommented:
Vlookup only considers one conditional.  You look up by the left most column of your array.  If you'd like to use vlookup and are okay with adding a column, you could do this.

Add Column A to both sheets, set to =Concantenate(B2," ",C2) in both A Columns

Then do your vlookup off that.
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:

Index/match is much more powerful than Vlookup. Here's another version to do what you describe, starting in G2 and copied down.


see attached.

cheers, teylyn

Experts Exchange Solution brought to you by

Your issues matter to us.

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

Start your 7-day free trial
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 Office

From novice to tech pro — start learning today.