VBA ComboBoxes to reduce search area

cyrilbrd

Well-known Member
Joined
Feb 2, 2012
Messages
4,113
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Given a table with 5 columns such as:
Reftextjoin()cat1cat2cat3
1west_2024_status1west2024status1
2north_2024_status2north2024status2
3east_2023_status1east2023status1
4south_2024_status1south2024status1
5north_2023_status1north2023status1
6south_2023_status1south2023status1
7west_2024_status2west2024status2
8south_2023_status2south2023status2
9north_2023_status2north2023status2
10south_2024_status2south2024status2


I have one combobox related to the second Column textjoin(), an OFFSET Named range fills up said combobox

me1.jpg


I am looking into limiting the data based on two other combobox, here cat1 and cat2
So for example choosing "south" from the cat1 box:
me2.jpg

And choosing "2023" from cat2 box:
me3.jpg

Such would then limit the available search of the last box to here in this example only 2 entries:
me4.jpg


I am not looking into filtering the table in any manner, the table structure is unchanged.
Any suggestion?
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Could you please upload a sample workbook (without sensitive data) to a file-sharing site like Dropbox.com or Google Drive, and then share the link here? Also, ensure that the link is accessible to anyone.
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,021
Members
452,374
Latest member
keccles

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