Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 349
Default How do I calculate only visible data (not hidden rows)?

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default How do I calculate only visible data (not hidden rows)?

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

Peter wrote:
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.


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
ranking query JaimeTimbrell Excel Discussion (Misc queries) 2 February 16th 06 08:09 AM
Showing only rows with data Shaz Excel Discussion (Misc queries) 2 February 16th 06 04:32 AM
Printing only Rows with Visible Data Storm Excel Discussion (Misc queries) 7 December 8th 05 09:19 PM
Hiding Rows if the linked rows are blank KG Excel Discussion (Misc queries) 9 May 18th 05 02:32 AM
Copying data without hidden rows. Cube Farmer Excel Worksheet Functions 2 April 27th 05 03:17 PM


All times are GMT +1. The time now is 08:33 PM.

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

About Us

"It's about Microsoft Excel"