#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default Pivot Table criteria

I'm runnung Excel 2003
I create a Pivot table to see sales, refused and Pending if days is < than 45
In my data table I have a column showing 2,3,4, 40, 45, 48, etc. called "Days"

In the Pivot Table I add this field "Days" in the section: PAGE of the
Pivot table
This is my first criteria. Nobody should change this.

how can I add a formulas in this pivot table saying =Days<45
I tried with the ( formulas, Calculated Field), however I can not add this
in the Page section. I received a message saying I can not add in this
section the formulas. I can add it only in the Data field.

Does someone know how I can select the Data in this area?
Thanks






  #2   Report Post  
Junior Member
 
Posts: 9
Default

Quote:
Originally Posted by Mouimet View Post
I'm runnung Excel 2003
I create a Pivot table to see sales, refused and Pending if days is < than 45
In my data table I have a column showing 2,3,4, 40, 45, 48, etc. called "Days"

In the Pivot Table I add this field "Days" in the section: PAGE of the
Pivot table
This is my first criteria. Nobody should change this.

how can I add a formulas in this pivot table saying =Days<45
I tried with the ( formulas, Calculated Field), however I can not add this
in the Page section. I received a message saying I can not add in this
section the formulas. I can add it only in the Data field.

Does someone know how I can select the Data in this area?
Thanks

Mouimet
You can't query data within a pivot table in this way unfortunately. You can do one of 2 things
If your data is from an external source ie another spreadsheet or Access database then you can use "MS query" to filter your data which is great.
If your data source is in the same spreadsheet then try adding another column that compares your 'days' to a "query cell".
Lets say this cell is "A1"
Your new column would contain a formula if("days"<"A1","Y",N")
So if you decide your parameter is 45 days then enter it in cell A1 your new column will display "Y" if OK or "N" if not.
This new column will now be your page header in your pivot and you select "Y"
You can change the criteria in cell "A1" from 45 days if required then refresh the pivot
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
Pivot Table - Format Columns based on Criteria Max2073 Excel Worksheet Functions 0 October 3rd 09 03:55 PM
change/set pivot table autofilter criteria with macro button jackie Excel Discussion (Misc queries) 3 March 16th 09 02:03 AM
setting range criteria in pivot table ela Excel Discussion (Misc queries) 2 November 27th 08 08:28 AM
how to i pivot a table using various criteria Emmal Excel Worksheet Functions 0 May 4th 06 12:01 AM
criteria for Pivot Table xenophon Excel Discussion (Misc queries) 5 November 15th 05 10:17 AM


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