+ Reply to Thread
Results 1 to 5 of 5

Sum total costs for multiple entries

Hybrid View

  1. #1
    Registered User
    Join Date
    04-07-2006
    Posts
    24

    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?

  2. #2
    Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    852
    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 "Data" 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.
    Last edited by Portuga; 05-10-2006 at 10:03 AM.

  3. #3
    Registered User
    Join Date
    04-07-2006
    Posts
    24
    Thx for the reply.
    However I don't understand how to add that lookup Total

  4. #4
    Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    852
    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"

  5. #5
    Registered User
    Join Date
    04-07-2006
    Posts
    24
    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1