Advanced Filtering VBA based on cell value

kingofcamden

New Member
Joined
Feb 13, 2015
Messages
13
Dear all,

I am working on a global email communications report covering 12 markets.
As per the screenshot attached, I would like to filter results based on the cell value in D3 ("Austria") whereas D3 is a drop-down listing all 12 markets in two variants (one is just the market e.g. "Austria" and one is "Austria_Trigger"). Based on what is selected in this drop down, a filter should be applied to all columns from row 14 to 8000 taking the campaign name as a reference (column D).

An example:
  • If "Austria" is selected in D3, all results should filter and only show campaigns that contain "Austria" in the campaign name (however, EXCLUDING campaigns that contain "Austria_Trigger").
  • If "Austria_Trigger" is selected in D3, all results should filter and only show all campaigns that contain "Austria_Trigger" in the campaign name (EXCLUDING campaigns that contain "Austria" without the _Trigger extension).

Same would apply to the other 11 markets.

Untitled-1.jpg



Hope this makes sense...

Would this be possible with VBA? How would I need to assign the macro to the drop-down in order to work?

Hope someone can help...would be highly appreciated!

Thanks,
Mat
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Hi all,

Tried all day to manage and get it to work...no success yet :(
Hope someone can help...

Many thanks,
Mat
 
Upvote 0

Forum statistics

Threads
1,214,877
Messages
6,122,051
Members
449,064
Latest member
scottdog129

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