PC Review


Reply
Thread Tools Rate Thread

Creating a Calculated Field in a Pivot Table for same field

 
 
dza7
Guest
Posts: n/a
 
      12th Aug 2009
Hello,

I'm having a problem creating a calculated field in an excel 2007
pivot. Here is the scenario I'm dealing with.

* The data this pivot table pulls from has daily sales for a given
month.
* I've set up formulas to recognize if this sales data is from "This
Week" or the "Previous Week".
* I have a pivot table that shows me Sales for "This Week" and
"Previous Week".

I'd like to create a calculated field that will show me the difference
in sales from "This WeeK" and "Previous Week" but the only option I
have in creating a calculated field is to select the original "Sales"
field.

Is there a way to create a calculated field that would show the
difference for Sales for one week to the next? I've run into this
often and usually throw up a formula outside of the pivot table that
can simply do the calculation but I'd rather be able to keep this
calculation within the table.

Any help would be appreciated!

Thanks,

Dza
 
Reply With Quote
 
 
 
 
Herbert Seidenberg
Guest
Posts: n/a
 
      12th Aug 2009
Excel 2007 PivotTable
Group by week.
Two ways.
http://www.mediafire.com/file/wbzxgwnzmzx/08_12_09.xlsx
 
Reply With Quote
 
Krystal Peters
Guest
Posts: n/a
 
      21st Oct 2009
How about for Excel 2003? Need to do the same thing but the Excel 2003

"Herbert Seidenberg" wrote:

> Excel 2007 PivotTable
> Group by week.
> Two ways.
> http://www.mediafire.com/file/wbzxgwnzmzx/08_12_09.xlsx
>

 
Reply With Quote
 
Roger Govier
Guest
Posts: n/a
 
      21st Oct 2009
Hi Krystal

I can't see the previous posts in this thread, so I am unclear as to how
your data is set out.
But, assuming as per Herbert's example you date a date field and a Value
field, drag date to the Row Area and Value to the Data area.
Right click on any date>Group and Outline>Group>Days>7
Now drag Value to the Data area a second time>Double click the field
name>Show data as>% Difference from>Date>Previous

If you are still having difficulty and want to send me a copy of your
workbook, I will set it up for you
To mail direct
roger at technology4u dot co dot uk
Do the obvious with at and dot
--
Regards
Roger Govier

"Krystal Peters" <(E-Mail Removed)> wrote in message
news:85F3ADAE-3F75-4F88-A61E-(E-Mail Removed)...
> How about for Excel 2003? Need to do the same thing but the Excel 2003
>
> "Herbert Seidenberg" wrote:
>
>> Excel 2007 PivotTable
>> Group by week.
>> Two ways.
>> http://www.mediafire.com/file/wbzxgwnzmzx/08_12_09.xlsx
>>

>
> __________ Information from ESET Smart Security, version of virus
> signature database 4530 (20091021) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>


__________ Information from ESET Smart Security, version of virus signature database 4530 (20091021) __________

The message was checked by ESET Smart Security.

http://www.eset.com



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I remove a Calculated Field from the Pivot Table field list TheTraveler Microsoft Excel Misc 2 9th Apr 2010 06:55 PM
Pivot Table - Add calculated field using field number (index) vs n Preston Bandy Microsoft Excel Programming 0 7th Dec 2009 07:57 AM
Creating a Calculated Field in a Pivot Table for same field dza7 Microsoft Excel Misc 3 21st Oct 2009 11:22 PM
Creating a calculated field in a Pivot Table Philip J Smith Microsoft Excel Misc 1 5th Feb 2008 04:04 AM
Pivot table calculated field using MAX of another field Tim Zych Microsoft Excel Misc 4 6th Jun 2004 12:58 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:55 AM.