Excel VBA Macro: Autofilter Multiple Columns (Simultaneously)

preview_player
Показать описание
Excel VBA Macro: Autofilter Multiple Columns (Simultaneously). In this video, we create a macro that filters data not equal to a particular value. If you ever need to automatically filter data in multiple columns, at the same time with Excel VBA, you can use the code we write in this video to simultaneously filter data across multiple columns. The code specifies which worksheet it will be filtering, the starting point for the filtering, and then what criteria will be used to filter multiple columns by. After the filter is applied, only values that we want to see will be visible: significantly reducing the time it would take to filter multiple columns manually.

Data used in this video:

#ExcelVBA #ExcelMacro
Рекомендации по теме
Комментарии
Автор

Hi, nice vid bud. Do you know if there is away to have two or three drop down filters instead of the entire row?. I have a spread sheet with eight columns and only need two with a drop down filter on but excel said no lol.

michaelkay
Автор

Hi, nice but have doubt can we keep down fields as blank , if you select any country it should appear only those details by default all data should blank. I was working on excel can you help please?

reshithan
Автор

It's great to see the magic using VBA, I'm dealing with a report where I have to filter in multiple columns. For example, let's say in column B I have 5 different values and I have to filter 1 item from that.. it's possible to do seeing your video. Here is the twist for me. I'll continue with the example.. In column C I have multiple items and I have to select only 4 items on that... I will do it using array seeing the video.. This is the biggest challenge for me to filter next column E... Column E in my report is basically aging of the items. As I mentioned above, I filtered 4 items in column C right.. But I would like to filter those 4 items based on aging in column E.. Each items from column bee has different aging to be pulled... So I need help on this... Please help me

shanlucas