Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Dark_Templar
 
Posts: n/a
Default Sum total costs for multiple entries


Hello,

I added a example.xls :
http://www.geocities.com/dt1337/example.zip

Col A hast a list of (PN)Partnumbers, they are not unique. So some are
listed several times.
Each PN has a different price assigned, in Col B.
In Col C I remove any double entries,the PNs are unique.
In D I remove the blanks of Col C.
In Col E, I how often a unique PN of Col D is to be found in the
non-unique list in Col A.

(Note: No formulars are in the sheet,i just copied some of the values)

My Problem is, I want to sum the total costs of a unique PN.
Ie. PN 81-1323 is multiple times in Col A and every time has a
different cost.
How do I sum up the overall costs per PN?


--
Dark_Templar
------------------------------------------------------------------------
Dark_Templar's Profile: http://www.excelforum.com/member.php...o&userid=33279
View this thread: http://www.excelforum.com/showthread...hreadid=540462

  #2   Report Post  
Posted to microsoft.public.excel.misc
Portuga
 
Posts: n/a
Default Sum total costs for multiple entries


You just need the first 2 columns.
Select them and create a pivot table using that data.

1 - Insert "PN" in the "Row" section of the pivot.
2- Insert "Lookup Total" (in a sum format) in the "Row" section of the
pivot.
3 -Done.You will have the total by PN.
4- Whenever you add more values to column "A" and "B", you just need to
update the pivot Table and the totals will change automatically.


--
Portuga
------------------------------------------------------------------------
Portuga's Profile: http://www.excelforum.com/member.php...fo&userid=6385
View this thread: http://www.excelforum.com/showthread...hreadid=540462

  #3   Report Post  
Posted to microsoft.public.excel.misc
Dark_Templar
 
Posts: n/a
Default Sum total costs for multiple entries


Thx for the reply.
However I don't understand how to add that lookup Total :(


--
Dark_Templar
------------------------------------------------------------------------
Dark_Templar's Profile: http://www.excelforum.com/member.php...o&userid=33279
View this thread: http://www.excelforum.com/showthread...hreadid=540462

  #4   Report Post  
Posted to microsoft.public.excel.misc
Portuga
 
Posts: n/a
Default Sum total costs for multiple entries


I dont know if you ever created a pivot tble or not so:

1 - Select Rows "A" and "B"
2- go to "Data" and select "Pivot Table and..." and click "Finish"
3 - You should have a pivot in a new worksheet. "Right click" on it
select "Wizard..." and "Layout"
4- Drag PN to the "Row" section an drag "Lookup Total" to the data
section.
5- You should have the pivot.
"Right click" on the "Count of Lookup Total Costs" tab in the pivot,
select "Field Settings" and instead of "count" you should choose "Sum"


--
Portuga
------------------------------------------------------------------------
Portuga's Profile: http://www.excelforum.com/member.php...fo&userid=6385
View this thread: http://www.excelforum.com/showthread...hreadid=540462

  #5   Report Post  
Posted to microsoft.public.excel.misc
Dark_Templar
 
Posts: n/a
Default Sum total costs for multiple entries


Ok - Thanks a lot again.
I got it now.. never used a pivot before,always did stuff manually.

But I'm beginning to like pivots :)


--
Dark_Templar
------------------------------------------------------------------------
Dark_Templar's Profile: http://www.excelforum.com/member.php...o&userid=33279
View this thread: http://www.excelforum.com/showthread...hreadid=540462

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
Problem calculating weekly costs Handyy Excel Worksheet Functions 4 January 30th 06 08:19 PM
Subtotals in a Pivot Table MarkM Excel Discussion (Misc queries) 0 December 20th 05 04:01 PM
Copying a total from another Sheet bcemail Excel Worksheet Functions 4 November 22nd 05 07:00 PM
Total remaining formula jbsand1001 Excel Worksheet Functions 2 January 6th 05 04:17 PM
Subtotal of Subtotal displays Grand Total in wrong row Thomas Born Excel Worksheet Functions 5 January 6th 05 01:46 PM


All times are GMT +1. The time now is 09:48 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"