+ Reply to Thread
Results 1 to 4 of 4

Excel: Pivot Table with Unique values only

  1. #1
    Registered User
    Join Date
    01-24-2017
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    1

    Excel: Pivot Table with Unique values only

    Hello Team,

    As per the attachment, I am trying to use Pivot tables/charts to arrive at the following:

    Show the total sales "Amount" for each client "Name" where the "Num" is unique. i.e. Each "Num" or invoice contains a number of line items and I only want the total of each, and lastly the count of unique invoices "Num" elements.

    Can you assist ?
    Peter.
    Attached Files Attached Files

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Excel: Pivot Table with Unique values only

    use pivot table. See attachment.
    Attached Files Attached Files


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Registered User
    Join Date
    06-12-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    86

    Re: Excel: Pivot Table with Unique values only

    Dear Frnd,

    There are certain rules to insert a pivot table

    Most imp is - on top row there should not be any black heading. I found it on your data and deleted the. Hope it has not changed your data.
    I hope u must be getting error due to it.

    Rest is selection of data in row and value of pivot table field.

    attached is the updated sheet, hope you will find the required data.

    Regards,

    Kamal Asharaf.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Excel: Pivot Table with Unique values only

    Hi Peter,

    As you may have seen from the alert when trying to put your data into a Pivot Table that "you must use data that is organized as a list with labeled columns".
    Your data has a lot of blank columns. I see this a lot when data is exported from some other database system.

    Sometimes the process of correcting such bad formatting can be very cumbersome.

    You can use a macro such as the one on this site to remove the blank columns.

    http://www.excelhowto.com/macros/del...use-excel-vba/

    Once the blanks are removed you can select the area you want and then insert a PivotTable.

    As for getting the results you want in a Pivot Table, I recommend you experiment with it to find the results you want.

    Hope this is helpful.

    Cheers

+ 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. Pivot table of unique values
    By johnelder in forum Excel General
    Replies: 0
    Last Post: 11-09-2015, 04:30 PM
  2. [SOLVED] Count unique values in pivot table - excel 2010
    By Tino XXL in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-20-2014, 04:45 AM
  3. [SOLVED] Count only unique values in pivot table
    By Leahmaria26 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-25-2013, 08:56 PM
  4. Excel 2007 : Pivot Table unique values
    By penny.rhine in forum Excel General
    Replies: 12
    Last Post: 01-17-2011, 05:12 PM
  5. Count unique values in pivot table
    By karinos57 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-10-2009, 12:03 PM
  6. [SOLVED] Count unique values - Pivot Table
    By Thomas Mueller in forum Excel General
    Replies: 3
    Last Post: 11-03-2005, 08:10 PM
  7. Unique values in pivot table
    By AmyTaylor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-18-2005, 03:21 AM

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