+ Reply to Thread
Results 1 to 4 of 4

Sum quantity and show the total for each site in a table

  1. #1
    Registered User
    Join Date
    04-12-2013
    Location
    US
    MS-Off Ver
    Excel 2013
    Posts
    20

    Sum quantity and show the total for each site in a table

    Not sure how exactly to explain this so I've attached a sample workbook. Data Table 2 on the Data Tables sheet is what I'm after. Basically I have a formula that sums up quantity 1 (Q1) and quantity 2 (Q2) for all widgets at a site name and month. So for example, go down through column site name and column month and add up all of Q1 for site1 in the month of Jun 2014 (all widgets). This works but it shows duplicate totals which makes sense as there are mutliple widget types at each site. I think the example workbook explains it better. Note the Pivot Table sheet is an example of what I'm showing currently and what I'd like to show. While I understand that depending on how I set up the Pivot Table I can get similar results using either Table 1 or Table 2 but the other thing is that my users like to do some filtering of the data sheet itself without regard to the Pivot Tables.


    sum quantity and show total for each site.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    01-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    651

    Re: Sum quantity and show the total for each site in a table

    how about adding an if statement to the formula to make it blank if the site name has already been listed in the table??

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    01-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    651

    Re: Sum quantity and show the total for each site in a table

    realized you want the totals to display when you change months too:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-12-2013
    Location
    US
    MS-Off Ver
    Excel 2013
    Posts
    20

    Re: Sum quantity and show the total for each site in a table

    Perfect. Works great.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 07-30-2014, 07:09 PM
  2. Can a Pivot table show % to total by multi row labels?
    By juniperjacobs in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-30-2011, 03:37 PM
  3. Excel 2007 : Count total quantity in a table
    By SEHRA in forum Excel General
    Replies: 2
    Last Post: 05-30-2011, 04:55 AM
  4. Is there way to make a pivot table not show lines where a total is zero?
    By DanMinalt in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-19-2009, 10:38 PM
  5. Pivot Table: Show total % when one column is hidden.
    By G0liath02 in forum Excel General
    Replies: 1
    Last Post: 06-03-2009, 07:50 PM

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