+ Reply to Thread
Results 1 to 2 of 2

top 5 customers using formula

  1. #1
    Registered User
    Join Date
    12-19-2010
    Location
    mumbai, India
    MS-Off Ver
    Excel 2003
    Posts
    71

    top 5 customers using formula

    Hello,

    i have huge data of income of employees.
    In column "A" i have names of employees,
    in column "B" i have income of last month and
    in column "c" i have income of current month.
    In column "D" i have calculated difference between two month's income(C1-B1).
    Now based on values in column D i want to find names of top 5 gainers and top decliners (i.e. i want names of top 5 people who are having highest value in column "D")
    I don't want to use pivot and sort, I want these names by using any formula.

    Thanks in advance



    thanks its working perfectly.

    But now i have added one more column in the beginning as country names. Now i want to make a dashboard so tht i will create a drop down with country names and country i will select top gainers should come with ur given formula.

    Please assist
    Last edited by saurabhlotankar; 04-02-2014 at 04:41 AM.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,937

    Re: top 5 customers using formula

    Top 5:
    =INDEX(A:A,MATCH(LARGE(D:D,ROW(A1)),D:D,FALSE))
    Bottom 5:
    =INDEX(A:A,MATCH(SMALL(D:D,ROW(A1)),D:D,FALSE))

    Each dragged down for five rows.

    If you can have exact ties in column D, then you need to use array formulas (entered using Ctrl-Shift-Enter) like this to break the ties:

    =INDEX(A:A,MATCH(SMALL($D$1:$D$2000+ROW($D$1:$D$2000)/1000000,ROW(A1)),$D$1:$D$2000+ROW($D$1:$D$2000)/1000000,FALSE))
    Bernie Deitrick
    Excel MVP 2000-2010

+ 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. 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
  2. Formula to find top customers based on sales value.
    By Harlort in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2013, 08:39 AM
  3. Replies: 2
    Last Post: 06-04-2012, 01:02 AM
  4. Replies: 4
    Last Post: 05-19-2011, 01:16 PM
  5. [SOLVED] Formula for counting customers waiting to be served
    By jimtmcdaniels in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-03-2005, 08:45 PM

Tags for this Thread

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