Results 1 to 5 of 5
  1. #1
    New Lounger
    Join Date
    Oct 2008
    Location
    Bury St Edmunds
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hiya!

    I have a function/formula that i just cant work out. To someone this will probably be very easy!! I need to find out if a patient has been seen within 4 hours of admission time. Not quite as simple as it seems as its 4 hours from admission date and time to date and time of admission onto the stroke unit. i know its a combination of AND statements but i just cant get my head around it.

    Would someone mind ever so, having a quick look at the attached...i have hopefully explained it properly!!

    Thanks in anticipation!!


    kirsty
    Attached Files Attached Files

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    I hope that the filename is not predictive!

    You could enter this formula in F3 and fill down:

    =IF(D3="N/A","Unknown",D3+E3-B3-C3<TIME(4,0,0))

  3. #3
    New Lounger
    Join Date
    Oct 2008
    Location
    Bury St Edmunds
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Heheheh...everytime i come on here i only ever get you Hans so subconciously i must have thought of you as the only person on here!!

    Thanks that worked a treat, but could i change True and False for YES and NOs if poss....

    Many thanks for your speedy response as usual!!

    Regards

    Kirsty

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    You can change the formula to

    =IF(D3="N/A","Unknown",IF(D3+E3-B3-C3<TIME(4,0,0),"Yes","No"))

  5. #5
    New Lounger
    Join Date
    Oct 2008
    Location
    Bury St Edmunds
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Brilliant...thanks ever so Hans.....as ever saved my life.....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •