+ Reply to Thread
Results 1 to 2 of 2

rank subsets of data

  1. #1
    Registered User
    Join Date
    01-01-2013
    Location
    melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    55

    rank subsets of data

    hi i would like a formula which ranks all item 1 against its self, would anyone be able to help?

    sales units rank
    ITEM 1 425 2
    item 2 45 3
    item 2 80 2
    item 2 81 1
    ITEM 1 467 1
    ITEM 1 51 4
    ITEM 1 389 3
    Last edited by rossg; 04-07-2014 at 09:18 PM.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: rank subsets of data

    Try this...

    Data Range
    A
    B
    C
    1
    Sales
    Units
    Rank
    2
    ITEM 1
    425
    2
    3
    item 2
    45
    3
    4
    item 2
    80
    2
    5
    item 2
    81
    1
    6
    ITEM 1
    467
    1
    7
    ITEM 1
    51
    4
    8
    ITEM 1
    389
    3


    This formula entered in C2 and copied down:

    =SUMPRODUCT(--(A$2:A$8=A2),--(B2<B$2:B$8))+1
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Totalling subsets of data within one workbook
    By Elapses in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-20-2014, 10:34 PM
  2. How to update a summary table for different data subsets
    By hopandsolo in forum Excel General
    Replies: 0
    Last Post: 08-22-2012, 10:32 AM
  3. Comparing multiple subsets within a range of data
    By hazenberger in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-03-2011, 10:47 AM
  4. Data Validation - multiple subsets
    By requiem in forum Excel General
    Replies: 5
    Last Post: 10-01-2010, 04:26 PM
  5. perform a calculation on subsets of data of varying length
    By smokebreak in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2010, 07:58 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