+ Reply to Thread
Results 1 to 13 of 13

IFERROR, INDEX, MAX, MATCH Get latest date with array

  1. #1
    Registered User
    Join Date
    01-27-2019
    Location
    Nashville, Tennessee
    MS-Off Ver
    Office 365 // Excel
    Posts
    9

    IFERROR, INDEX, MAX, MATCH Get latest date with array

    Good morning all, I am trying to pull the latest of duplicate results using the following formula. Can anyone tell me where my syntax is incorrect?

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    22,760

    Re: IFERROR, INDEX, MAX, MATCH Get latest date with array

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please DO NOT attach a picture of an Excel sheet (I do not have the patience to re-type any/all your stuff before starting).

    1. It does NOT have to be your real sheet - mock up a SAMPLE if you need to. But not 1000's of rows!!! It makes manual checking so tedious. Whatever you do... make sure that all confidential information is removed first!!

    2. Make sure that your sample data are truly REPRESENTATIVE of your real data. For example, don't show text in a column if it's really a number. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    3. Make sure that your desired solution is also shown (mock up the results manually). To be honest, I am not interested in seeing a non-working formula... or a pile of blank cells. However, I am very interested in seeing your EXPECTED results in their EXPECTED location.

    4. Try not to use merged cells. They cause lots of problems and are DEFINITELY best avoided!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn



  3. #3
    Registered User
    Join Date
    01-27-2019
    Location
    Nashville, Tennessee
    MS-Off Ver
    Office 365 // Excel
    Posts
    9

    Re: IFERROR, INDEX, MAX, MATCH Get latest date with array

    Here is a test sheet: ht tp s : //doc s. google .co m /spread sheets/d /1mFsTvtt8Gg UvUl2xqw43b5TDQyH0KKrapZR3SDT0zsQ

    I've highlighted some rows to narrow down testing.
    There are some spaces in the link as the forum wouldn't let me post a link.

  4. #4
    Registered User
    Join Date
    01-27-2019
    Location
    Nashville, Tennessee
    MS-Off Ver
    Office 365 // Excel
    Posts
    9

    Re: IFERROR, INDEX, MAX, MATCH Get latest date with array

    I am trying to get all the information from Report Responses to auto populate the 1 2 and 3 column in Assignment's based on the value of column A, and matching the latest date.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    22,760

    Re: IFERROR, INDEX, MAX, MATCH Get latest date with array

    Bump.

    Any takers? I couldn't tell a google sheet from a hole in my socks!!

  6. #6
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    UK
    MS-Off Ver
    2010 primarily
    Posts
    3,281

    Re: IFERROR, INDEX, MAX, MATCH Get latest date with array

    That doesn't appear to be a publicly available link.
    Rory
    Days when we raged, we flew off the page
    Such damage was done

  7. #7
    Registered User
    Join Date
    01-27-2019
    Location
    Nashville, Tennessee
    MS-Off Ver
    Office 365 // Excel
    Posts
    9

    Re: IFERROR, INDEX, MAX, MATCH Get latest date with array

    Quote Originally Posted by rorya View Post
    That doesn't appear to be a publicly available link.
    Sorry, it is now.

  8. #8
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    UK
    MS-Off Ver
    2010 primarily
    Posts
    3,281

    Re: IFERROR, INDEX, MAX, MATCH Get latest date with array

    And what exactly should be the result in F20?

  9. #9
    Registered User
    Join Date
    01-27-2019
    Location
    Nashville, Tennessee
    MS-Off Ver
    Office 365 // Excel
    Posts
    9

    Re: IFERROR, INDEX, MAX, MATCH Get latest date with array

    F20 should contain the value of Report Responses first column. (PASSED/REDO/etc)

  10. #10
    Registered User
    Join Date
    01-27-2019
    Location
    Nashville, Tennessee
    MS-Off Ver
    Office 365 // Excel
    Posts
    9

    Re: IFERROR, INDEX, MAX, MATCH Get latest date with array

    Anyone that may know how to help me out?

  11. #11
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    UK
    MS-Off Ver
    2010 primarily
    Posts
    3,281

    Re: IFERROR, INDEX, MAX, MATCH Get latest date with array

    Does this do what you want:

    =filter('Report Responses'!$A$1:$A$28,'Report Responses'!$G$1:$G$28=$A20,'Report Responses'!$J$1:$J$28=F$2,'Report Responses'!$B$1:$B$28=max(filter('Report Responses'!$B$1:$B$28,'Report Responses'!$G$1:$G$28=$A20,'Report Responses'!$J$1:$J$28=F$2)))

  12. #12
    Registered User
    Join Date
    01-27-2019
    Location
    Nashville, Tennessee
    MS-Off Ver
    Office 365 // Excel
    Posts
    9

    Re: IFERROR, INDEX, MAX, MATCH Get latest date with array

    Not really sure how to apply that. I'm looking to find the max date in Report Responses$C:$C for same values in Report Responses$K:$K. In other words, column K may have similar values = 1. I need it to pull another value based on it being that last 1 that was submitted.

    =ArrayFormula(IFERROR(INDEX('Report Responses'!$B:$B,MATCH(1,('Report Responses'!$H:$H=$A22)*('Report Responses'!$K:$K=F$2 * (MAX('Report Responses'!$C:$C))),0)),"NO")) The max function just doesn't work here, and i've tried a few other ways that I cannot figure out.

  13. #13
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    UK
    MS-Off Ver
    2010 primarily
    Posts
    3,281

    Re: IFERROR, INDEX, MAX, MATCH Get latest date with array

    Put that formula into F20. It will return the value from column A on 'Report Responses' for the latest date in column B where column H is 17 and column K is 1. Is that not what you asked for?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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