A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Totals reflecting filtered cells only - not all data in worksheet



 
 
Thread Tools Display Modes
  #1  
Old June 15th, 2004, 04:17 PM
Mark
external usenet poster
 
Posts: n/a
Default Totals reflecting filtered cells only - not all data in worksheet

Hi

Under a range of data, I have cells with formulas or calculated totals
based on all of the data in that range. When trying to filter on this
data, I wish the results of the formulas/totals to change to refelct
only the data that has been filtered (the visible cells). Any
suggestions?
  #2  
Old June 15th, 2004, 04:50 PM
Mike Lewis
external usenet poster
 
Posts: n/a
Default Totals reflecting filtered cells only - not all data in worksheet

Try the subtotal function:

=SUBTOTAL(9,F12:F22)

It will total only visible cell

Good Luck

Mike
-----Original Message-----
Hi

Under a range of data, I have cells with formulas or

calculated totals
based on all of the data in that range. When trying to

filter on this
data, I wish the results of the formulas/totals to change

to refelct
only the data that has been filtered (the visible cells).

Any
suggestions?
.

  #3  
Old June 16th, 2004, 09:12 AM
Mark
external usenet poster
 
Posts: n/a
Default Totals reflecting filtered cells only - not all data in worksheet

Hi Mike

Not clear on how that may work. Have a number of columns on which to
filter on and some cells at base of data range with formulas that
account for all the data (not simply using count if or sum functions)
.. Wish the formulas to automatically change to reflect only the data
shown when filtered.

Any help appreciated.
Mark



"Mike Lewis" wrote in message ...
Try the subtotal function:

=SUBTOTAL(9,F12:F22)

It will total only visible cell

Good Luck

Mike
-----Original Message-----
Hi

Under a range of data, I have cells with formulas or

calculated totals
based on all of the data in that range. When trying to

filter on this
data, I wish the results of the formulas/totals to change

to refelct
only the data that has been filtered (the visible cells).

Any
suggestions?
.

  #4  
Old June 16th, 2004, 02:07 PM
Mike Lewis
external usenet poster
 
Posts: n/a
Default Totals reflecting filtered cells only - not all data in worksheet

Mark, the subtotal function is designed to sum only the
cells in the identified range that are visible, so if you
have a column of numbers, 5,10,15,20 and the 15 is hidden
for some reason - the result of =subtotal(9,range) would
be 35. The number 9 in the subtotal function tells it to
sum, other numbers in the subtotal function will count,
average etc. only the visible rows.

Mike

-----Original Message-----
Hi Mike

Not clear on how that may work. Have a number of columns

on which to
filter on and some cells at base of data range with

formulas that
account for all the data (not simply using count if or

sum functions)
.. Wish the formulas to automatically change to reflect

only the data
shown when filtered.

Any help appreciated.
Mark



"Mike Lewis" wrote

in message news:1c76b01c452f0$7c19a2a0
...
Try the subtotal function:

=SUBTOTAL(9,F12:F22)

It will total only visible cell

Good Luck

Mike
-----Original Message-----
Hi

Under a range of data, I have cells with formulas or

calculated totals
based on all of the data in that range. When trying to

filter on this
data, I wish the results of the formulas/totals to

change
to refelct
only the data that has been filtered (the visible

cells).
Any
suggestions?
.

.

  #5  
Old June 17th, 2004, 09:32 AM
Mark
external usenet poster
 
Posts: n/a
Default Totals reflecting filtered cells only - not all data in worksheet

Hi Mike

Thanks for your help. Unfortunately I don't think the subtotal
function can help in these circumstances, as not looking at simple
formulas like count, average etc, but will look at getting around it.

Thanks again
Mark


"Mike Lewis" wrote in message ...
Mark, the subtotal function is designed to sum only the
cells in the identified range that are visible, so if you
have a column of numbers, 5,10,15,20 and the 15 is hidden
for some reason - the result of =subtotal(9,range) would
be 35. The number 9 in the subtotal function tells it to
sum, other numbers in the subtotal function will count,
average etc. only the visible rows.

Mike

-----Original Message-----
Hi Mike

Not clear on how that may work. Have a number of columns

on which to
filter on and some cells at base of data range with

formulas that
account for all the data (not simply using count if or

sum functions)
.. Wish the formulas to automatically change to reflect

only the data
shown when filtered.

Any help appreciated.
Mark



"Mike Lewis" wrote

in message news:1c76b01c452f0$7c19a2a0
...
Try the subtotal function:

=SUBTOTAL(9,F12:F22)

It will total only visible cell

Good Luck

Mike
-----Original Message-----
Hi

Under a range of data, I have cells with formulas or

calculated totals
based on all of the data in that range. When trying to

filter on this
data, I wish the results of the formulas/totals to

change
to refelct
only the data that has been filtered (the visible

cells).
Any
suggestions?
.

.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:16 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.