Results 1 to 3 of 3

Duplicates in RANK.

Threaded View

hp99 Duplicates in RANK. 07-29-2021, 05:25 PM
alansidman Re: Duplicates in RANK. 07-29-2021, 06:43 PM
josephteh Re: Duplicates in RANK. 07-29-2021, 11:05 PM
  1. #1
    Registered User
    Join Date
    07-29-2021
    Location
    England
    MS-Off Ver
    365
    Posts
    1

    Duplicates in RANK.

    Hi there,
    So i have a bunch of stock price returns that i am ranking relative to one another. I am then trying to assign weights based on the highest 2 and lowest 2. These should sum to net 0. However, i occasionally have two stocks with 0% returns. This causes an issue whereby RANK obviously ranks these equally, however this causes the net to be 2, 3 or else etc.
    I am wondering if there is any way i can formulate the function whereby if two or more cells have the same return and thus ranked the same, it will select the stock with the lowest rank last period out of said stocks. i.e. if stock A B C have rank 2 2 2 respectively this period, but 1 3 5 last period, it will assign the weight of 1 to stock A as it had the lowest RANK last period (1).

    I have added a cut out so you can see where my issue lies. As can be seen, I3, N3, P3 have the same rank in the second period, and thus they have been assigned the same weight of 1 in Q, V, X. I need it to assign the weight of 1 to I only out of those three, as its rank last period was the lowest at rank 1.

    Really appreciate any help, Many thanks in advance!
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Rank subgroups without duplicates
    By Philip63 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-24-2023, 06:07 PM
  2. Need help to rank without any duplicates
    By hawkinsr86 in forum Excel General
    Replies: 2
    Last Post: 10-29-2012, 12:41 PM
  3. [SOLVED] RANK formula cannot rank duplicates
    By unpluggedmusic in forum Excel General
    Replies: 5
    Last Post: 10-13-2012, 12:59 PM
  4. Weighted rank- if duplicates rank the average
    By vlady in forum Excel General
    Replies: 3
    Last Post: 02-28-2012, 09:17 PM
  5. Rank formula and duplicates
    By jimstrongy in forum Excel General
    Replies: 6
    Last Post: 01-15-2012, 12:21 PM
  6. Rank duplicates by another column
    By felix11 in forum Excel General
    Replies: 2
    Last Post: 09-11-2010, 10:02 PM
  7. Excel Rank Duplicates then preferred rank
    By Economic in forum Excel General
    Replies: 2
    Last Post: 04-05-2009, 07:45 PM

Tags for this Thread

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