PivotTable Formulas

G

GarethG

I have set up a pivot table. I have been asked to add a column at the
end of the pivot table that calculated the %variance of sales from this
year versus last year.
I tried to create the formula (Calculate Field) after I had grouped my
dates for Months & Years. I had to ungroup these to be able to create
the formula.

I do not see how when I have ungrouped the date to distinguish between
2003 & 2002 in my Pivot formula. Is this possible of am I flogging a
dead horse here?
Any suggestions would be most help ful



Regards GarethG
 
D

Debra Dalgleish

You could add a column to the source table, in which you calculate the
year for each date. For example, =YEAR(B2)

Add this field to the pivot table, and create a Calculated Item for this
field, e.g.: ='2003'/'2002'-1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Dates In Excel 5
Pivot Table Comparison 0
Excel 2013 Pivot Data Range formula reference problem 0
Pivot table 0
SUM & OFFSET & PIVOT TABLE?? 0
Need some PWA help 0
Upadte PivotTable Data range 2
PivotTable ? 2

Top