Match more than one entry

HWL

Active Member
Joined
Dec 1, 2009
Messages
462
Okay what I have are 2 lists. In list #1 I have a country code (such as US, MX, FR) and in list #2 I have other data. I can use the country code in list #1 to match list #2 to return the data.

I understand how to return the first match it finds but I want to be able to dragdown a column in list #1 to display the multiple (all really) matches in list #2. I know this will require ctrl-shift-enter somehow but I need help.

Thanks
 
Okay I'm all most there but powers that be put a bug in what I'm trying to do. I'm okay as long as I am matching country pair to country pair but there are actually 3 criteria.

ct-to-ct (which Valko solved)
all-to-ct
ct-to-all

I tried an OR statement but the problem is if one of the critera isn't met it breaks with a #NUM issue.
Am I making sense?
Can you post some sample data along with an explanation of what you want to do?
 
Upvote 0

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Can you post some sample data along with an explanation of what you want to do?

Thank you everyone, but I ended up going a different route. I needed an answer right away and figured another way to get the answer I was looking for.

Again, thank you.
 
Upvote 0
Can you post some sample data along with an explanation of what you want to do?

Hmmm, this may be difficult to explain. I work for a transportation company that has a spreadsheet with all of our rates, then another with "surcharges". On the surcharge sheet, I'm combining 2 columns into one to make it easier to match.

There are 4 possible ways to match:
1. country-to-country
2. all-to-country
3. country-to-all
4. all-to-all

The only way I can figure is Google docs:
https://spreadsheets.google.com/spr...GYB70dDlKbjNmZEZINDViZkM1UWhJQWFrbkE&hl=en_US

See my combination cell in column B. If there is way to look right at columns C & D without having the helper column of B, that would even be better. The code you pointed me to is on another sheet not uploaded to Google Docs.

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,261
Members
452,901
Latest member
LisaGo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top