Home |
Search |
Today's Posts |
#1
|
|||
|
|||
"Avanced?" Filter
Is there a macro or a way to base auto filter on a cell number. a6:a100 is the filter area. (numbers 1-12) d4 could be a number from 1-12 i would like a6:a100 to filter by the d4 entry. Thanks. -- comotoman ------------------------------------------------------------------------ comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292 View this thread: http://www.excelforum.com/showthread...hreadid=473002 |
#2
|
|||
|
|||
You can do it using VBA. Here's an example:
http://www.dicks-blog.com/archives/2...tering-in-vba/ -- Regards, Juan Pablo González Excel MVP "comotoman" wrote in message ... Is there a macro or a way to base auto filter on a cell number. a6:a100 is the filter area. (numbers 1-12) d4 could be a number from 1-12 i would like a6:a100 to filter by the d4 entry. Thanks. -- comotoman ------------------------------------------------------------------------ comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292 View this thread: http://www.excelforum.com/showthread...hreadid=473002 |
#3
|
|||
|
|||
You can use the Advanced Filter featu
Add a heading to the list, unless cell A6 contains the heading Add the same heading to cell D3 Select a cell in the list of numbers Choose DataFilterAdvanced Filter For the List Range, use your range of numbers For the Criteria Range, use D3:D4 Click OK comotoman wrote: Is there a macro or a way to base auto filter on a cell number. a6:a100 is the filter area. (numbers 1-12) d4 could be a number from 1-12 i would like a6:a100 to filter by the d4 entry. Thanks. -- Debra Dalgleish Excel FAQ, Tips & Book List http://www.contextures.com/tiptech.html |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro for Filter Switches ... Maybe??? | Excel Discussion (Misc queries) | |||
Filter Switches vs Macro? | Excel Discussion (Misc queries) | |||
Pivot table and filter | New Users to Excel | |||
advanced filter won't allow me to filter on bracketed text (-456.2 | Excel Discussion (Misc queries) | |||
The Auto Filter button lost the column specified option. | Excel Worksheet Functions |