Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How can I make the autosum refer to visable rows / filter?

I have made a excel sheet with filter function. When I use the filter, I want
the sum to reflect the rows that are visable, ie I want the sum to change
when I use the filter. It worked before, but now suddenly it doesn't anymore.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default How can I make the autosum refer to visable rows / filter?

Maria,

Are you sure it wasn't subtotal that worked before

=SUBTOTAL(109,B2:B20)

With data in B2 to B20 this will sum visible cells only

Mike

"Maria" wrote:

I have made a excel sheet with filter function. When I use the filter, I want
the sum to reflect the rows that are visable, ie I want the sum to change
when I use the filter. It worked before, but now suddenly it doesn't anymore.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 71
Default How can I make the autosum refer to visable rows / filter?

Hi Mike,

Thanks for trying to help :-)
I have used different formulas in the bottom row, and they always changed
when I made a selection in the auto filter. One example is average, which
doesn't change when I do a selection in the autofilter. This means that I
have to manually do a calculation for each selection.

Best regards,
Maria

"Mike H" wrote:

Maria,

Are you sure it wasn't subtotal that worked before

=SUBTOTAL(109,B2:B20)

With data in B2 to B20 this will sum visible cells only

Mike

"Maria" wrote:

I have made a excel sheet with filter function. When I use the filter, I want
the sum to reflect the rows that are visable, ie I want the sum to change
when I use the filter. It worked before, but now suddenly it doesn't anymore.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default How can I make the autosum refer to visable rows / filter?

Look up SUBTOTAL function in Help and you will see 11 diferent numbers you can
use for a function.

=SUBTOTAL(1 or 101,range) for Average


Gord Dibben MS Excel MVP

On Mon, 11 Feb 2008 06:17:03 -0800, Maria
wrote:

Hi Mike,

Thanks for trying to help :-)
I have used different formulas in the bottom row, and they always changed
when I made a selection in the auto filter. One example is average, which
doesn't change when I do a selection in the autofilter. This means that I
have to manually do a calculation for each selection.

Best regards,
Maria

"Mike H" wrote:

Maria,

Are you sure it wasn't subtotal that worked before

=SUBTOTAL(109,B2:B20)

With data in B2 to B20 this will sum visible cells only

Mike

"Maria" wrote:

I have made a excel sheet with filter function. When I use the filter, I want
the sum to reflect the rows that are visable, ie I want the sum to change
when I use the filter. It worked before, but now suddenly it doesn't anymore.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How can I make the autosum refer to visable rows / filter?

If you have the autofilter applied and the data is filtered on some
criteria, if you then use autosum (or auto-whatever) on the filtered data
range Excel (2002) automatically uses the SUBTOTAL function.

--
Biff
Microsoft Excel MVP


"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Look up SUBTOTAL function in Help and you will see 11 diferent numbers you
can
use for a function.

=SUBTOTAL(1 or 101,range) for Average


Gord Dibben MS Excel MVP

On Mon, 11 Feb 2008 06:17:03 -0800, Maria

wrote:

Hi Mike,

Thanks for trying to help :-)
I have used different formulas in the bottom row, and they always changed
when I made a selection in the auto filter. One example is average, which
doesn't change when I do a selection in the autofilter. This means that I
have to manually do a calculation for each selection.

Best regards,
Maria

"Mike H" wrote:

Maria,

Are you sure it wasn't subtotal that worked before

=SUBTOTAL(109,B2:B20)

With data in B2 to B20 this will sum visible cells only

Mike

"Maria" wrote:

I have made a excel sheet with filter function. When I use the filter,
I want
the sum to reflect the rows that are visable, ie I want the sum to
change
when I use the filter. It worked before, but now suddenly it doesn't
anymore.






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default How can I make the autosum refer to visable rows / filter?

Never new that...................or forgot maybe more likely<g

Thanks for bringing it to the table.


Gord

On Mon, 11 Feb 2008 17:37:18 -0500, "T. Valko" wrote:

If you have the autofilter applied and the data is filtered on some
criteria, if you then use autosum (or auto-whatever) on the filtered data
range Excel (2002) automatically uses the SUBTOTAL function.


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
autosum with filter excel 2007 chris z Excel Discussion (Misc queries) 1 August 25th 07 04:42 PM
make criteria in sumif refer to another cell keithjdowling Excel Worksheet Functions 4 May 31st 06 02:17 AM
Data Filter and AutoSum Ket Excel Worksheet Functions 4 May 16th 06 12:02 PM
How to make autosum update totals in excel Miranda Excel Worksheet Functions 3 February 2nd 06 06:14 AM
How do I make a formula refer to given data even if I do a sort f. keithpt Excel Discussion (Misc queries) 0 March 17th 05 10:20 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"