LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default When creating a formula how do you select only visible cells

This is a common filtering problem. You sum a column of numbers, then apply
a filter, so some of the cells are not visible, but the sum formula still
adds them in.

The solution is to use the SUBTOTAL() function. The name is mis-leading.
The function can:
1 AVERAGE
2 COUNT
3 COUNTA
4 MAX
5 MIN
6 PRODUCT
7 STDEV
8 STDEVP
9 SUM
10 VAR
11 VARP

and it ignores data hidden by filtering. See Excel Help.
--
Gary''s Student


"fuadramsey" wrote:


I know you can use the "select only visible cells" option to select a
group of visable cells when filtered or hidden, but this does not seem
to work when I am entering a formula.
I hit the equall button and then the average button, here I can select
cells with the mouse(on a filtered sheet), but when I hit the "select
only visable cells" button, nothing changes


--
fuadramsey
------------------------------------------------------------------------
fuadramsey's Profile: http://www.excelforum.com/member.php...o&userid=35352
View this thread: http://www.excelforum.com/showthread...hreadid=551252


 
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
how do I select, cut, and paste visible cells only Cutting and pasting invisible cells. Excel Discussion (Misc queries) 2 May 10th 06 09:55 PM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
enhanced conditional formatting Stuart Excel Discussion (Misc queries) 13 November 13th 05 07:20 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
How do i select different cells to be use in a formula. Manuel Excel Discussion (Misc queries) 1 January 13th 05 03:52 PM


All times are GMT +1. The time now is 12:32 AM.

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

About Us

"It's about Microsoft Excel"