INDEX/MATCH to find all instances of the search string

lost22

New Member
Joined
Jul 21, 2004
Messages
20
I know how to do the data filter [custom/advanced filter]

But for VLOOKUP or INDEX/MATCH purposes how do I find all instances where I am doing a compare string search.

Second question for now:

If I was searching for the string "North" where I have a list of addresses that can be "123 Northshore Drive" or "1A North Avenue" what would be the index/match code for the contained string?

Thank you
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Hi

Not sure exactly what you are after, this code will count the number of cells from A2:20 containing "north" in there somewhere.

=COUNTIF(A2:A20,"=*north*")

Are you trying to return a code for whether it is true or false, 1 or 0 for a match.

If you could post more details,

Regards

John
 
Upvote 0
vlookup or index match to find all instances of a string in

I have a list of properties [each with a text based ID #] and to each one is assigned a property code [text based ID#]. A property code may be assigned to more than one property [i.e. Property Code A000 may be the property code assigned to CC11 and CC12 because they are in the same area].

If I do a vlookup or index/match to find the # of properties and the properties themselves, my understanding of vlookup or index/match is the vlookup only finds the first instance.
I am trying to find all the next instances by using formulas, and not necessarily using a filter in the headings.

Thank you.
 
Upvote 0

Forum statistics

Threads
1,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

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