+ Reply to Thread
Results 1 to 6 of 6

Drag Rank Function ?

  1. #1
    Registered User
    Join Date
    08-15-2011
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    75

    Drag Rank Function ?

    Does anyone know of a way to click and drag the Rank function ?

    Please see below attached example...........

    So I have a large spreadsheet that has groupings of data, some groups are only two rows, however some are up to 20 rows. Each group has a blank row that separates it from the next group. For each group I have to rank the values, and to do this I have to copy and paste a rank function. What I would like to do is just click and drag the functions to any new rows I insert into the spreadsheet, is there any way to do this ?

    units value rank

    5 38 1
    5 85 3
    5 87 4
    5 82 2
    5 95 5

    9 2 1
    9 68 8
    9 30 4
    9 23 3
    9 31 6
    9 92 9
    9 67 7
    9 30 4
    9 6 2

    4 91 4
    4 21 3
    4 3 1
    4 18 2

    6 59 3
    6 80 6
    6 71 5
    6 70 4
    6 10 1
    6 12 2

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    2007, Office 365
    Posts
    11,584

    Re: Drag Rank Function ?

    Try this in C2 and fill down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  3. #3
    Registered User
    Join Date
    08-15-2011
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    75

    Re: Drag Rank Function ?

    That worked fine, thankyou !

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2010
    Posts
    4,290

    Re: Drag Rank Function ?

    Or try:

    =IF(A2="","",COUNTIFS(A:A,A2,B:B,"<"&B2)+1)

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    2007, Office 365
    Posts
    11,584

    Re: Drag Rank Function ?

    @ Phuocam. Yep. Better.

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    2007, Office 365
    Posts
    11,584

    Re: Drag Rank Function ?

    @amonty78. You are welcome. Glad to help. Thank you for the feedback and added rep.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Replies: 3
    Last Post: 02-08-2016, 06:55 PM
  2. [SOLVED] Ceiling function and drag and drop
    By Isaacadete in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-11-2015, 09:16 AM
  3. How to rank for each year in a single drag
    By mahershams in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-21-2014, 12:06 AM
  4. [SOLVED] Using the RANK function to rank decimal numbers
    By CRinne in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-29-2013, 02:14 PM
  5. How to drag down sum indirect function
    By Mayyalondon in forum Excel General
    Replies: 3
    Last Post: 03-11-2012, 10:48 AM
  6. Problem when i drag a function
    By Lampada in forum Excel General
    Replies: 1
    Last Post: 03-13-2010, 08:07 PM
  7. [SOLVED] HELP with AddrOf function for Drag-n-Drop
    By Barmaley in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2005, 09:06 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