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 / Worksheet Functions / August 2006

Tip: Looking for answers? Try searching our database.

How do I calculate only visible data (not hidden rows)?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peter - 18 Aug 2006 16:19 GMT
When I sort some data and hide rows or columns formulas are calculating using
the entire database (including hidden rows).  I'd like to calculate only
'visibe' data.
Pete_UK - 18 Aug 2006 17:35 GMT
Use SUBTOTAL( ) to act on only visible rows. For example, the formula:

=SUBTOTAL(9,A1:A100)

(equivalent to SUM) will only add the values in A1:A100 which are
visible.

Other parameters can be used instead of 9 to change the function -
check out Excel Help for a list of them.

Hope this helps.

Pete

> When I sort some data and hide rows or columns formulas are calculating using
> the entire database (including hidden rows).  I'd like to calculate only
> 'visibe' data.
 
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.