+ Reply to Thread
Results 1 to 4 of 4

PivotTable: filter to only include top five of values in a values column

  1. #1
    Registered User
    Join Date
    07-12-2015
    Location
    Uppsala, Sweden
    MS-Off Ver
    2013
    Posts
    28

    PivotTable: filter to only include top five of values in a values column

    Hi,


    I know that I can filter a PivotTable to include only the top N records, but this is different. See the attached picture:
    PivotTable.PNG
    Imagine that this is a table showing fruit sales in different cities. For each fruit, I want to only include the top 5 cities, based on their value in sales.

    So the distinct count-column will only show values up to 5, but not more. And the sum of sales-column will update accordingly.

    Please let me know if there are any difficulties in understanding what I'm trying to say.

    Thanks in advance.

    Best,
    Alfred
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: PivotTable: filter to only include top five of values in a values column

    Maybe like this?

    an value (rightclick => filter => top 10) then select for 5 items.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    07-12-2015
    Location
    Uppsala, Sweden
    MS-Off Ver
    2013
    Posts
    28

    Re: PivotTable: filter to only include top five of values in a values column

    Thank you Oeldere,

    Exactly like that! I've clearly underestimated PivotTables, they are so much more useful than I've thought.

    Thank you!

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: PivotTable: filter to only include top five of values in a values column

    You're welcome. We appreciate the feedback!

    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

    It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

+ 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. [SOLVED] Pivot Table: How to include dates in values column?
    By MontrealMTL in forum Excel General
    Replies: 2
    Last Post: 08-09-2015, 07:56 PM
  2. SUMPRODUCT Criteria to Not Include Values within Column
    By freybe06 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-11-2014, 10:24 AM
  3. Replies: 2
    Last Post: 03-10-2014, 09:57 PM
  4. Set filter to EXCLUDE values rather than include them
    By Uther_d_dragon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-21-2013, 10:54 AM
  5. 2007 PivotTable and filter on multiple values
    By xxxyyyy in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-22-2011, 11:38 PM
  6. How to make chart include only values from every 5th column?
    By salutaurs in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-30-2008, 05:41 AM
  7. [SOLVED] Advanced Filter for Values in Column M greater than Values in Colu
    By SteveC in forum Excel General
    Replies: 3
    Last Post: 05-02-2006, 03:00 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