Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2007

Tip: Looking for answers? Try searching our database.

exclude hidden rows from sum

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ian - 17 Oct 2007 02:32 GMT
is there a way to exclude hidden rows when summing a column

eg: sum(A1:A4) but Row 3 is hidden so the result I want is =A1+A2+A4..

Thanks.  Ian.
OssieMac - 17 Oct 2007 02:42 GMT
Hi Ian,

What method is used to hide the rows? If they are hidden due to Autofilter
then you can use:-

=SUBTOTAL(9,A1:A4)

Lookup subtotal for more parameter options.

Regards,

OssieMac

> is there a way to exclude hidden rows when summing a column
>
> eg: sum(A1:A4) but Row 3 is hidden so the result I want is =A1+A2+A4..
>
> Thanks.  Ian.
OssieMac - 17 Oct 2007 02:53 GMT
Hi again Ian,

The following ignores hidden rows:-

=SUBTOTAL(109,A1:A4)

Regards,

OssieMac

> Hi Ian,
>
[quoted text clipped - 14 lines]
> >
> > Thanks.  Ian.
Gord Dibben - 17 Oct 2007 03:01 GMT
Ossiemac

This function was introduced in Excel 2003.

Prior to that SUBTOTAL would function only on rows hidden by autofilter as
pointed out in your first post.

Gord Dibben  MS Excel MVP

>Hi again Ian,
>
[quoted text clipped - 24 lines]
>> >
>> > Thanks.  Ian.
Ian - 18 Oct 2007 00:05 GMT
The subtotal (109, [range]) worked perfectly (Excel 2003).  Never knew the
function even existed.  Thanks a lot guys.  Ian.

> is there a way to exclude hidden rows when summing a column
>
> eg: sum(A1:A4) but Row 3 is hidden so the result I want is =A1+A2+A4..
>
> Thanks.  Ian.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.