+ Reply to Thread
Results 1 to 5 of 5

Counting cumulative occupancy based on arrival date and length of stay

  1. #1
    Registered User
    Join Date
    09-09-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    5

    Counting cumulative occupancy based on arrival date and length of stay

    I need to work out the number of rooms occupied per day; the information I have is the date a person arrives and how long they stay. I suppose possibly it could be done by adding 1 to the daily total for a number of days equal to their length of stay? Really I have no idea how to do it!
    So far I've been doing it with a chart, with 'room number' in the rows and 'date' in the columns - so if a person comes in on day 1 for 5 days I mark 5 cell in a row, then if a person comes in on day 2 for 10 days I mark 10 cells in the next row. Then I simply use COUNTA in the column to work out the total.
    Can anyone either think of a way to automate the 'chart' method, or preferably some kind of formula to just give the numbers!

    Thanks,

    Harvey
    Last edited by HarveyDickinson; 09-10-2009 at 07:53 AM. Reason: Mod warning

  2. #2
    Registered User
    Join Date
    09-09-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Counting cumulative occupancy based on arrival date and length of stay

    Sorry! I changed it, is that better?

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Counting cumulative occupancy based on arrival date and length of stay

    Thx for changing.The aim is to give users the possibility to search on keywords, which are usually terms used in XL (array, sum, etc...)
    Anyway, thx for the effort

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Counting cumulative occupancy based on arrival date and length of stay

    To make things easier, could you post a small sample of your data, AND what you are trying to achieve ? Thx

  5. #5
    Registered User
    Join Date
    09-09-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Counting cumulative occupancy based on arrival date and length of stay

    Ok...this is the first week's data that I have.
    Each cell represents a person, while the number in each box represents their length of stay. I want to calculate the rooms occupied each day.
    Clearly on 1st April the number of rooms occupied is 23 - the same as the number of people coming. On 2nd April however, new people come in and some people from the previous day leave. 15 people (all those with length of stay more than 1) will still be in a room from the previous day, plus all admissions on the 2nd.
    Does that make sense?
    Attached Files Attached Files

+ 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