+ Reply to Thread
Results 1 to 3 of 3

Rank position of repeating labels

  1. #1
    Registered User
    Join Date
    06-29-2012
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    96

    Rank position of repeating labels

    Hello all,

    I have a list of facilities, cost centers, and sub accounts. I need to rank the subaccount everytime it appears in the facility and cost center combo.

    example.xlsx

    In the Attached file: I would like, in column D, a rank order of those sub accounts every time they are repeated in that Facility and Cost Center, so 1600 should be 1 and 1601 should be 2.

    I hope this helps.

    Thank you!

    -HP

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,261

    Re: Rank position of repeating labels

    Try

    =SUMPRODUCT(--($A$2:A2=A2)*($B$2:B2=B2))

  3. #3
    Registered User
    Join Date
    06-29-2012
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    96

    Re: Rank position of repeating labels

    This works! Thank you.

+ 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. Find string and then return rank or position in a list
    By ranmyaku in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-07-2013, 10:36 PM
  2. Field Position and Labels
    By janierenee in forum Excel General
    Replies: 1
    Last Post: 09-14-2012, 08:09 PM
  3. Repeating Labels & Controlling Sort in Pivots
    By Hambone70 in forum Excel General
    Replies: 2
    Last Post: 02-01-2011, 10:14 AM
  4. circular position radar chart labels
    By hansma in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 09-13-2010, 05:40 AM
  5. Repeating row labels in a pivot table
    By alderran in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-30-2010, 06:16 AM
  6. Replies: 2
    Last Post: 10-05-2007, 05:49 PM
  7. [SOLVED] Shifting the position of x-axis labels
    By den1s in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-16-2006, 08:10 AM
  8. [SOLVED] XL97: Position text boxes (or data labels) w/out VBA
    By LeAnne in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-01-2005, 05:10 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