+ Reply to Thread
Results 1 to 6 of 6

How to rank filtered cells w/o duplicates w/o breaking sequence?

  1. #1
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    How to rank filtered cells w/o duplicates w/o breaking sequence?

    Hi,

    My target is to rank numbers (column B) in filtered range without duplicates and without breaking sequence.
    The actual formula can handle the visible/hidden rows but cannot avoid the duplicates and unfortunately break the sequence too.

    Do you have any idea to solve this issue?

    Please, see the details in the attached file.

    Thank you in advance any help!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How to rank filtered cells w/o duplicates w/o breaking sequence?

    Please add the given solutions in your earlier threat, since they could be usefull.

    Also add manualy the expected result in your excel file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: How to rank filtered cells w/o duplicates w/o breaking sequence?

    Please try at B9

    =SUM(N(E9>IF(SUBTOTAL(103,OFFSET($E$8,ROW($E$9:$E$16)-ROW($E$8),)),$E$9:$E$16)))+SUM(--(E9=IF(SUBTOTAL(103,OFFSET($E$8,ROW(E$9:$E9)-ROW($E$8),)),$E$9:$E9)))

    Confirm by Ctrl+Shift+Enter
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Re: How to rank filtered cells w/o duplicates w/o breaking sequence?

    Hi oeldere,

    Thank you the quick reply.
    Please, see again the attached file. I have uploaded the earlier one with expected result (added manually).

    The expected result just an example if 2 Material# are not selected.
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How to rank filtered cells w/o duplicates w/o breaking sequence?

    E9 =IF(COUNTIF($B$9:$B$16,$B9)=COUNTIF($B$9:$B9,$B9),$D9+ROW()/100000,"") and drag below

    F9 =IFERROR(RANK(E9,E9:E16,0),"") and drag below

    H9 =IFERROR(INDEX($B$9:$F$16,MATCH(ROW()-8,$F$9:$F$16,0),COLUMN()-7),"") and drag across

    See the attached file.

  6. #6
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Re: How to rank filtered cells w/o duplicates w/o breaking sequence?

    @Bo_Ry, @oeldere

    Thank you so much for these solutions, I have learnt some new things today.

+ 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. [SOLVED] Four levels of tie breaking in RANK
    By Canuckterrier in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-11-2018, 07:05 PM
  2. Filtered Rank using Sumproduct with no duplicates
    By dgagliardi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-23-2015, 09:58 AM
  3. tie breaking in rank function
    By josh101287 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-10-2014, 08:00 PM
  4. Replies: 2
    Last Post: 02-27-2014, 06:18 AM
  5. [SOLVED] RANK - Breaking Ties
    By sachinattri in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-28-2013, 04:32 AM
  6. Breaking ties with rank alphabetically
    By ktms in forum Excel General
    Replies: 7
    Last Post: 11-03-2011, 07:06 PM
  7. Rank tie breaking
    By JO505 in forum Excel General
    Replies: 4
    Last Post: 07-18-2011, 07:01 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