+ Reply to Thread
Results 1 to 5 of 5

Top N Customers and Others

Hybrid View

  1. #1
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,740

    Re: Top N Customers and Others

    The only way I could do this in Pivot Table required some manual work.

    1.) Add another item in the source table "All others" with this formula array entered.

    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    =SUM(B3:B370)-SUM(LARGE(IF(FREQUENCY(SUMIF(A3:A370,IF(MATCH(A3:A370,A3:A370,0)=
    ROW(A2:A370)-MIN(ROW(A2:A370))+1,A3:A370),B3:B370),SUMIF(A3:A370,A3:A370,B3:B370)),
    SUMIF(A3:A370,A3:A370,B3:B370)),{1,2,3,4,5}))


    2.) Change the Data Source to include the additional item.

    3.) Clear the existing filter (Top 5) from "Before" PT.

    4.) Sort 'Sum of Amount' descending.

    5.) Manually filter the first 5 (or N) items in 'Row Labels' and include "All others".

    See the attached.
    Attached Files Attached Files
    Dave

+ 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. how can I calculate the best 50% of my customers
    By frankfranssen in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-22-2014, 08:30 AM
  2. Determine repeat customers vs. new customers based on purchase date
    By mktgdude in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-02-2013, 04:10 AM
  3. [SOLVED] Top 50 Customers
    By Nigel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-07-2005, 01:10 PM
  4. [SOLVED] summary of customers?
    By Peo Sjoblom in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 03:05 PM
  5. summary of customers?
    By Wally in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  6. summary of customers?
    By Wally in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  7. summary of customers?
    By Peo Sjoblom in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 07:05 AM
  8. summary of customers?
    By Wally in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 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