#1   Report Post  
comotoman
 
Posts: n/a
Default "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   Report Post  
Juan Pablo González
 
Posts: n/a
Default

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   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro for Filter Switches ... Maybe??? Ken Excel Discussion (Misc queries) 4 February 25th 05 05:30 PM
Filter Switches vs Macro? Ken Excel Discussion (Misc queries) 3 February 24th 05 10:31 PM
Pivot table and filter Bruce Roberson New Users to Excel 1 January 25th 05 04:00 AM
advanced filter won't allow me to filter on bracketed text (-456.2 LucianoG Excel Discussion (Misc queries) 1 December 6th 04 08:38 PM
The Auto Filter button lost the column specified option. D Excel Worksheet Functions 1 November 4th 04 11:47 PM


All times are GMT +1. The time now is 12:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"