Excel VBA Macro: Autofilter Multiple Criteria in Same Column (with Array)

Опубликовано: 28 Сентябрь 2024
на канале: greggowaffles
15,182
100

Excel VBA Macro: Autofilter Multiple Criteria in Same Column (with Array). In this video, we create a macro that filters data with multiple criteria in the same column. If you ever need to automatically filter more than two criteria in the same column, you need to use an array formula. An array formula allows you to filter by X number of criteria in the same column. With Excel VBA, you can use the code we write in this video to simultaneously filter multiple criteria in the same column. The code specifies which worksheet it will be filtering, the starting point for the filtering, and the multiple criteria that will be used to filter the data by. After the filter is applied, only values that we want to see will be visible: significantly reducing the time it would take to choose multiple criteria manually.

Data used in this video:
https://gsociology.icaap.org/datauplo...

#ExcelVBA #ExcelMacro