+ Reply to Thread
Results 1 to 7 of 7

Help creating a formula that using If,index, match and displays only the newest dates...

  1. #1
    Forum Contributor
    Join Date
    10-15-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    218

    Help creating a formula that using If,index, match and displays only the newest dates...

    Hello All,

    I'm trying to create a visual spreadsheet of training courses and their expiration date for each person. Please see the following link for reference:

    https://docs.google.com/spreadsheet/...Gc&hl=en#gid=0

    On the first sheet "Certificate Database" i manually enter all the information in this sheet for the training done. What i would like to see on the second sheet "Staff Summary - AQ" is that it would search the datasheet employee column for the employee's name (on the header) and then search if there is a matching course. Where I get stuck is if true for course and name match on multiple entries that it picks the newest recent date (or "no exp" text).

    What i mean by newest date = in my example Jane Doe has done trailering twice on February 15, 1999
    and on April 16, 2011 but on my summary sheet it only shows the most current April 16, 2011.

    I've tried index and match to get matches but when it is False I get N/A and always get the date that matched first and not the newest date. Because my datasheet will constantly be changing filtered and sorted by others I only want the summary to show me the newest date. Also if possible, prefer not to do an array formulas as the ctrl+shift+enter breaks when i keep adding new entries and is awefully slow. This is a small example of the sheet i'm working with but the original takes forever to load (I have about 50 courses and 1000 employees which equates to about 12,000 entries currently).

    Can anyone help with a simple index,match formula that shows only the most current date (or if "no exp" text is present).

    Thank you greatly in advance!!!
    Last edited by JasonNeedsHelp; 10-15-2013 at 08:11 PM.

  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
    53,050

    Re: Help creating a formula that using If,index, match and displays only the newest dates.

    Hi and welcome to the forum

    Please upload your sample workbook here, not all members can access file-hosting sites like google docs (company firewalls and stuff)

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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
    Forum Contributor
    Join Date
    10-15-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    218

    Re: Help creating a formula that using If,index, match and displays only the newest dates.

    Hi FDibbins,

    Thanks for the help - that is much easier then google docs!
    Attached Files Attached Files

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Help creating a formula that using If,index, match and displays only the newest dates.

    Hi

    As you have mixed text and dates in the same column, formula is a little complicated but does what you need. It's an ARRAY formula.

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


    -- Array(CSE) { }, formulae are confirmed with Control+Shift+Enter.
    Not just Enter.
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Forum Contributor
    Join Date
    10-15-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    218

    Re: Help creating a formula that using If,index, match and displays only the newest dates.

    Thank you so much for your help. I really do apprecaite it!

    But is there a way to do this by just INDEX/MATCH without this being an ARRAY formula?

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Help creating a formula that using If,index, match and displays only the newest dates.

    The problem is exactly this that you described in your first post!

    ..I've tried index and match to get matches but when it is False I get N/A and always get the date that matched first and not the newest date
    That's why we need the ARRAY formula--MAX(IF.....

  7. #7
    Forum Contributor
    Join Date
    10-15-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    218

    Re: Help creating a formula that using If,index, match and displays only the newest dates.

    Thank you Fotis,

    I'm just not familur with Array's and why we do them. I really apprecaite the help i recieved 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. Index-Match Still Displays The Value After The Source Has Already Been Deleted
    By seimeion1208 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-25-2013, 10:07 AM
  2. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  3. [SOLVED] Offset, Index, Match formula with dates inconsistently working
    By David Brown in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-31-2013, 04:12 PM
  4. [SOLVED] VBA for creating Index-Match every 2 rows where INDEX refer to a different column per row
    By bisaya789 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-22-2012, 03:46 AM
  5. index/match only newest dates
    By scabertrain in forum Excel General
    Replies: 5
    Last Post: 09-27-2010, 05:16 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