+ Reply to Thread
Results 1 to 9 of 9

Rank values with non sequential data & ignore text

  1. #1
    Registered User
    Join Date
    06-15-2020
    Location
    Essex
    MS-Off Ver
    Office 365
    Posts
    4

    Rank values with non sequential data & ignore text

    Hello
    From spending the day trying to find a solution I might be asking too much on this analysis, but thought I'd try you guys and then I'll know for sure whether it's possible.

    The data is an analysis sheet which is fed from individual bid sheets and provides a sum on the annual savings vs our current price. One row per item with Annual Savings column for each company.

    Although I've got a details on the Best Price, I would like to have the rank for each 'Annual Saving' per company & item.

    The columns to 'check' against are non-sequential and there needs to be 'No Quote' for other analysis points within the Sheet

    I've tried various Sum/Countif/Isnumber/Indirect/Rank nested formula options to, in this instance get the answer 3, without success.
    It's 3 because it is the 3rd highest value out of the submissions received (CJ would be 1, CV would be 2, BX would be 4 & all 'No Quote' would be N/A

    There are so many linked formula's in the document I've put in a screenshot to understand whether you think there is any chance of finding a solution as I've got 10 company submissions on 49 items!
    I've done added an excel version too

    Any guidance would be greatly appreciated
    Thanks

    Capture.JPG
    Attached Files Attached Files
    Last edited by AliGW; 06-16-2020 at 06:08 PM.

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

    Re: Rank values with non sequential data & ignore text

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    06-15-2020
    Location
    Essex
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Rank values with non sequential data & ignore text

    Thanks, I've added it now too

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,554

    Re: Rank values with non sequential data & ignore text

    Please paste the following formula into cell B8 and drag down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Rank values with non sequential data & ignore text

    Maybe like this:

    =IF(COUNT(C8:I8)>0,COUNTIF(C8:I8,">"&A8)+1,"#N/A")

  6. #6
    Registered User
    Join Date
    06-15-2020
    Location
    Essex
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Rank values with non sequential data & ignore text

    Thank you both - I like them but the 'Annual Savings' values aren't in sequential cells so I can't use a standard array.
    I've put another version of the spreadsheet up to try and explain in better - Rank xlsx v2
    My hurdle is that they are non sequential lookup values
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,554

    Re: Rank values with non sequential data & ignore text

    Due to the arrangement of the data the following proposal employs two sets of helper columns.
    The first set, columns CD:CJ, is populated using direct assignments such as: =A2
    The second set, columns CL:CR, is populated using: =IF(ISNUMBER(CD2),SUM(SUMPRODUCT((ISNUMBER($CD2:$CJ2))*($CD2:$CJ2>CD2)),1),"N/A")
    The Company Rank columns are then populated using direct assignment such as: =CL2
    Let us know if you have any questions.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    06-15-2020
    Location
    Essex
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Rank values with non sequential data & ignore text

    JeteMc - you star...didn't think of putting helper columns in as it's such a big document already, but your solution works a treat.
    Thank you for helping my struggling brain

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,554

    Re: *SOLVED* Rank values with non sequential data & ignore text

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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] RANK function w/ no duplicates and multiple, SEQUENTIAL criteria
    By pthalodezin in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-18-2017, 02:21 AM
  2. Applying Formula to assign numeric values to text values in sequential order
    By jmshanahan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-15-2016, 03:04 PM
  3. [SOLVED] RANK and text values
    By OverKnight in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-18-2016, 05:02 PM
  4. [SOLVED] sumproduct to rank values but ignore blanks
    By Blake 7 in forum Excel General
    Replies: 6
    Last Post: 05-24-2016, 03:30 PM
  5. [SOLVED] Rank(), ignore #NUM! and #N/A N/A
    By maxfiesta in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-25-2013, 10:32 AM
  6. [SOLVED] Changing number values into sequential text values.
    By alex.l_91 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-17-2013, 02:37 AM
  7. [SOLVED] The RANK() function cannot ignore error values
    By BNCOXUK in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-27-2012, 08:44 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