Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 605
Default AutoFilter and PivotTable

I do AutoFilter to create a subset of data. Then I want to create a PivotTable on the *subset* and do a count. I then realize PivotTable doesn't work on the subset even though the rows are hidden. It works on the entire database. To circumvent this, I do copy/paste of the subset and create the PivotTable based on the pasted version. If the range for the subset is huge, it may not be efficient to do copy/paste. What is a more efficient way to achieve the same result?

Thanks.

Epinn

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1,173
Default AutoFilter and PivotTable

Epinn

I would us a helper column in the source data, so for example if you data
covers A1:D1000, to filter say when column D is 20 then in D1 enter =D120

This will return TRUE/FALSE, copy this down the data. Include this data in
your pivot and set this column as a page field. This way you will filter
you data on TRUE or FALSE ( or <20)

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England

HIS
www.nickhodge.co.uk

"Epinn" wrote in message
...
I do AutoFilter to create a subset of data. Then I want to create a
PivotTable on the *subset* and do a count. I then realize PivotTable
doesn't work on the subset even though the rows are hidden. It works on the
entire database. To circumvent this, I do copy/paste of the subset and
create the PivotTable based on the pasted version. If the range for the
subset is huge, it may not be efficient to do copy/paste. What is a more
efficient way to achieve the same result?

Thanks.

Epinn


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
autofilter - how many in a group inquirer Excel Discussion (Misc queries) 2 July 16th 06 04:23 AM


All times are GMT +1. The time now is 09:33 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"