Return Rows in one sheet based on criteria from another

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Shaido22

Thread Starter
Joined
Mar 31, 2010
Messages
3
Hi I'm absolutely struggling with this:

I have an Excel file with 2 worksheets.

In Sheet1 is a drop-down list of countries (A1), and in Sheet2 is the Data.
The Data (Sheet2) has a country field in Column A.

What I want is to ONLY display data rows in Sheet2 (or possibly a new sheet), where the country matches the country selected from the drop down entry on Sheet1.

Any Ideas?
 

Shaido22

Thread Starter
Joined
Mar 31, 2010
Messages
3
Unfortunately not Rollin, but I can supply a "mock" sample workbook that uses the same principals.
 

Attachments

Joined
Sep 4, 2003
Messages
4,916
Out of curiousity why are you using 2 sheets? The reason I ask is that you can easily limit the records you want to show on sheet 2 using a simple autofilter instead of having to resort to VBA or complicated formulas.

Rollin
 

Shaido22

Thread Starter
Joined
Mar 31, 2010
Messages
3
I know, but this data will be sent out to each country, and the Idea is they don't see or have access to each others data, although it still remain on in the sheet. I assume some sort of password protection will eventually be placed on it, but for now it's just the filtering over the 2 (or more) sheets.
 
Joined
Oct 20, 2004
Messages
7,837
I don't see how one is supposed to know which match to make - you are only showing the country and the status, but for every country, based on the country alone, the status could be bankrupt or operational.
It appears that a combination of the country and the product and the product ID might make for a unique value (although you will need to find this out yourself - you may need to add the company as well) and from that - I would use a simple concatenation formula such as:
=(A2&"-"&B2&"-"&C2)
or
=(A2&"-"&B2&"-"&C2&"-"&D2)
- and then look for that value and see if it is bankrupt or operational.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top