+ Reply to Thread
Results 1 to 8 of 8

Formula count occurences in a specific time period

Hybrid View

  1. #1
    Registered User
    Join Date
    10-26-2009
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    4

    Question Formula count occurences in a specific time period

    Hi,

    I am near enough ignorant about excel (and not much better with computers in general) and was hoping someone would be kind enough to help me. Obviously if this has been answered before - apologies for wasting time and a reply with a link would be appreciated.

    I am a nurse trying to show how many patients were in our post anaesthetic care unit (PACU) during a specific time

    I've got an into PACU time / Out of PACU time, I have managed to get a difference for which I can use when I'm looking at length of stay - but I need a formula to calculate how many patients were in PACU during a set period of time i.e. i.e. 08.00 - 09.00, 09.01 - 10.00, 10.01 - 11.00 and so on .....

    This is the data I have

    Hospital Number / Date / Theatre / Hour / Time into PACU / Time Out of PACU

    Any help / info / formulas would be greatly appreciated - obviously in very simple terms considering my low computer IQ

    Thanks
    Sarah
    Last edited by sarahmad; 10-26-2009 at 01:44 PM. Reason: Forum fairy told me to

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Formula help need to count number of occurences in specific time slot

    Do you want to count partial hours or full hours only (i.e., if a patient checks out at 9:20, do you count them as having been there during the 9:01-10:00 hour?)

  3. #3
    Registered User
    Join Date
    10-26-2009
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Formula help need to count number of occurences in specific time slot

    Yes I think full hours is ok

    I'm trying to do like with like - i.e. staffing vs patient activity - and staff data has been calculated in that way already

    Also I don't mind counting it that way as the actual raw data does not take into account time to waiting for porters when taking patients back to ward nor does it take into account the time for the nurse to take the patient back give handover and return (can be from 15 mins - 30 mins)

    Could you tell me both for future reference ?

    Regards


    Quote Originally Posted by darkyam View Post
    Do you want to count partial hours or full hours only (i.e., if a patient checks out at 9:20, do you count them as having been there during the 9:01-10:00 hour?)

  4. #4
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Formula help need to count number of occurences in specific time slot

    Will anyone be there for more than 24 hours? If so, you'll need a date out column, too. If not, I think this will work.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-26-2009
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Formula help need to count number of occurences in specific time slot

    Yes but only 2 or 3 - I've have them highlighted already - so I can count and add them in manually (very techical) - otherwise I can add a date out column if needed for the formula,

    many thanks

  6. #6
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Formula help need to count number of occurences in specific time slot

    That makes the formula a little easier, actually. I added a date out column. Manual addition would be necessary with the previous spreadsheet. This one should work with all instances (I think).
    Attached Files Attached Files

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Formula help need to count number of occurences in specific time slot

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  8. #8
    Registered User
    Join Date
    10-26-2009
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Formula help need to count number of occurences in specific time slot

    Darkyam -

    Many thanks for you help and patience - its appreciated. I'm having a go at it now - fingers crossed I'll get it ! I see the forum fairy has left have issued me a warning - oh err.....


    royUK -

    I apologise if the heading is vague - I thought it was ok, but then I'm a novice. I'll have a go a changing it - if you have a go at making the new members fell welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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