Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Averages With Zero In Pivot Tables

I've green on pivot tables and have a question.

Here is my data

Current Age Amount Offered Amount Bought
31 $500 $ 0
25 $600 $300
25 $900 $900
33 $200 $ 0
33 $900 $500
33 $200 $100

I would like to create a pivot based on the above data.

I'd like to show by age the average amount bought for those who did
buy.

So data should look like :

25 $600
33 $300 (not $200)
31 (shouldnt show up at all)

Thanks in advance.

-Brian

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Averages With Zero In Pivot Tables

If you cleared that 0 (left the cell empty) or even put None or N/A in that
cell, you'd get the value you want.

An alternative...

Add another column that shows Y/N if they bought or not.

=if(c20,"Yes","No")

Then drag down the column.

And use that field as a page field and only show the Yes's.



wrote:

I've green on pivot tables and have a question.

Here is my data

Current Age Amount Offered Amount Bought
31 $500 $ 0
25 $600 $300
25 $900 $900
33 $200 $ 0
33 $900 $500
33 $200 $100

I would like to create a pivot based on the above data.

I'd like to show by age the average amount bought for those who did
buy.

So data should look like :

25 $600
33 $300 (not $200)
31 (shouldnt show up at all)

Thanks in advance.

-Brian


--

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
#REF in Sheets that refer to Pivot Tables Will C. Excel Discussion (Misc queries) 1 June 2nd 06 08:54 PM
Refreshing Pivot Tables linked to Oracle Datasource [email protected] Excel Discussion (Misc queries) 0 April 25th 06 12:15 AM
averages in pivot tables emcnaughton Excel Discussion (Misc queries) 1 January 6th 06 07:14 PM
Dynamically changing several pivot tables at once Jason Excel Discussion (Misc queries) 3 December 16th 05 03:50 PM
Macro for Pivot Tables Thomas Excel Discussion (Misc queries) 1 March 15th 05 01:03 AM


All times are GMT +1. The time now is 07:55 PM.

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"