Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 12
Default Pivot Tables AND not OR

I have a pivot table, each company may be selected for up to 5 categories,
lets say apples, oranges, bananas, kiwi and grape. I have selected all
companeis who have ticked apples and grape, but the pivot table show all
which have apples or grape or both. I only want to see those which have
both. Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,344
Default Pivot Tables AND not OR

Hi,

Let's assume the Companies are in column C2:C100 (the data source, not the
pivot table) and the productes in D2:D100 You can create a new column in the
source which might look like this in cell E2. Then copy it down. Add this
field to the pivot table and then filter on it.

=SUMPRODUCT((C2=$C$2:C2)*(($D$2:D2="Grapes")+($D$2 :D2="Apples")))=2


--
Thanks,
Shane Devenshire


"carole" wrote:

I have a pivot table, each company may be selected for up to 5 categories,
lets say apples, oranges, bananas, kiwi and grape. I have selected all
companeis who have ticked apples and grape, but the pivot table show all
which have apples or grape or both. I only want to see those which have
both. Any ideas?

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
Distributing Pivot Tables where pivot table data can't be accessed Bendinblues Excel Discussion (Misc queries) 1 January 2nd 08 01:06 PM
Building pivot tables in Excel 2007 based on existing pivot tables? [email protected] Excel Discussion (Misc queries) 4 December 26th 07 08:05 PM
Pivot Table Data Adding contents of two pivot tables and param que Roundy Excel Discussion (Misc queries) 0 July 2nd 07 10:20 PM
Average Calculations from Pivot Tables - Get Pivot Data? Calc Fiel westy Excel Worksheet Functions 5 March 10th 07 01:31 AM
How does the term 'pivot' apply to Excel's Pivot tables and Pivot. stvermont Excel Discussion (Misc queries) 1 February 17th 05 01:34 AM


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