+ Reply to Thread
Results 1 to 4 of 4

Create Ranking/List via Conditions

  1. #1
    Registered User
    Join Date
    04-07-2023
    Location
    ventura
    MS-Off Ver
    365
    Posts
    20

    Create Ranking/List via Conditions

    Hi Everyone. I'm currently working on a project and looking to see if what I'm trying to accomplish is feasible within Excel or not. What I'm attempting to do is create a Ranking List which will determine priority of our open positions based on several factors. This may not work as a formula so if not, maybe a dashboard of some sort?

    Screenshot 2024-05-30 113559.png

    The factors I am dealing with are within columns A-G in the screenshot and attachment.
    If the store's EBITDAR < 95%
    The Job Rating (1-3)
    # of Positions Open
    # of Days Open (per Position by Rating, High to Low)

    What I'm trying to do is create a formula or rank list that will take the current store's EBITDAR % and if it is less than 95% (create a ranking), use that as the first factor.
    If the store has less than 95% EBITDAR, I would then like to identify the Job Title's of the Positions Open by Rating as the second factor. Then identify the # of positions at the stores that have less than 95% EBITDAR to determine vacancy, in addition to determining priority in conjunction with # of Days Open.

    As an example using data from H-M....
    Screenshot 2.png

    [First Factor] Sorting EBITDAR Low-High
    [Second Factor] Job Title Rankings from 1-3
    [Third Factor] # of Positions Open by Rating
    [Fourth Factor] # of Positions Open by Days Open

    I see that Stores 2009, 1178, 3002 and 3022 all have a position with a #1 Rating. Since stores 3002 & 3022 have the highest Vacancy (# of Open Positions), this would take precedence over stores 2009 & 1178. Since the Assistant Manager at Store 3002 has been open longer than the Store Manager at Store 3022, the order for the priority for the #1 Positions would go as follows:

    Store 3002 - Assistant Manager
    Store 3022 - Store Manager
    Store 2009 - Store Manager
    Store 1178 - Assistant Manager

    Is this something that is even possible via a formula? Or will I basically just need to make a dashboard that lists the appopriate factors?
    Attached Files Attached Files
    Last edited by iilman92; 05-30-2024 at 03:12 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,774

    Re: Create Ranking/List via Conditions

    Try pasting this into P2 and ENTER:

    Please Login or Register  to view this content.
    It certainly gets the four you mention in the right order, however to do this, the ranking factors have to take a different order of preference.

    Please check the attached and annotate where items are incorrectly ranked.
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    04-07-2023
    Location
    ventura
    MS-Off Ver
    365
    Posts
    20

    Re: Create Ranking/List via Conditions

    Quote Originally Posted by AliGW View Post
    Try pasting this into P2 and ENTER:

    Please Login or Register  to view this content.
    It certainly gets the four you mention in the right order, however to do this, the ranking factors have to take a different order of preference.

    Please check the attached and annotate where items are incorrectly ranked.
    Hi Ali,

    This looks wonderful. I'm trying to reverse engineer and understand the formula you wrote.

    in "=LET(f,FILTER"", is the "f" indicating column F as the # of positions open as the first factor? Or what is "f"? Sorry for the ignorance.

    If so, what I'm seeing is: H2-M199 is filtered to show all under 95% EBITDAR, then it sorts by (columns H-M), Rating (4), Open (2), Days Open (6). Is this correct?

    The only thing I noticed was that in the Array Results, the EBITDAR isn't sorted Low-High within the information, is it possible to do so in this order after the Array results?

    For example per the below, in the Rating 1 Jobs for 2 Vacancy's the EBITDAR's with negative value are at the end of the results rather than being listed higher for having a lower EBITDAR. Is there anyway to rewrite the formula to FILTER<95% then sort by EBITDAR Low to High, followed by being sorted by Rating, Open, Days open?

    Example attached:
    Screenshot 2.png
    Last edited by iilman92; 05-31-2024 at 01:07 PM.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,960

    Re: Create Ranking/List via Conditions

    Perhaps this Power Query proposal will work for you.
    After converting the data in $H$1:$M$199 into an Excel table and selecting From Table/Range on the Data tab the following Advanced Editor code is applied:
    Please Login or Register  to view this content.
    The resulting table of output is shown in columns O:T.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. how to create data validation drop-down list based on three conditions...
    By jiaron_1230 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-20-2016, 05:06 AM
  2. [SOLVED] create a list of articles (also duplicates) of a database with 2 conditions
    By Superutz in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 07-11-2015, 03:55 PM
  3. Trying to create ranking list with swapping rows based on rank
    By OAHMC in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-03-2015, 08:37 PM
  4. Create list of pairs based on conditions
    By Xenos27 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2013, 09:24 AM
  5. [SOLVED] Create an automatically sorting/ranking list
    By dip11 in forum Excel General
    Replies: 11
    Last Post: 09-14-2012, 06:53 AM
  6. Ranking a list with conditions
    By ACEMAN3131 in forum Excel General
    Replies: 4
    Last Post: 12-06-2010, 09:01 PM
  7. Create a list in another sheet based on few conditions
    By acsishere in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-16-2008, 07:43 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