Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Sub total vs Pivot Table

If the following is my data, Can I use a Pivot table to get a subtotal for
units and a single cost? If I use Sub total, costs also get subtotal which is
incorrect?

Thanks

Style Total Units Cost per unit
220995 -3 13.1
220995 -1 13.1
220995 -1 13.1
220995 -1 13.1
220995 3 13.1
220995 -1 13.1
240995 -7 13.1
240995 -1 13.1
240995 -1 13.1
240995 -1 13.1
240995 4 13.1
250995 -168 7.05
290995 -1 25.2
290995 -1 25.2

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 915
Default Sub total vs Pivot Table

Jeevan wrote:
If the following is my data, Can I use a Pivot table to get a subtotal for
units and a single cost? If I use Sub total, costs also get subtotal which is
incorrect?

Thanks

Style Total Units Cost per unit
220995 -3 13.1
220995 -1 13.1
220995 -1 13.1
220995 -1 13.1
220995 3 13.1
220995 -1 13.1
240995 -7 13.1
240995 -1 13.1
240995 -1 13.1
240995 -1 13.1
240995 4 13.1
250995 -168 7.05
290995 -1 25.2
290995 -1 25.2


A problem is you are mixing unit data (total units) with aggregate data
(cost per unit). Either Subtotal or PT will aggregate both, which is
incorrect for the "cost per" data.

I suggest you either import the actual cost, or manufacture it to the
side. The latter formula might look like this:

Cost = Total Units * Cost per unit

Then you can sum/subtotal Total Units and Cost (not cost per unit!), and
get a correct (average) cost per unit by dividing the subtotals.
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
Duplicate Running Total Grand Total In Pivot Table Mathew P Bennett[_2_] Excel Discussion (Misc queries) 1 August 17th 08 03:13 AM
Pivot Table Grand Total Tufail Excel Discussion (Misc queries) 2 January 9th 08 12:23 PM
Pivot Table Row Total Robo[_2_] Excel Discussion (Misc queries) 2 July 31st 07 12:36 PM
Showing Pivot Table total on Associated Pivot Chart KenY Excel Discussion (Misc queries) 2 May 18th 07 02:41 PM
Sub Total In Pivot Table Adam Excel Discussion (Misc queries) 1 November 22nd 05 05:36 PM


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