+ Reply to Thread
Results 1 to 6 of 6

Vlookup 2 Criteria (ascending order and unique)

  1. #1
    Forum Contributor
    Join Date
    09-20-2018
    Location
    Jakarta
    MS-Off Ver
    google
    Posts
    102

    Vlookup 2 Criteria (ascending order and unique)

    Hi

    in google sheet, https://docs.google.com/spreadsheets...gid=1836933493

    I have 2 sheet, The relevant data sets in those sheet are as follow :
    - Top Predicted Stocks by ML sheet, whereas at colomn B there's a 'stock name' (text value), at colomn I there's a 'score' (numerical value) and at colom J there's 'industry category' (text value).
    - ML Instruction for the Trading Platform whereas at colomn B is the 'stock name' (text value)

    So, I need a formula in ML Instruction for the Trading Platform colom B2 which retrieves text value in Top Predicted Stocks by ML colomn B:B with a condition to get the largest 'score' data in numerical order term at colomn I2:I and the 'industry category' at colomn J2:J it must be uniquely scrapped.

    You can refer to a similar formula previously I had :
    =INDEX('Top Predicted Stocks by ML'!B:B, MATCH(LARGE('Top Predicted Stocks by ML'!I:I, 1), 'Top Predicted Stocks by ML'!I:I, 0)).

    So basically the GOAL, what I need is that, to pick few of the highest scored stocks but they're all must be in a different industry category.
    Last edited by maniacs205; 06-21-2023 at 06:51 AM.

  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,840

    Re: Vlookup 2 Criteria (ascending order and unique)

    Is this the same question as your earlier thread?
    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
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Vlookup 2 Criteria (ascending order and unique)

    This seems to do what you want. Just needed a small change to your first formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    in F2 and copy down.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Forum Contributor
    Join Date
    09-20-2018
    Location
    Jakarta
    MS-Off Ver
    google
    Posts
    102

    Re: Vlookup 2 Criteria (ascending order and unique)

    Quote Originally Posted by AliGW View Post
    Is this the same question as your earlier thread?
    no, the other one has been done by a freelancer I hired. thank you

  5. #5
    Forum Contributor
    Join Date
    09-20-2018
    Location
    Jakarta
    MS-Off Ver
    google
    Posts
    102

    Re: Vlookup 2 Criteria (ascending order and unique)

    Quote Originally Posted by 6StringJazzer View Post
    This seems to do what you want. Just needed a small change to your first formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    in F2 and copy down.
    Thanks, but I can't see the colomn JJ sheet 1 in your formula. Please see the answers in my colomn D sheet 2.

  6. #6
    Forum Contributor
    Join Date
    09-20-2018
    Location
    Jakarta
    MS-Off Ver
    google
    Posts
    102

    Re: Vlookup 2 Criteria (ascending order and unique)

    done again

+ 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. List Unique Values Ascending Order
    By ptmuldoon in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-25-2020, 01:18 PM
  2. [SOLVED] find n. row in ascending order based on search criteria
    By Berna11 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-10-2018, 08:05 AM
  3. [SOLVED] Extract unique limited, number of values based on criteria in ascending order
    By Villalobos in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-03-2017, 04:56 AM
  4. Create List in Ascending order and unique value
    By Arsalansansari in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-29-2012, 02:34 PM
  5. Result of VLOOKUP in by ascending order
    By euphoric.jag in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 10-16-2012, 07:59 AM
  6. Why must the table for Vlookup be sorted in ascending order?
    By Epinn in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 08-12-2006, 03:10 AM
  7. [SOLVED] Is there a VLOOKUP substitute when data is not in ascending order
    By VJ7777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-19-2005, 05:06 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