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

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
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,223,880
Messages
6,175,154
Members
452,615
Latest member
bogeys2birdies

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