Results 1 to 1 of 1

Match assessment time with medication administration

Threaded View

  1. #1
    Registered User
    Join Date
    03-25-2014
    Location
    Dallas
    MS-Off Ver
    Excel 2003
    Posts
    1

    Match assessment time with medication administration

    Hello all, First time posting after learning quite a bit from the site, for that, thanks a bunch. My current issue is using index and match, while I normally get the result I'm after, all of a sudden I've hit a spot of bother with trying to match two criteria while trying to get a time closest to the administration time. Here is an example of what Ive done so far.
    PATIENT NAME      ADMINISTRATION   DRUG GIVEN
    JONES, RICHARD    4/1/15 0:01      oxyCODONE
    THOMAS, ROBBIE    4/1/15 0:26      HYDROcodone-acetaminophen  5-325 mg
    SMITH, PAUL       4/1/15 1:47      morphine inj
    ROSS, LYDIA       4/1/15 0:30      HYDROcodone-acetaminophen  5-325 mg
    JACKSON, JOSEPH   4/1/15 1:54      HYDROmorphone inj
    DUMAS, ALEJANDRO  4/1/15 2:30      HYDROcodone-acetaminophen  5-325 mg
    On another sheet I have a similar list, but it contains all the assessment times
    JONES, RICHARD      4/1/15 0:01	awake and alert (1)
    WAYNE, GARY 	    4/1/15 0:10	slightly drowsy, easily aroused (2)
    THOMAS, ROBBIE	    4/1/15 0:20	awake and alert (1)
    JOHNSON JR, JACK    4/1/15 0:25	sleep, easy to arouse (S)
    RUTH, VICKIE        4/1/15 1:00	sleep, easy to arouse (S)
    DEAR, SHARON        4/1/15 1:00	sleep, easy to arouse (S)
    JONES, RICHARD      4/1/15 1:01	slightly drowsy, easily aroused (2)
    THOMAS, ROBBIE      4/1/15 1:38	sleep, easy to arouse (S)
    So on the main sheet of the excel file, I've listed all the medication administrations with the nurses, and I"m trying to match up the closest assesment times to see if the assessments were done in a timely manner if at all. this is what I have so far...

    =INDEX(Assessment!$H$2:$H$6951, MATCH(MIN(IF("*"&Dashboard!$D3&"*"=Assessment!$C$2:$C$6951, ABS(Dashboard!E33-Assessment!$H$2:$H$6951))), IF("*"&Dashboard!$D3&"*"=Assessment!$C$2:$C$6951, ABS(Dashboard!$E$3-Assessment!$H$2:$H$6951)), 0), 1)

    The dashboard pulls all the administration times, and this is where I'm trying to match all the different assessment times....The wildcards were a last stitch error to try and correct the N/A error I kept getting.

    Hope this helps
    Attached Files Attached Files
    Last edited by JBeaucaire; 06-15-2015 at 10:05 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Charting Medication date and time
    By lstator in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2015, 08:04 AM
  2. Replies: 4
    Last Post: 12-01-2012, 09:37 AM
  3. Help with printing on administration template
    By janernevis in forum Excel General
    Replies: 3
    Last Post: 05-11-2011, 06:33 AM
  4. [SOLVED] administration tool
    By Arne Hegefors in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-02-2006, 09:40 AM
  5. [SOLVED] is there freeware for administration of my home office?
    By pjotrus in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-19-2006, 11:40 AM

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