Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
MiaYang
 
Posts: n/a
Default how to add a special subtotal in the pivot table?


my excel look like this:

partnumber instock_qty usedpartnumber
-----------------------------------------
p1 10 fg1
p1 10 fg2
p2 5 fg3
p2 5 fg4
p2 5 fg5
-----------------------------------------

the pivot table looks like this:

partnumber instock_qty usedpartnumber
---------------------------------------------
p1 10 f1
f2
p2 5 f3
f4
f5
---------------------------------------------

if i sum the instock_qty, it will look like this:

partnumber instock_qty usedpartnumber total
--------------------------------------------------
p1 10 f1
10
f2
10
-------------------------------------------------
p1 total
20
-------------------------------------------------
p2 5 f3
5
f4
5
f5
5
------------------------------------------------
p2 total
15
------------------------------------------------

But what i want is:

partnumber instock_qty usedpartnumber
---------------------------------------------
p1 10 f1
f2
---------------------------------------------
p1 total 10
---------------------------------------------
p2 5 f3
f4
f5
---------------------------------------------
p2 total 5
---------------------------------------------

how can i do that? really appreciate your help!


--
MiaYang
------------------------------------------------------------------------
MiaYang's Profile: http://www.excelforum.com/member.php...o&userid=34046
View this thread: http://www.excelforum.com/showthread...hreadid=538091

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
OLAP Pivot table - How to show items with no data ? Timmo Excel Worksheet Functions 1 March 30th 06 06:03 PM
Select all subtotal rows on Pivot Table Marcotte A Excel Worksheet Functions 2 February 23rd 06 06:10 PM
Subtotal in a pivot table MarkM Excel Discussion (Misc queries) 2 December 29th 05 02:56 PM
pivot table created from another pivot table Kreed Excel Worksheet Functions 6 October 26th 05 04:16 PM
Subtotal vs Pivot table - or best way klafert Excel Discussion (Misc queries) 2 June 16th 05 06:29 PM


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