Hi, new to VBA and have been having difficulty finding a solution on the following issue and would greatly appreciate any ideas.
Would like to be able to filter the "Data" table based on the following criteria i.e. show all companies that are either "office" or "industrial" or "office" and "industrial."
In other words, the results should exclude/ filter out company "Name 4" with "n" in both "office" and "industrial"
Would prefer not using hide/ unhide rows but not sure if possible to be done with auto filter or advanced filter.
Criteria
[TABLE="width: 500"]
<tbody>[TR]
[TD]Office[/TD]
[TD]Indsutrial[/TD]
[TD]Retail[/TD]
[/TR]
[TR]
[TD]y[/TD]
[TD]y[/TD]
[TD]n[/TD]
[/TR]
</tbody>[/TABLE]
Data Table
[TABLE="width: 500"]
<tbody>[TR]
[TD]Company Name[/TD]
[TD]Office[/TD]
[TD]Industrial[/TD]
[TD]Retail[/TD]
[/TR]
[TR]
[TD]Name 1[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]y[/TD]
[/TR]
[TR]
[TD]Name 2[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]y[/TD]
[/TR]
[TR]
[TD]Name 3[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]n[/TD]
[/TR]
[TR]
[TD]Name 4[/TD]
[TD]n[/TD]
[TD]n[/TD]
[TD]n[/TD]
[/TR]
[TR]
[TD]Name 5[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[/TR]
</tbody>[/TABLE]
Thank you!
Would like to be able to filter the "Data" table based on the following criteria i.e. show all companies that are either "office" or "industrial" or "office" and "industrial."
In other words, the results should exclude/ filter out company "Name 4" with "n" in both "office" and "industrial"
Would prefer not using hide/ unhide rows but not sure if possible to be done with auto filter or advanced filter.
Criteria
[TABLE="width: 500"]
<tbody>[TR]
[TD]Office[/TD]
[TD]Indsutrial[/TD]
[TD]Retail[/TD]
[/TR]
[TR]
[TD]y[/TD]
[TD]y[/TD]
[TD]n[/TD]
[/TR]
</tbody>[/TABLE]
Data Table
[TABLE="width: 500"]
<tbody>[TR]
[TD]Company Name[/TD]
[TD]Office[/TD]
[TD]Industrial[/TD]
[TD]Retail[/TD]
[/TR]
[TR]
[TD]Name 1[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]y[/TD]
[/TR]
[TR]
[TD]Name 2[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]y[/TD]
[/TR]
[TR]
[TD]Name 3[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]n[/TD]
[/TR]
[TR]
[TD]Name 4[/TD]
[TD]n[/TD]
[TD]n[/TD]
[TD]n[/TD]
[/TR]
[TR]
[TD]Name 5[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[/TR]
</tbody>[/TABLE]
Thank you!