+ Reply to Thread
Results 1 to 5 of 5

Finding "pro forma" rank for a value that is not included in the reference list of values

  1. #1
    Registered User
    Join Date
    11-10-2022
    Location
    Helsinki, Finland
    MS-Off Ver
    365 Apps for enterprise
    Posts
    3

    Cool Finding "pro forma" rank for a value that is not included in the reference list of values

    rank example.xlsx
    How do I create a function to get a RANK for a value not included in the reference list of values? Tried VSTACK, which allows us to easily calculate for example a sum with that external value, but it does not work inside the RANK function.
    Help is very much appreciated.
    Mark

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2202
    Posts
    1,468

    Re: Finding "pro forma" rank for a value that is not included in the reference list of val

    i had a lot of issues with this as well. Has to do with Arrays not working with RANK i think.
    I believe though this is what you are looking for. In c4 and drag down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I am sure you could use VSTACK instead of the FILTERXML() but i don't have access tot hat formula yet. The way i ranked the created array was the red portion
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  3. #3
    Registered User
    Join Date
    11-10-2022
    Location
    Helsinki, Finland
    MS-Off Ver
    365 Apps for enterprise
    Posts
    3

    Re: Finding "pro forma" rank for a value that is not included in the reference list of val

    I tried it and it works well and even with a long reference string containing a series of index and match functions. Very much appreciated!
    I was originally expecting a simple solution, a function I was just unaware of, or a simple trick.

  4. #4
    Registered User
    Join Date
    11-10-2022
    Location
    Helsinki, Finland
    MS-Off Ver
    365 Apps for enterprise
    Posts
    3

    Re: Finding "pro forma" rank for a value that is not included in the reference list of val

    The excellent formula provided gives an error when the reference range contains blank cells. Is there a way to modify the code to only include non-blank cells in the RANK calculation?

  5. #5
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2202
    Posts
    1,468

    Re: Finding "pro forma" rank for a value that is not included in the reference list of val

    Hi Mksu,

    Sorry for getting back to you so late. All you need to do is add a FILTER() function to the araytotext() function to filter out blanks.
    see below:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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: 2
    Last Post: 04-24-2020, 02:41 AM
  2. Replies: 8
    Last Post: 07-12-2017, 05:32 PM
  3. [SOLVED] Copy values from sheet"list" to "invoce" on trigger
    By perko121 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-11-2017, 11:33 AM
  4. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  5. = EMBED("Forms.ComboBox.1","") error "Reference not valid."
    By CatharinaCatharina in forum Excel General
    Replies: 2
    Last Post: 12-11-2014, 09:58 AM
  6. Date format of just "st" "nd" "rd" and "th" with text included
    By notrandom in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-10-2013, 05:45 PM
  7. Finding Cell reference after a "max" command
    By Bunsen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-10-2011, 01:10 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