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

I have a Pivot table summurizing data where years and quarter are in the row
label and average af amount in Values:
Values
Years Date Average of Amount $2 % diff previous Q
2005 Qtr3 $283.96
Qtr4 $344.83 21.43%

2006 Qtr1 $462.70
Qtr2 $603.55 30.44%
Qtr3 $665.53 10.27%
Qtr4 $674.41 1.33%

2007 Qtr1 $665.95

I run % difference from (previous), but i can't get say Q1 2006 % Difference
from the previus Q (Q4 2005) and the same for every Q1 with respect of the Q4
of previous year, all the rest of course works fine. Any hints?
thanks
Andrea

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default Pivot Table

Look at your equation for Q1 for each year. I'm betting it's assuming the
"previous quarter" is in the blank row above it.

"Andrea" wrote:

I have a Pivot table summurizing data where years and quarter are in the row
label and average af amount in Values:
Values
Years Date Average of Amount $2 % diff previous Q
2005 Qtr3 $283.96
Qtr4 $344.83 21.43%

2006 Qtr1 $462.70
Qtr2 $603.55 30.44%
Qtr3 $665.53 10.27%
Qtr4 $674.41 1.33%

2007 Qtr1 $665.95

I run % difference from (previous), but i can't get say Q1 2006 % Difference
from the previus Q (Q4 2005) and the same for every Q1 with respect of the Q4
of previous year, all the rest of course works fine. Any hints?
thanks
Andrea

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 112
Default Pivot Table

yep! but even if i remove the blank row no way!
Consider quarter and years are created automatically grouping a date field
like 01/01/2006 (if it can help). i have been around this "bug" for two years
and i thought eventualy excel 2007..... but nothing. it seems pivot table
consider every years as a block so before Q1 there is nothing....

"Barb Reinhardt" wrote:

Look at your equation for Q1 for each year. I'm betting it's assuming the
"previous quarter" is in the blank row above it.

"Andrea" wrote:

I have a Pivot table summurizing data where years and quarter are in the row
label and average af amount in Values:
Values
Years Date Average of Amount $2 % diff previous Q
2005 Qtr3 $283.96
Qtr4 $344.83 21.43%

2006 Qtr1 $462.70
Qtr2 $603.55 30.44%
Qtr3 $665.53 10.27%
Qtr4 $674.41 1.33%

2007 Qtr1 $665.95

I run % difference from (previous), but i can't get say Q1 2006 % Difference
from the previus Q (Q4 2005) and the same for every Q1 with respect of the Q4
of previous year, all the rest of course works fine. Any hints?
thanks
Andrea

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Pivot Table

You could add a column to the source data, and calculate the year and
quarter, e.g.:

=YEAR(A2) &"-"& VLOOKUP(MONTH(A2),$Q$2:$R$13,2)

Add that field to the pivot table, and use it as the base field for the
custom calculation.

Andrea wrote:
yep! but even if i remove the blank row no way!
Consider quarter and years are created automatically grouping a date field
like 01/01/2006 (if it can help). i have been around this "bug" for two years
and i thought eventualy excel 2007..... but nothing. it seems pivot table
consider every years as a block so before Q1 there is nothing....

"Barb Reinhardt" wrote:


Look at your equation for Q1 for each year. I'm betting it's assuming the
"previous quarter" is in the blank row above it.

"Andrea" wrote:


I have a Pivot table summurizing data where years and quarter are in the row
label and average af amount in Values:
Values
Years Date Average of Amount $2 % diff previous Q
2005 Qtr3 $283.96
Qtr4 $344.83 21.43%

2006 Qtr1 $462.70
Qtr2 $603.55 30.44%
Qtr3 $665.53 10.27%
Qtr4 $674.41 1.33%

2007 Qtr1 $665.95

I run % difference from (previous), but i can't get say Q1 2006 % Difference
from the previus Q (Q4 2005) and the same for every Q1 with respect of the Q4
of previous year, all the rest of course works fine. Any hints?
thanks
Andrea




--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 112
Default Pivot Table

yes! this is my work around. But i wonder if there is any way to do it in the
Pivot Table "environment" maybe using VBA.
thanks a lot anyway

"Debra Dalgleish" wrote:

You could add a column to the source data, and calculate the year and
quarter, e.g.:

=YEAR(A2) &"-"& VLOOKUP(MONTH(A2),$Q$2:$R$13,2)

Add that field to the pivot table, and use it as the base field for the
custom calculation.

Andrea wrote:
yep! but even if i remove the blank row no way!
Consider quarter and years are created automatically grouping a date field
like 01/01/2006 (if it can help). i have been around this "bug" for two years
and i thought eventualy excel 2007..... but nothing. it seems pivot table
consider every years as a block so before Q1 there is nothing....

"Barb Reinhardt" wrote:


Look at your equation for Q1 for each year. I'm betting it's assuming the
"previous quarter" is in the blank row above it.

"Andrea" wrote:


I have a Pivot table summurizing data where years and quarter are in the row
label and average af amount in Values:
Values
Years Date Average of Amount $2 % diff previous Q
2005 Qtr3 $283.96
Qtr4 $344.83 21.43%

2006 Qtr1 $462.70
Qtr2 $603.55 30.44%
Qtr3 $665.53 10.27%
Qtr4 $674.41 1.33%

2007 Qtr1 $665.95

I run % difference from (previous), but i can't get say Q1 2006 % Difference
from the previus Q (Q4 2005) and the same for every Q1 with respect of the Q4
of previous year, all the rest of course works fine. Any hints?
thanks
Andrea




--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html


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
how to create pivot table from existing pivot table in excel 2007 Udayraj Dhulekar Excel Discussion (Misc queries) 2 July 8th 13 08:22 PM
Pivot Table Question : If statment in Pivot Table?? seve Excel Discussion (Misc queries) 2 November 22nd 05 01:00 AM
Pivot table keeps dupping to another linked pivot table Angus Excel Discussion (Misc queries) 0 August 8th 05 07:48 AM
pivot table: create worksheetsheet using pivot table Pivot Tables and New Worksheets Excel Discussion (Misc queries) 1 June 1st 05 10:01 PM
How do I create a pivot table if the pivot table icon or menu ite. Lynn@WS Charts and Charting in Excel 1 December 16th 04 02:36 AM


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