ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   =sum with a filter (https://www.excelbanter.com/excel-worksheet-functions/448046-%3Dsum-filter.html)

CJH

=sum with a filter
 
Hello All,

New to the forum and just after a little help!

I have a spreadsheet and I've put a filter on but when I try and add the column up it includes the unfiltered values as well?

Is there a way of just adding the filtered items?

TIA
C

Claus Busch

=sum with a filter
 
Hi,

Am Wed, 23 Jan 2013 13:36:49 +0000 schrieb CJH:

I have a spreadsheet and I've put a filter on but when I try and add the
column up it includes the unfiltered values as well?


for filtered data use SUBTOTAL. For Sum A1:A100:
=SUBTOTAL(109,A1:A100)


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2

Kevin@Radstock

Hi CJH

Have you looked into the SUBTOTAL function or if you have Excel 2010 use the AGGREGATE function.

Kevin

Quote:

Originally Posted by CJH (Post 1608825)
Hello All,

New to the forum and just after a little help!

I have a spreadsheet and I've put a filter on but when I try and add the column up it includes the unfiltered values as well?

Is there a way of just adding the filtered items?

TIA
C



All times are GMT +1. The time now is 05:59 AM.

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