+ Reply to Thread
Results 1 to 4 of 4

filter out the most recent exam

  1. #1
    Registered User
    Join Date
    03-20-2015
    Location
    Buffalo, NY
    MS-Off Ver
    2010
    Posts
    21

    filter out the most recent exam

    I am exporting patient’s exam data from a SQL database via ODBC. I want to be able to find out the patient’s most recent exam date from the data I have gathered. The patient may have had 4 exams over the last 4 yrs, or they may have had only one. I need to filter out the most recent exam so that I may then calculate the elapsed time since their last exam. I am currently using a pivot table. Any tips would be appreciated...

  2. #2
    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,362

    Re: filter out the most recent exam

    Attach a sample workbook (not image).

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate.

    Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    03-20-2015
    Location
    Buffalo, NY
    MS-Off Ver
    2010
    Posts
    21

    Re: filter out the most recent exam

    here is an example
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,625

    Re: filter out the most recent exam

    Try this
    ARRAY formula in G2, then drag down.
    Please Login or Register  to view this content.
    ARRAY formula in H2, then drag across.
    Please Login or Register  to view this content.
    ARRAY formula is used

    To enter ARRAY formula
    Paste the formula
    Press F2
    Press Ctrl+Shift+Enter keys together.
    formula will be covered with{} brackets by excel.
    Attached Files Attached Files

+ 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. Replies: 2
    Last Post: 01-04-2016, 03:40 AM
  2. VBA to filter on most recent date
    By kenadams378 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-15-2014, 10:00 AM
  3. MOS exam 77-888
    By J-Ry in forum Excel General
    Replies: 2
    Last Post: 04-25-2014, 06:52 PM
  4. [SOLVED] How to filter a list to display most recent date only?
    By owend168 in forum Excel General
    Replies: 3
    Last Post: 11-01-2012, 11:31 AM
  5. Replies: 2
    Last Post: 08-09-2012, 03:13 PM
  6. Filter on date and show most recent
    By NMullis in forum Excel General
    Replies: 1
    Last Post: 03-10-2010, 12:51 PM
  7. MOS Exam
    By Louise in forum Excel General
    Replies: 5
    Last Post: 12-09-2005, 12:45 PM

Tags for this Thread

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