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

Hello,

I have a macro where I export data from an Access database into an excel
worksheet, and create an AutoFilter into it.
Now I want to get the total of one column into another cell. But, when I
use the AutoFilter, I want this total to be just the amount of the rows
that stay visibles.
Can anyone help me?
Sorry my bad english.

Ottoni.



*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Filter Total

Take a look at the =subtotal() function in excel's help.

It'll ignore rows hidden by your autofilter.

Frederico Ottoni wrote:

Hello,

I have a macro where I export data from an Access database into an excel
worksheet, and create an AutoFilter into it.
Now I want to get the total of one column into another cell. But, when I
use the AutoFilter, I want this total to be just the amount of the rows
that stay visibles.
Can anyone help me?
Sorry my bad english.

Ottoni.

*** Sent via Developersdex http://www.developersdex.com ***


--

Dave Peterson
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
EXCLUDE TOTAL FROM FILTER Dave Excel Discussion (Misc queries) 8 May 1st 23 11:41 AM
Filter under a total capt Excel Discussion (Misc queries) 9 December 10th 07 12:29 PM
Filter Sub-Total wnfisba Excel Discussion (Misc queries) 1 December 20th 06 06:05 PM
How do i total a specific sum, using the filter? auntwanette New Users to Excel 3 July 10th 06 09:28 PM
Total on filter jk Setting up and Configuration of Excel 4 July 7th 06 06:29 PM


All times are GMT +1. The time now is 10:16 PM.

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"