Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Vlookup three columns

Posted on 2012-03-15
6
Medium Priority
?
218 Views
Last Modified: 2012-03-15
Hi,

I have one excel tab with a load of data in column F

I want to check if there is corresponding values in three other tabs.

The corresponding values are always in Column A

How can i check this as a Vlookup will only return from one tab

Thanks
Seamus
0
Comment
Question by:Seamus2626
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 37725389
Do you want to check if there is data in one of the three, or all three? You'll basically need three separate vlookups, either nested or concatenated depending on the answer to my question.
0
 

Author Comment

by:Seamus2626
ID: 37725404
They could be a corresponding value in tab one, two, or in all three or no match at all

I need to return text "Match" if there is a corresponding value in tab one, two, or all three    
&

Text "Non Match" if there is no corresponding value in any of the tabs

Hope that makes sense!
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 37725428
In that case:

=if(count(match(a1,sheet1!a:a,0),match(a1,sheet2!a:a,0),match(a1,sheet3!a:a,0))>0,"match","no match")
for example
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:Seamus2626
ID: 37725494
Hey Rory, i have zipped the file which i am working on and have tried to implement your formula as you will see in Tab ASPA

Can you see why that cant see what is a match as a match?

e.g B2 should be a match

Thanks
Seamus
ASPAMatch.zip
0
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 2000 total points
ID: 37725525
I'm not sure how you entered those formulas as there should be quotes round the sheet names (as they contain spaces)

=IF(COUNT(MATCH(F2,'Sophis Paris'!A:A,0),MATCH(F2,'Sophis US'!A:A,0),MATCH(F2,'Sophis HK'!A:A,0))>0,"match","no match")

for example.
0
 

Author Closing Comment

by:Seamus2626
ID: 37725553
I used the editor, maybe i changed it somehow, anyhow, it works!

Thanks
Seamus
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question