+ Reply to Thread
Results 1 to 3 of 3

Need to find Patients who have not returned for yearly Follow up SQL

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

    Need to find Patients who have not returned for yearly Follow up SQL

    I have data exported from a SQL database of patient exam dates. We need to find patients who have had exams in 2016 but have not returned for exams in 2017.
    Each entry for an exam contains patient name and the exam date.
    Please and THank you
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Need to find Patients who have not returned for yearly Follow up SQL

    Try this:

    =IFERROR(INDEX(Table1[PATIENTNAME],SMALL(IF(COUNTIFS(Table1[PATIENTNAME],Table1[PATIENTNAME],Table1[SCHEDULEDATE],">12/31/2016")=0,ROW(Table1[PATIENTNAME])-(ROW(A$2)-1)),ROWS(A$1:A1))),"") Ctrl Shift Enter

    Drag down as far as needed.
    Last edited by 63falcondude; 11-28-2017 at 11:55 AM.

  3. #3
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: Need to find Patients who have not returned for yearly Follow up SQL

    .
    Paste in C2 and drag down :

    Please Login or Register  to view this content.
    NOTE: Replace the dash between 365 and TODAY with the "less than symbol". This forum won't let you post anything with the "less than symbol".

+ 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. Find value follow a conditional
    By ninhmoon in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-02-2017, 02:51 PM
  2. [SOLVED] How to find yearly dates for weekdays
    By ImranBhatti in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-07-2017, 04:54 AM
  3. How can I find value follow array
    By thaimic in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-13-2016, 03:32 AM
  4. [SOLVED] Formula to find number of patients in ward at certain time of day from date range
    By dashet in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-24-2016, 02:24 PM
  5. find and index follow 2 conditions
    By ninhmoon in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-01-2015, 06:42 AM
  6. want to find a template for managing customer follow-up
    By Ed Maurina in forum Excel General
    Replies: 1
    Last Post: 01-05-2013, 06:19 PM
  7. how to find returns for lump sum & yearly investments
    By jackoat in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 09-06-2005, 09:05 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