Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default Return Value from a Filtered List

Thanks in advance to anyone that can help me. I have chart that I
would like to title based on a user's selection from a filtered list.
The title is identical to whatever the user picks from an AutoFiltered
List. I am having trouble referencing the cell using dynamic titles
because it never returns the value in the same position (the filter
shows values but also has many hidden rows). I thought if I could
populate the user's selection in another field and then reference this
other field, that would help me title my graph.

Does anyone know how to do this?

Please let me know either way.

Thanks.

Conor Finnegan

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,979
Default Return Value from a Filtered List

To show the value that has been selected in the AutoFilter dropdown, you
can create a User Defined Function. There's a sample file he

http://www.contextures.com/excelfiles.html

Under Filters, look for 'FL0007 - Highlight AutoFilter Headings'

In cells I1:O1 are formulas that return the filter criteria, based on a
user defined function that was posted by Tom Ogilvy.
You could adapt that to your workbook.


wrote:
Thanks in advance to anyone that can help me. I have chart that I
would like to title based on a user's selection from a filtered list.
The title is identical to whatever the user picks from an AutoFiltered
List. I am having trouble referencing the cell using dynamic titles
because it never returns the value in the same position (the filter
shows values but also has many hidden rows). I thought if I could
populate the user's selection in another field and then reference this
other field, that would help me title my graph.


--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Return Value from a Filtered List

Assume row A1:D1 are column headers with the filter applied.
A2:D20 is the data

Try this array formula** to return the first filtered value from column A:

=INDEX(A2:A20,MATCH(1,(SUBTOTAL(3,OFFSET(A2:A20,RO W(A2:A20)-MIN(ROW(A2:A20)),0,1)))*(A2:A20<""),0))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


wrote in message
oups.com...
Thanks in advance to anyone that can help me. I have chart that I
would like to title based on a user's selection from a filtered list.
The title is identical to whatever the user picks from an AutoFiltered
List. I am having trouble referencing the cell using dynamic titles
because it never returns the value in the same position (the filter
shows values but also has many hidden rows). I thought if I could
populate the user's selection in another field and then reference this
other field, that would help me title my graph.

Does anyone know how to do this?

Please let me know either way.

Thanks.

Conor Finnegan



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default Return Value from a Filtered List

On Aug 6, 8:16 pm, "T. Valko" wrote:
Assume row A1:D1 are column headers with the filter applied.
A2:D20 is the data

Try this array formula** to return the first filtered value from column A:

=INDEX(A2:A20,MATCH(1,(SUBTOTAL(3,OFFSET(A2:A20,RO W(A2:A20)-MIN(ROW(A2:A20)*),0,1)))*(A2:A20<""),0))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP

wrote in message

oups.com...



Thanks in advance to anyone that can help me. I have chart that I
would like to title based on a user's selection from a filtered list.
The title is identical to whatever the user picks from an AutoFiltered
List. I am having trouble referencing the cell using dynamic titles
because it never returns the value in the same position (the filter
shows values but also has many hidden rows). I thought if I could
populate the user's selection in another field and then reference this
other field, that would help me title my graph.


Does anyone know how to do this?


Please let me know either way.


Thanks.


Conor Finnegan- Hide quoted text -


- Show quoted text -


Thank you both for your help. The ideas worked great. I really do
appreciate it.

Conor

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Return Value from a Filtered List

wrote in message
oups.com...
On Aug 6, 8:16 pm, "T. Valko" wrote:
Assume row A1:D1 are column headers with the filter applied.
A2:D20 is the data

Try this array formula** to return the first filtered value from column
A:

=INDEX(A2:A20,MATCH(1,(SUBTOTAL(3,OFFSET(A2:A20,RO W(A2:A20)-MIN(ROW(A2:A20)*),0,1)))*(A2:A20<""),0))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP

wrote in message

oups.com...



Thanks in advance to anyone that can help me. I have chart that I
would like to title based on a user's selection from a filtered list.
The title is identical to whatever the user picks from an AutoFiltered
List. I am having trouble referencing the cell using dynamic titles
because it never returns the value in the same position (the filter
shows values but also has many hidden rows). I thought if I could
populate the user's selection in another field and then reference this
other field, that would help me title my graph.


Does anyone know how to do this?


Please let me know either way.


Thanks.


Conor Finnegan- Hide quoted text -


- Show quoted text -


Thank you both for your help. The ideas worked great. I really do
appreciate it.


Conor


You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


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
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null Ben Excel Discussion (Misc queries) 2 March 15th 07 01:02 AM
I want to add up the result of a filtered list Scott Excel Worksheet Functions 1 March 11th 07 11:45 AM
filtered list question Bob B Excel Discussion (Misc queries) 4 December 27th 05 07:04 PM
Counting a Filtered List kkrebs Excel Discussion (Misc queries) 6 September 22nd 05 02:57 PM
Using TRIMEAN on a filtered list claytorm Excel Discussion (Misc queries) 3 August 25th 05 07:15 AM


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