Solved

Vlookup three columns

Posted on 2012-03-15
6
215 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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 500 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

724 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