ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   working with funcions in filtered lists (https://www.excelbanter.com/excel-discussion-misc-queries/99184-working-funcions-filtered-lists.html)

steven

working with funcions in filtered lists
 
hello,

i have a list and in column C i have a function that calculates the value
from the row above + the value from the row to the left (so C4 reads =C3+B4)

when i filter the list the formula is calculating all rows, even the hidden
ones. I want it to calculate only the visible ones for the above formula. How
do i do that?

thank you.

VBA Noob

working with funcions in filtered lists
 

Hi,

Try this =SUBTOTAL(9,H1:H7)

if the row was hidden then this link would help

http://support.microsoft.com/default...b;en-us;150363

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=561265


steven

working with funcions in filtered lists
 
Thank you for your input. To make myself clear I do not want to use SUBTOTAL.
I just want to sum the direct above cell to the direct left one, but in a
filtered list (so the visible above cell is what I want to sum, not if it is
hidden).

Thanks

S.

"VBA Noob" wrote:


Hi,

Try this =SUBTOTAL(9,H1:H7)

if the row was hidden then this link would help

http://support.microsoft.com/default...b;en-us;150363

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=561265




All times are GMT +1. The time now is 03:48 PM.

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