advanced filter

jammoca

Banned
Joined
Nov 6, 2002
Messages
1,100
I have a database table in the range ... A1:E30, obviously with headings in row 1 of that range.

I have a copy of the headings in the range .. H1:L1.

In using the advanced filter, I have set my List Range as A1:E30 and my Criteria Range as H1:L2

If I have the name 'Smith' entered in cell H2 and run the advanced filter, it works correctly and concertinas the database table so only the rows relevant to 'Smith' will be displayed.

However, if I change the name in cell H2 to a different name that exists in the database, the Database Table does not reconcertina itself to reveal only the relevant rows for that new name.

I know I can make it repeat the process by adding a macro to a button and press it when I need to reset the database, but surely I shouldn't have to do that.

Is the advanced filter function a one-use only function ? Is there something I've missed ?

Ta in advance,

Chris
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,224,551
Messages
6,179,476
Members
452,915
Latest member
hannnahheileen

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