+ Reply to Thread
Results 1 to 4 of 4

how to find the top 3 amount per customer?

  1. #1
    Registered User
    Join Date
    03-18-2011
    Location
    sg
    MS-Off Ver
    Excel 2003
    Posts
    1

    Exclamation how to find the top 3 amount per customer?

    pls help me ...
    my data is like this...

    customer# mobile# usage amount
    abc123 12345 $65.89
    abc123 12346 $89.78
    abc123 12458 $12.80
    abc123 18903 $33.67
    cba111 18907 $90.21
    cba111 09876 $56.20
    cba111 67854 $10.45
    cba111 78912 $44.23


    how can i find the top 3 mobile numbers with the highest usage per customer number...
    btw im having more than 1000 rows of customers...

    thanks....

  2. #2
    Forum Contributor
    Join Date
    09-23-2008
    Location
    Mexico
    Posts
    200

    Re: how to find the top 3 amount per customer?

    Try the rank function:
    http://www.contextures.com/excel-functions-rank.html

  3. #3
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010, XL2013, XL2016
    Posts
    608

    Re: how to find the top 3 amount per customer?

    Hi

    The easiest way is to create a Pivot Table
    Instructions for XL2003

    Mark your data range>Data>List>Create List> Click my List has Headers
    Place cursor in List>Data>Pivot Table>Finish
    Drag Customer# to the Row area
    Drag Mobile# to the Row Area
    Drag Usage to the Data area and ensure that it is set to Sum

    Right click on Mobile#>Field Setting>Advanced>Autosort Options>Descending>using Field>Sum of Usage
    Top10 Autoshow>on>show Top 3

    for XL2007 and later
    Place cursor within your data>Insert tab>Table>click my data has headers
    Place cursor in Table>Design tab>Summarise with Pivot Table>OK
    Drag Customer# to Row Label
    Drag Mobile# to Row label (beneath Customer#)
    Drag usage to Values area
    Place cursor in Pivot Table>Design tab>Report Layout>Show in Outline form
    Right click Mobile#>Sort>Descending by>Sum of Usage
    Right click mobile#>Filter>Show>Top>3
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

  4. #4
    Valued Forum Contributor
    Join Date
    05-19-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: how to find the top 3 amount per customer?

    you could sort ascending then auto filter to display customer #

    see sample
    Attached Files Attached Files
    Last edited by grizzly6969; 03-21-2011 at 01:56 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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