LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
nc nc is offline
external usenet poster
 
Posts: 119
Default Pivot table query

Thanks a lot for your help.

Is there of doing it all within the pivot table without the need of creating
the extra column, maybe using calculated fields or calculated items.


"Ron Coderre" wrote:

Try this:

With
A1:B6 containing your posted list
Name Amount
David 400
Homer 100
David 300
Homer 100
Sanjiv 600

Then
C1: SHOW
C2: =SUMIF($A$2:$A$6,A2,$B$2:$B$6)500
Copy C2 down through C6

Now A1:C6 contains this list
Name Amount SHOW
David 400 TRUE
Homer 100 FALSE
David 300 TRUE
Homer 100 FALSE
Sanjiv 600 TRUE

When you create the Pivot Table, use these settings
ROW: Name, SHOW
Date: Sum of Amount

Then....On the Pivot Table
Click on the SHOW heading and leave only TRUE checked.

The final view of the Pivot Table will be

Sum of Amount
Name SHOW Total
David TRUE 700
Sanjiv TRUE 600
Grand Total 1300

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"nc" wrote:

I have the following data,

Name Amount
David 400
Homer 100
David 300
Homer 100
Sanjiv 600


How can I use a pivot table to aggregate the total the amount for each
person, but only show if the amount is greater than 500?

E.g.

Name Amount
David 700
Sanjiv 600


 
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
Microsoft Query & Pivot table? Mark J Excel Discussion (Misc queries) 1 March 9th 07 07:13 PM
Pivot Table Query Lee White Excel Discussion (Misc queries) 1 January 30th 07 01:07 PM
Pivot Table Query sgriff Excel Discussion (Misc queries) 0 July 21st 06 08:08 AM
Pivot Table Query Louise Excel Discussion (Misc queries) 1 June 1st 06 11:52 PM
Pivot Table, MS Query and Oracle Monika Excel Discussion (Misc queries) 2 March 29th 06 02:16 PM


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