+ Reply to Thread
Results 1 to 7 of 7

Return largest value from array derived from specific criteria

  1. #1
    Registered User
    Join Date
    03-23-2024
    Location
    Zambia
    MS-Off Ver
    2010
    Posts
    7

    Return largest value from array derived from specific criteria

    Write a formula in cell X1 that will firstly check Row 1 for K,D,S,0,1 and 2, then find their corresponding values from Row A (along their columns) i.e. 19, 12, 11, 5 & 23, and finally return the highest number from these (i.e. 23). The formula can be pulled down in the subsequent yellow cells but all other rows must get corresponding values from Row A using the same criteria.
    Attached Files Attached Files
    Last edited by Megavic; 03-23-2024 at 05:04 PM. Reason: Noticed a slight error

  2. #2
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,428

    Re: Return largest value from array derived from specific criteria

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

  3. #3
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,060

    Re: Return largest value from array derived from specific criteria

    Modifying wk9128's formula, in case any cell underneath the highest number 23 is blank,
    P7=MAX((D7:O7={"K";"D";"S";0;1})*(D7:O7<>"")*D$6:O$6), copy down.

  4. #4
    Registered User
    Join Date
    03-23-2024
    Location
    Zambia
    MS-Off Ver
    2010
    Posts
    7
    Wow! simply unbelievable, you guys are geniuses... it worked! Now I can proceed in coming up with a leaderboard, thanks!

  5. #5
    Registered User
    Join Date
    03-23-2024
    Location
    Zambia
    MS-Off Ver
    2010
    Posts
    7
    Thank you so much, I'm humbled by your assistance. It worked.

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,428

    Re: Return largest value from array derived from specific criteria

    @Megavic You're Welcome. Glad to help . Thank You for the feedback.

    If you finally get a solution please mark your thread as SOLVED:
    - Click Thread Tools above your first post,you will see the word PREFIX on the upper left, press the button to select [SOLVED] select "Mark your thread as Solved".
    - you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help
    was given. By doing so you can add to the reputation(s) of those who helped.

  7. #7
    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,916

    Re: Return largest value from array derived from specific criteria

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
    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.

+ 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] Return largest value and name of value with criteria
    By Nolte in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 12-29-2017, 11:24 AM
  2. Return nth Largest value using multiple criteria
    By Jbentley in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-07-2014, 05:14 PM
  3. Return relative position of the largest number in an array
    By DanielMinh in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-20-2013, 03:01 AM
  4. [SOLVED] Find 3 largest values in an array and return corresponding text from header row
    By philrossnz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-21-2012, 01:17 AM
  5. Return name with largest value in multiple column array
    By saslotteroy in forum Excel General
    Replies: 4
    Last Post: 01-24-2012, 06:15 PM
  6. Re: Return nth Largest value using multiple criteria
    By Charles Bostick in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-23-2011, 09:45 PM
  7. needing to find largest value in array, then return entire row associated with result
    By Phraedrique in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-15-2009, 12:32 PM

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