Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am using autofilter and each time I switch to the next entry I need to
capture the last value in a certain column to use as part of a new formula. Let's suppose my filter shows me my headings in row one, data in rows 11-20, and then first blank row (row 3100) below all the hidden rows. I was trying to use OFFSET, with a cell in row 3100 as my reference in order to see data in row 20, but instead I am getting row 3099. I realize that functions like SUBTOTAL ignore hidden rows, but there are only 11 different applications of SUBTOTAL. How can I add this useful feature of SUBTOTAL to OFFSET, or something similar? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
K wrote...
I am using autofilter and each time I switch to the next entry I need to capture the last value in a certain column to use as part of a new formula. Let's suppose my filter shows me my headings in row one, data in rows 11-20, and then first blank row (row 3100) below all the hidden rows. I was trying to use OFFSET, with a cell in row 3100 as my reference in order to see data in row 20, but instead I am getting row 3099. I realize that functions like SUBTOTAL ignore hidden rows, but there are only 11 different applications of SUBTOTAL. How can I add this useful feature of SUBTOTAL to OFFSET, or something similar? Add a column to the table that shows the row numbers, then use SUBTOTAL(4,NewCol) to get the row number of the last visible row in the filtered table. Use that with INDEX. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() "Harlan Grove" wrote: K wrote... I am using autofilter and each time I switch to the next entry I need to capture the last value in a certain column to use as part of a new formula. Let's suppose my filter shows me my headings in row one, data in rows 11-20, and then first blank row (row 3100) below all the hidden rows. I was trying to use OFFSET, with a cell in row 3100 as my reference in order to see data in row 20, but instead I am getting row 3099. I realize that functions like SUBTOTAL ignore hidden rows, but there are only 11 different applications of SUBTOTAL. How can I add this useful feature of SUBTOTAL to OFFSET, or something similar? Add a column to the table that shows the row numbers, then use SUBTOTAL(4,NewCol) to get the row number of the last visible row in the filtered table. Use that with INDEX. Thank you. It worked! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to be noticed/to avoid equal values in a colum | Excel Worksheet Functions | |||
Copy/Paste how to avoid the copy of formula cells w/o calc values | Excel Discussion (Misc queries) | |||
Absolute values in formulas | Excel Discussion (Misc queries) | |||
Removing Hidden But Keep Values | Excel Discussion (Misc queries) | |||
delete values in several cells without deleting the formulas | Excel Discussion (Misc queries) |