Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Sum Filtered values

Hi

I have a table and applied a Filter to that table
I selected a value of a specific field of that table and now it shows me
rows 10,11,12,50,51,53
What code should I write in order for it to sum only the cells that are
shown and not the rows between?

Regards,
Pedro


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 391
Default Sum Filtered values


MyTable.Cells.SpecialCells(xlVisible).Copy

Patrick Molloy
Microsoft Excel MVP

-----Original Message-----
Hi

I have a table and applied a Filter to that table
I selected a value of a specific field of that table and

now it shows me
rows 10,11,12,50,51,53
What code should I write in order for it to sum only the

cells that are
shown and not the rows between?

Regards,
Pedro


.

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
calculate values in an unlimited range of cells in a column WITHOUTalso calculating values that had previously been filtered AGAINST? yadang Excel Discussion (Misc queries) 2 October 1st 09 06:18 PM
Count Unique Values but not Filtered or Hidden Values Lee Excel Worksheet Functions 3 June 2nd 09 11:18 PM
Return filtered values into report worksheet based on filtered valueon the data worksheet dicko1 Excel Worksheet Functions 1 April 21st 09 12:27 AM
Sum filtered values only claytorm Excel Discussion (Misc queries) 2 June 29th 05 12:11 PM
Using Filtered values as values for a chart TheNef Excel Programming 1 November 19th 03 01:28 AM


All times are GMT +1. The time now is 07:48 AM.

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"