Solved

Vlookup three columns

Posted on 2012-03-15
6
210 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
  • 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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

746 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now