Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
alex
 
Posts: n/a
Default Auto Filter + subtotal

How I can add a subtotal/total line below a list with auto-filter ?
  #2   Report Post  
David McRitchie
 
Posts: n/a
Default

=SUBTOTAL(9, B2:B200)
but the subtotal must be seen either by including a value that the
filter will allow to be displayed, or by being outside the filtered rows.

--
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"alex" wrote in message ...
How I can add a subtotal/total line below a list with auto-filter ?



  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

And remember that =subtotal() will ignore those values hidden by the autofilter.

You may want to dump the autofilter and (if your data is sorted nicely) use
Data|Subtotals.

alex wrote:

How I can add a subtotal/total line below a list with auto-filter ?


--

Dave Peterson
  #4   Report Post  
alex
 
Posts: n/a
Default

thanks a lot. i was putting the SUBTOTAL inside the filtered range, so it was
disappearing...



"David McRitchie" wrote:

=SUBTOTAL(9, B2:B200)
but the subtotal must be seen either by including a value that the
filter will allow to be displayed, or by being outside the filtered rows.

--
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"alex" wrote in message ...
How I can add a subtotal/total line below a list with auto-filter ?




  #5   Report Post  
Anand
 
Posts: n/a
Default

I am using Advanced Filter and subtotal. I am using the function
Subtotal(9,A1:A22)

Once I change the filter criteria, I had thought, subtotal will
automatically calculate, but in my case it is not. However, if I double click
on the cell where I have subtotal and hit Enter, it updates the calculation.

Is there something that I am missing and if you know a fix for this I would
really appreciate any help.
Thanks,
--
Anand Chhajed


"alex" wrote:

How I can add a subtotal/total line below a list with auto-filter ?



  #6   Report Post  
Dave Peterson
 
Posts: n/a
Default

Do you have calculation set for automatic?

Tools|Options|calculation tab.

Anand wrote:

I am using Advanced Filter and subtotal. I am using the function
Subtotal(9,A1:A22)

Once I change the filter criteria, I had thought, subtotal will
automatically calculate, but in my case it is not. However, if I double click
on the cell where I have subtotal and hit Enter, it updates the calculation.

Is there something that I am missing and if you know a fix for this I would
really appreciate any help.
Thanks,
--
Anand Chhajed

"alex" wrote:

How I can add a subtotal/total line below a list with auto-filter ?


--

Dave Peterson
  #7   Report Post  
Anand
 
Posts: n/a
Default

Yes, that is set for automatic.

Also, there is a tab for Calc Now(F9). Even if you click on that it does not
calculate.
But, as I said if I double click on that cell, it calculate automatically.
Appreciate your help!

Thanks,
Anand
--
Anand Chhajed


"Dave Peterson" wrote:

Do you have calculation set for automatic?

Tools|Options|calculation tab.

Anand wrote:

I am using Advanced Filter and subtotal. I am using the function
Subtotal(9,A1:A22)

Once I change the filter criteria, I had thought, subtotal will
automatically calculate, but in my case it is not. However, if I double click
on the cell where I have subtotal and hit Enter, it updates the calculation.

Is there something that I am missing and if you know a fix for this I would
really appreciate any help.
Thanks,
--
Anand Chhajed

"alex" wrote:

How I can add a subtotal/total line below a list with auto-filter ?


--

Dave Peterson

  #8   Report Post  
Dave Peterson
 
Posts: n/a
Default

Do you see Calculate in the statusbar (bottom left corner) when you filter on
something else?

xl2002 (I think) added an option to turn calculation off on a sheet by sheet
basis.

But this is extremely rare (in my experience).

What version of excel are you using?

(I don't have a real good guess.)

One thing to try if you're at your wit's end:

Select all the cells
edit|replace
what: = (equal sign)
with: = (equal sign)
replace all

Maybe it'll make the next change calculate correctly.

Anand wrote:

Yes, that is set for automatic.

Also, there is a tab for Calc Now(F9). Even if you click on that it does not
calculate.
But, as I said if I double click on that cell, it calculate automatically.
Appreciate your help!

Thanks,
Anand
--
Anand Chhajed

"Dave Peterson" wrote:

Do you have calculation set for automatic?

Tools|Options|calculation tab.

Anand wrote:

I am using Advanced Filter and subtotal. I am using the function
Subtotal(9,A1:A22)

Once I change the filter criteria, I had thought, subtotal will
automatically calculate, but in my case it is not. However, if I double click
on the cell where I have subtotal and hit Enter, it updates the calculation.

Is there something that I am missing and if you know a fix for this I would
really appreciate any help.
Thanks,
--
Anand Chhajed

"alex" wrote:

How I can add a subtotal/total line below a list with auto-filter ?


--

Dave Peterson


--

Dave Peterson
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
Auto Filter not working properly Dale Fye Excel Discussion (Misc queries) 1 March 16th 05 01:29 PM
auto filter question Juco Excel Worksheet Functions 0 November 29th 04 02:48 PM
auto filter question Juco Excel Worksheet Functions 1 November 28th 04 02:51 PM
The Auto Filter button lost the column specified option. D Excel Worksheet Functions 1 November 4th 04 11:47 PM
Why can't my macro use Auto Filter when I told the Sheet Protecti. KC Rippstein Excel Worksheet Functions 1 October 28th 04 06:13 PM


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