PC Review


Reply
Thread Tools Rate Thread

Autofilter Displays Sums

 
 
boborta@hotmail.com
Guest
Posts: n/a
 
      11th Dec 2006
I use Excel 2000 to display data extracted from DB2 via SAS.

Worksheets use the Autofilter feature on all 45 columns and about 20 of
the columns are summed at the bottom. There are also 4 hidden rows
below the 'main' data, which is used in the QA process.

How the data is updated (replaced) once every three months:
Data is extracted from DB2 and a delimited text file is generated - the
# of rows is noted.
The target Excel file is opened and rows are counted. If the row
counts are the same, the rows in the target file are selected and the
'Del' key is pressed - this retains all the formatting of the columns.
If there are more, rows are added in the 'middle' of the data. If
there are fewer rows to add, we delete the rows. I failed to mention
that I am locked into this process...
We take up at the post 'Del' keystroke now: The text file is opened
w/Excel . Then, the data from the open text file is pasted into the
target Excel file. Normally, no problems are encountered with the
autofilter feature at this point - meaning that if a column is
filtered, considers neither the summary row nor the hidden rows - this
is a good thing. However, I have one Excel file that is misbehaving.
It is 'considering' the summary rows and hidden rows when a filter is
applied. It is obvious by listing 'blank' as one of the sorting
options.

Thanks for looking.
Bob

 
Reply With Quote
 
 
 
 
KC Rippstein
Guest
Posts: n/a
 
      11th Dec 2006
Bob,
I had a similar situation and found that just inserting a blank row directly
above the subtotals did the trick. I made it 4 points high to keep it of
minimal size, then I turned the autofilter off and back on again. It
correctly went to the blank line and stopped, leaving my totals row alone.
KC
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I use Excel 2000 to display data extracted from DB2 via SAS.
>
> Worksheets use the Autofilter feature on all 45 columns and about 20 of
> the columns are summed at the bottom. There are also 4 hidden rows
> below the 'main' data, which is used in the QA process.
>
> How the data is updated (replaced) once every three months:
> Data is extracted from DB2 and a delimited text file is generated - the
> # of rows is noted.
> The target Excel file is opened and rows are counted. If the row
> counts are the same, the rows in the target file are selected and the
> 'Del' key is pressed - this retains all the formatting of the columns.
> If there are more, rows are added in the 'middle' of the data. If
> there are fewer rows to add, we delete the rows. I failed to mention
> that I am locked into this process...
> We take up at the post 'Del' keystroke now: The text file is opened
> w/Excel . Then, the data from the open text file is pasted into the
> target Excel file. Normally, no problems are encountered with the
> autofilter feature at this point - meaning that if a column is
> filtered, considers neither the summary row nor the hidden rows - this
> is a good thing. However, I have one Excel file that is misbehaving.
> It is 'considering' the summary rows and hidden rows when a filter is
> applied. It is obvious by listing 'blank' as one of the sorting
> options.
>
> Thanks for looking.
> Bob
>



 
Reply With Quote
 
boborta@hotmail.com
Guest
Posts: n/a
 
      11th Dec 2006
After consulting with others I found another answer that will always
work. Rather than using =SUM(S14:S8696), use =SUBTOTAL(9,S14:S8696).
The sum cell will reflect the sum of the filtered rows.

Thank you for your input.

Bob

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
excel 2007 autofilter change to 2003 autofilter functionality? jonnybrovo815 Microsoft Excel Misc 1 19th Apr 2010 10:05 PM
2007 excel autofilter change back to 2003 autofilter? jonnybrovo815 Microsoft Excel Misc 1 19th Apr 2010 05:53 PM
Report Sums of Sums SNCONC Microsoft Access Reports 1 31st Mar 2009 01:22 PM
How to add previous sums in a column to current sums in a column? =?Utf-8?B?VEQ=?= Microsoft Excel Worksheet Functions 1 30th Sep 2006 02:55 PM
Formula window displays correct answer while cell displays incorre =?Utf-8?B?TU1W?= Microsoft Excel Worksheet Functions 3 10th Nov 2004 09:28 PM


Features
 

Advertising
 

Newsgroups
 


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