+ Reply to Thread
Results 1 to 6 of 6

Looking up most recent date, cross references with a title from set of columns

  1. #1
    Registered User
    Join Date
    12-04-2016
    Location
    UK
    MS-Off Ver
    2016
    Posts
    79

    Looking up most recent date, cross references with a title from set of columns

    Hi everyone in the Excel-sphere this afternoon.

    I have a table of course details:
    A B C D E F G H I J K
    Name 1 Date 2 Date 1 Date 1 Date Date Date
    The numbers 1 and 2 relate to two different training courses and the dates are when people attended them.

    I am looking for a formula that will scan those columns and tell me in column J the date of the most recent date that someone attended course 1. And in column K the most recent date that someone attended course 2.

    Is that possible? I'm struggle to get it to cross reference matching the course title and the dates properly.

    Thanks so much all.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Looking up most recent date, cross references with a title from set of columns

    You could probably do this with the max(if()) array formula, but to get better advice, I suggest that you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-04-2016
    Location
    UK
    MS-Off Ver
    2016
    Posts
    79

    Re: Looking up most recent date, cross references with a title from set of columns

    Thanks muchly FDibbins,

    Attached.

    The question is, what is the formula that goes in the Green cells.

    Thanks
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Looking up most recent date, cross references with a title from set of columns

    Try this ARRAY formula...
    =MAX(IF($G3:$Q3=B$2,$H3:$R3))
    ...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.
    Copy across, then copy down as needed

  5. #5
    Registered User
    Join Date
    12-04-2016
    Location
    UK
    MS-Off Ver
    2016
    Posts
    79

    Re: Looking up most recent date, cross references with a title from set of columns

    Brilliant, thank you so so much

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Looking up most recent date, cross references with a title from set of columns

    Happy to help and thanks for the feedback

+ 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. Select columns, compare dates and display column title with oldest date
    By rluesc in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-03-2016, 03:47 PM
  2. Replies: 3
    Last Post: 05-14-2013, 05:26 PM
  3. Replies: 0
    Last Post: 10-23-2012, 11:44 AM
  4. Replies: 2
    Last Post: 06-21-2011, 12:22 PM
  5. Cross-document references
    By Max Zaenker in forum Excel General
    Replies: 5
    Last Post: 10-19-2010, 01:29 PM
  6. formula that cross references
    By stevesunfold in forum Excel General
    Replies: 2
    Last Post: 12-28-2008, 10:41 AM
  7. Replies: 3
    Last Post: 06-01-2005, 02:05 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