PC Review


Reply
Thread Tools Rate Thread

Calc order in pivot table with COUNT

 
 
=?Utf-8?B?cGV0ZXI=?=
Guest
Posts: n/a
 
      22nd Jun 2007
I have a simple pivottable in which I have used COUNT to figure out number of
stores per the data I have. I also have a total unit sales. I now want to
take the total units and divide by total stores to get units per store. What
it looks like it is doing is performing the division before it is summed, so
the units per store is the same as total units. I want it to calc after the
sum is done.

I have created two formulas and not seeing anything in Solve Order when I go
to this. What I have done to date is just set up a formula outside of the
pivot table and just do the division that way. The problem is is the table
changes, the formula may not be referring off to the correct cells (numbers)
anymore.

Any suggestions/directions would be greatly appreciated.

I am in Excel 2007.
--
Peter
 
Reply With Quote
 
 
 
 
Debra Dalgleish
Guest
Posts: n/a
 
      22nd Jun 2007
You'll only see Calculated Items in the Solve Order list, so your
formulas won't be there if they're Calculated Fields.

I'm not sure how you're getting the store count, but perhaps you could
add a column in your source data, with the heading Stores. In that
column, enter a 1 for each row of data.
In the pivot table, calculate the units per store by dividing the units
by the Store field.

peter wrote:
> I have a simple pivottable in which I have used COUNT to figure out number of
> stores per the data I have. I also have a total unit sales. I now want to
> take the total units and divide by total stores to get units per store. What
> it looks like it is doing is performing the division before it is summed, so
> the units per store is the same as total units. I want it to calc after the
> sum is done.
>
> I have created two formulas and not seeing anything in Solve Order when I go
> to this. What I have done to date is just set up a formula outside of the
> pivot table and just do the division that way. The problem is is the table
> changes, the formula may not be referring off to the correct cells (numbers)
> anymore.
>
> Any suggestions/directions would be greatly appreciated.
>
> I am in Excel 2007.



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

 
Reply With Quote
 
=?Utf-8?B?cGV0ZXI=?=
Guest
Posts: n/a
 
      22nd Jun 2007
Debra - thanks for the response and good idea. I was just not thinking and
that will provide what I need.

The problem I was haveing was I was using COUNT instead of SUM, MAX, MIN,
etc. because the field I was initally using was not a numerical field. So, I
did just add a column and typed in a 1 and then filled it down.

thanks again!
--
Peter


"Debra Dalgleish" wrote:

> You'll only see Calculated Items in the Solve Order list, so your
> formulas won't be there if they're Calculated Fields.
>
> I'm not sure how you're getting the store count, but perhaps you could
> add a column in your source data, with the heading Stores. In that
> column, enter a 1 for each row of data.
> In the pivot table, calculate the units per store by dividing the units
> by the Store field.
>
> peter wrote:
> > I have a simple pivottable in which I have used COUNT to figure out number of
> > stores per the data I have. I also have a total unit sales. I now want to
> > take the total units and divide by total stores to get units per store. What
> > it looks like it is doing is performing the division before it is summed, so
> > the units per store is the same as total units. I want it to calc after the
> > sum is done.
> >
> > I have created two formulas and not seeing anything in Solve Order when I go
> > to this. What I have done to date is just set up a formula outside of the
> > pivot table and just do the division that way. The problem is is the table
> > changes, the formula may not be referring off to the correct cells (numbers)
> > anymore.
> >
> > Any suggestions/directions would be greatly appreciated.
> >
> > I am in Excel 2007.

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

 
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
Pivot Table - Compare Dates & calc. % Kathy - Lovullo Microsoft Excel Misc 1 21st Jan 2010 08:03 PM
pivot table calc item Liny Microsoft Excel Misc 8 3rd May 2008 02:50 AM
Calc on Pivot Table Frick Microsoft Excel Worksheet Functions 1 10th Mar 2006 10:11 AM
Pivot table to calc by group =?Utf-8?B?eGxjaGFybGll?= Microsoft Excel Misc 0 24th Jan 2006 10:40 PM
Stopping calc of a pivot table during build =?Utf-8?B?U2ltb24yMw==?= Microsoft Excel Programming 0 10th Mar 2004 10:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:04 PM.