Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Evan
 
Posts: n/a
Default Determine Value of Autofilter

People

I have a large spreadsheet with Autofilters switched on.

Elsewhere I have some summary data of the filtered data e.g SUBTOTAL(9,)

But I need to know the value of the Autofilter they have selected from the
dropdown. The reason being I also want (in my summary data) to do some
DLOOKUP of other data stored elsewhere based on this autofilter for my
summary.

Can't seem to find a a way (or create a function) to get this value.

Any pointers?

TIA


Evan


  #2   Report Post  
bj
 
Posts: n/a
Default

in help on auto filter the following is suggested
If .AutoFilterMode Then
With .AutoFilter.Filters(1)
If .On Then c1 = .Criteria1
End With
End If
Filters(1) would be the leftmost filter.
each one to the right will increment up by one.

"Evan" wrote:

People

I have a large spreadsheet with Autofilters switched on.

Elsewhere I have some summary data of the filtered data e.g SUBTOTAL(9,)

But I need to know the value of the Autofilter they have selected from the
dropdown. The reason being I also want (in my summary data) to do some
DLOOKUP of other data stored elsewhere based on this autofilter for my
summary.

Can't seem to find a a way (or create a function) to get this value.

Any pointers?

TIA


Evan



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
Frozen panes in Excel should stay put when using autofilter. stuckfly Excel Discussion (Misc queries) 8 March 10th 06 06:18 PM
Improve autofilter combine conditionals with filter criteria dmcauli3 Excel Worksheet Functions 0 May 13th 05 01:27 PM
New Project, Different Problem: AutoFilter? Helen McClaine Excel Discussion (Misc queries) 5 February 2nd 05 06:45 PM
Can I AutoFilter an entire workbook? Matrix015 Excel Discussion (Misc queries) 0 January 18th 05 02:51 PM
Strange Results with Autofilter Joyce Excel Discussion (Misc queries) 1 January 17th 05 02:42 AM


All times are GMT +1. The time now is 03:32 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"