Find multiple cells in worksheet and get intersection

tormen

New Member
Joined
Jun 16, 2015
Messages
1
Hello,

I am looking for a vba solution to find a series of cells in a matrix (based on their text value) and get the intersecting cell. Note, the individual cells are not unique but the series of cells is unique.
Also, their may be several matrices within a worksheet and dimensions can be rows in one matrix and in columns for the other.
This is something our mind does quite easily but I cannot seem to express the reasoning in a code.. your help would be much appreciated.

In below Matrix, the intersection of (a,b,e,g,h) would be [XX].

a
a
a
b
b
c
d
e
f
g
g
g
h
[XX]

<tbody>
</tbody>


I am looking forward to your input.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,196,368
Messages
6,014,854
Members
441,850
Latest member
peh16

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