+ Reply to Thread
Results 1 to 6 of 6

More data identification formula questions - Compare, Validate and Display

  1. #1
    Forum Contributor
    Join Date
    06-04-2014
    Location
    Nevada, USA
    MS-Off Ver
    2010, 2013
    Posts
    342

    More data identification formula questions - Compare, Validate and Display

    Folks, I am going to need a lot of help before I can ever become an useful contributor to this forum.
    But I am trying to learn.
    So, I have a file that I am working with/on.
    With this file I think of what I want to do and I then try to see if the formulas are possible. And that's why I keep pestering all of you.

    So here are my two new questions. ( I have uploaded an excel file to explain and give you a visual)

    In column M
    1. Identify the student's highest score [column H] (in case of tie, select most recent highest score).
    2. If that score was earned within the last 50 day's (column J), display "OK" else "NO".
    3. The "OK" or "NO" must be displayed in the top most cell in column M - for each student.

    In column N
    1. Identify the student's highest score [column H] (in case of tie, select most recent highest score).
    2. If that score was earned within the last 50 day's (column J), display the name of the subject (column F) "Biology, Physics etc" else " blank".
    3. The "SUBJECT NAME" or " blank" must be displayed in the top most cell in column N - for each student.

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: More data identification formula questions - Compare, Validate and Display

    Maybe something like this:

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Both are array formulas entered with Ctrl+Shift+Enter instead of regular Enter

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: More data identification formula questions - Compare, Validate and Display

    Try (shorter versions of Paul's formulae)

    in M4

    =IFERROR(IF(D3<>D4,IF(INDEX($J$4:$J$95,MATCH($D4&MAX(IF($D$4:$D$95=D4,$H$4:$H$95)),$D$4:$D$95&$H$4:$H$95,0))<=50,"OK","NO"),""),"")

    in N4

    =IF(M4="OK",INDEX($F$4:$F$95,MATCH($D4&MAX(IF($D$4:$D$95=D4,$H$4:$H$95)),$D$4:$D$95&$H$4:$H$95,0)),"")

    BOTH are array formula

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Results in columns O & P of attached
    Attached Files Attached Files
    Last edited by JohnTopley; 03-14-2018 at 07:06 AM.

  4. #4
    Forum Contributor
    Join Date
    06-04-2014
    Location
    Nevada, USA
    MS-Off Ver
    2010, 2013
    Posts
    342

    Re: More data identification formula questions - Compare, Validate and Display

    Thank you. I appreciate the formula structure.

  5. #5
    Forum Contributor
    Join Date
    06-04-2014
    Location
    Nevada, USA
    MS-Off Ver
    2010, 2013
    Posts
    342

    Re: More data identification formula questions - Compare, Validate and Display

    Once again Mr Topley, Thank you for an elegant formula.!!!

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: More data identification formula questions - Compare, Validate and Display

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks

+ 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] Using Vlookup to compare and validate data
    By Big Jones in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  2. Using Vlookup to compare and validate data
    By Big Jones in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  3. Using Vlookup to compare and validate data
    By Big Jones in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  4. Using Vlookup to compare and validate data
    By Big Jones in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 07:05 AM
  5. Using Vlookup to compare and validate data
    By paul in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  6. [SOLVED] Using Vlookup to compare and validate data
    By Big Jones in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  7. [SOLVED] Using Vlookup to compare and validate data
    By Big Jones in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-19-2005, 08:05 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