+ Reply to Thread
Results 1 to 11 of 11

Formula to eliminate duplicates in Rank values in a dynamic range

  1. #1
    Registered User
    Join Date
    12-26-2006
    Posts
    78

    Formula to eliminate duplicates in Rank values in a dynamic range

    Hello Forum,

    I need a Ranking formula to automatically eliminate duplicates in a dynamic range.

    The standard Rank/Countif formula does not work with empty cells.

    Ideally I'd like to specify lowest to highest or highest to lowest - if that's not possible, then lowest to highest is preferred.

    I've attached a spreadsheet - conditional formatting highlights the duplicates.

    Thank you for having a look - hopefully there is a solution
    Bungaree
    Attached Files Attached Files

  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: Formula to eliminate duplicates in Rank values in a dynamic range

    How about updating your file to show us what results you expect.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Formula to eliminate duplicates in Rank values in a dynamic range

    remove duplicates ?
    result in other column, sheet ?

    maybe post exemple with desired result

    Kind regards
    Leo

  4. #4
    Registered User
    Join Date
    12-26-2006
    Posts
    78

    Re: Formula to eliminate duplicates in Rank values in a dynamic range

    Thank you for replying Tony and Leo, in col Q, instead of 2's I want 2, 3, 4, ie formula should look for duplicates or triplicates and apply consecutive numbers to them.

    The result should be in column Q - which has my current basic rank formula, I just need the three 2's to come up as 2, 3, 4. The formulas extend beyond the range of data as the data range varies.

    Kind regards,
    Bungaree

  5. #5
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Formula to eliminate duplicates in Rank values in a dynamic range

    Like this ?

    Kind regards
    Leo
    Attached Files Attached Files

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

    Re: Formula to eliminate duplicates in Rank values in a dynamic range

    Maybe this...

    =IFERROR(RANK(T7,$T$7:$T$999,1)+COUNTIF(T$7:T7,T7)-1,"")

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

    Re: Formula to eliminate duplicates in Rank values in a dynamic range

    Quote Originally Posted by LeoTaxi View Post
    Like this ?
    Instead of hiding your suggestion in a file post it directly in the reply where we can see it.

  8. #8
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Formula to eliminate duplicates in Rank values in a dynamic range

    @ Tony
    i do so with VBA
    formulas by me is in dutch so i leave the translation to excel
    nothing to do with hide

    Kind regards
    Leo

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

    Re: Formula to eliminate duplicates in Rank values in a dynamic range

    Fair enough!

  10. #10
    Registered User
    Join Date
    12-26-2006
    Posts
    78

    Re: Formula to eliminate duplicates in Rank values in a dynamic range

    Tony and Leo, you are awesome!!! Both work perfectly for me. Thank you SO much and thank you for your quick responses

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

    Re: Formula to eliminate duplicates in Rank values in a dynamic range

    You're welcome. Thanks for the feedback!

+ 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. Eliminate Duplicates In Rank Formulas
    By nevi in forum Excel General
    Replies: 10
    Last Post: 09-24-2014, 01:48 PM
  2. Formula to Index, Match, Rank, and Sort a Dynamic Range of Values
    By AustinLe in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-14-2014, 03:49 AM
  3. Rank a range of data containing duplicates SEQUENTIALLY
    By banks334 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-20-2013, 01:06 AM
  4. [SOLVED] Rank values in descending order with duplicates
    By mcain1981 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-14-2012, 01:15 PM
  5. [SOLVED] RANK formula cannot rank duplicates
    By unpluggedmusic in forum Excel General
    Replies: 5
    Last Post: 10-13-2012, 12:59 PM
  6. Eliminate Duplicates In Rank Formulas
    By nevi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-23-2010, 10:06 PM
  7. [SOLVED] Re: Concat values in two or more rows based on id and eliminate duplicates
    By Tom Ogilvy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-19-2005, 02:05 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