+ Reply to Thread
Results 1 to 4 of 4

Count non-consecutive days as new occurence to be used in average

  1. #1
    Forum Contributor
    Join Date
    05-12-2009
    Location
    Hendersonville, TN
    MS-Off Ver
    Excel 2010
    Posts
    113

    Count non-consecutive days as new occurence to be used in average

    Hi All,

    I was asked to go through a utilization log from last year to find the average duration of service (Total number of service days per patient / Total number of patients). I was off to a great start and things were going well until I was informed that the folks requesting the data want non-consecutive days of service to be treated as a "new admit." Unfortunately, a "new admit" field was never thought of when the worksheet was made. So, based on the data I have available, I need to try and sort through the gaps in date of service and increase the patient count for every gap in a consecutive date range. I have a few thousand lines of data to file through and I was hoping someone may have a ready made solution or could possibly steer me down the correct path. I have a very basic, sample worksheet I am attaching. I also show the data as it is currently being calulated and what I would like it to be calculated as, if a solution can be found for the date gap issue.

    Thank you for your help and all you do for the forum.

    Patrick
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Count non-consecutive days as new occurence to be used in average

    What formulas did you use in B27 and B28?
    Please click the * icon below if I have helped.

  3. #3
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Count non-consecutive days as new occurence to be used in average

    If you put the following formula in D4 and drag down, you should be able to sum column D and get the # of patients:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    05-12-2009
    Location
    Hendersonville, TN
    MS-Off Ver
    Excel 2010
    Posts
    113

    Re: Count non-consecutive days as new occurence to be used in average

    Thank you very much Melvinrobb. Worked like a charm.


    Patrick

+ 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