XL VBA - filter column based on parts of string in a remote cell value

2Took

Board Regular
Joined
Jun 13, 2022
Messages
203
Office Version
  1. 365
Platform
  1. Windows
Remote* Cell values in a named range "MyNamedRange"** have following structure:

"U. HeaderName - KeyWord"***

Filters and HeaderName row is in row 10

Objective - Upon Right Click on a cell in above named range:
- Filter in Column U using the "KeyWord"

* Remote - as in it is not part of the column which needs filtering
** Named range "MyNamedRange" is in top frozen rows B1:i9
*** All values in the remote cell come from a formula, in above example: "Column U. U10 - intersection of Active Cell Row and Column U"
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
If I understand correctly:
  1. User right-clicks on cell in (frozen toprows) range MyNamedRange
  2. The VBA should then filter the table using column U
  • What I don't understand is the format of the text in the MyNamedRange and the text in column U. Some examples please.
  • You also mention HeaderName. Header of which column?
  • What is the address (columns, + first row) of table to be filtered.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,959
Members
449,096
Latest member
Anshu121

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