ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Filtered Cell Question (https://www.excelbanter.com/excel-worksheet-functions/84956-filtered-cell-question.html)

Bg

Filtered Cell Question
 
I have a worksheet with 8 columns and 600+ rows of data. I have filters
enabled for all the columns. Column "A" is for last names. When I filter the
names in column "A", I will get about 10-20 last names. I would like to have
formula in cell A-10 that will use the last name that was filtered in column
"A".
Is that possible?

Thanks
Bg



Domenic

Filtered Cell Question
 
To return the last text value in a filtered list, try...

=LOOKUP(2,1/SUBTOTAL(3,OFFSET(A2:A10,ROW(A2:A10)-ROW(A2),0,1)),A2:A10)

Hope this helps!

In article ,
"Bg" wrote:

I have a worksheet with 8 columns and 600+ rows of data. I have filters
enabled for all the columns. Column "A" is for last names. When I filter the
names in column "A", I will get about 10-20 last names. I would like to have
formula in cell A-10 that will use the last name that was filtered in column
"A".
Is that possible?

Thanks
Bg


Domenic

Filtered Cell Question
 
I guess that should read...

"To return the last value in a filtered list, try..."

In article ,
Domenic wrote:

To return the last text value in a filtered list, try...

=LOOKUP(2,1/SUBTOTAL(3,OFFSET(A2:A10,ROW(A2:A10)-ROW(A2),0,1)),A2:A10)

Hope this helps!


Bob G

Filtered Cell Question
 
Domenic,
Works great...thnaks very much!
Bg

"Domenic" wrote in message
...
I guess that should read...

"To return the last value in a filtered list, try..."

In article ,
Domenic wrote:

To return the last text value in a filtered list, try...

=LOOKUP(2,1/SUBTOTAL(3,OFFSET(A2:A10,ROW(A2:A10)-ROW(A2),0,1)),A2:A10)

Hope this helps!





All times are GMT +1. The time now is 12:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com