+ Reply to Thread
Results 1 to 9 of 9

Working out capacity between two dates?

  1. #1
    Registered User
    Join Date
    02-06-2012
    Location
    england
    MS-Off Ver
    10
    Posts
    5

    Working out capacity between two dates?

    Hi, I know access would be a better option but i need to try and do this in excel. I'm trying to create a very basic booking sheet which will work out capacity for my kennels on each night. My columns will be Surname, Pets Name, Arrival Date and Departure Date. On another sheet I will have all my columns dated 1st, 2nd 3rd etc to create the days in a month.
    Is there anyway excel will calculate nightly capacity from the two dates on each line i.e. Arrival and departure date and enter it into my calendar?
    My knowledge of excel is fairly basic so apologies if I've asked any daft questions!

    Many thanks

  2. #2
    Registered User
    Join Date
    02-06-2012
    Location
    england
    MS-Off Ver
    10
    Posts
    5

    Re: Working out capacity between two dates?

    Can anybody help?????

  3. #3
    Registered User
    Join Date
    01-12-2011
    Location
    Victoria, BC
    MS-Off Ver
    Excel 2003
    Posts
    42

    Re: Working out capacity between two dates?

    Can you put up an example of your worksheet and i can better help you....
    Should not be difficult, but easier to give you an explantion if i can see better what you are talking about.

  4. #4
    Registered User
    Join Date
    02-06-2012
    Location
    england
    MS-Off Ver
    10
    Posts
    5

    Re: Working out capacity between two dates?

    My columns would be:

    Column A Column B Column C Column D Column E
    Surname Pet Arrival Date Departure Date Number of nights

    If I then had a sheet with columns 1 - 30/31 for the dates of the month could excel calculate the capacity on each night using the data in columns C & D above?

    Sorry i can't put a worksheet up for you but hope this will do.
    Thanks for looking at this for me.

  5. #5
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Working out capacity between two dates?

    Hi
    Do you have Excel 2010? If so you can use countifs to count the number of bookings on or between 2 dates and put them into a table as you describe with days across columns and months in rows.

  6. #6
    Registered User
    Join Date
    02-06-2012
    Location
    england
    MS-Off Ver
    10
    Posts
    5

    Re: Working out capacity between two dates?

    So if i have two dates i.e. 02/03/12 and 05/02/12 how would i use the countifs formula to tell me the capacity on the 1st, 2nd 3rd etc?

    I can get it to count 02/03/12 and 05/03/12 but not the dates in between?
    Last edited by kennelman; 02-09-2012 at 12:55 PM.

  7. #7
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Working out capacity between two dates?

    Hello
    I've put together an example file for you to look at. See if this is what you're looking for. You'll get some idea from the formulas.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    02-06-2012
    Location
    england
    MS-Off Ver
    10
    Posts
    5

    Re: Working out capacity between two dates?

    OMG Thank you so much DBY, I've been struggling with this for weeks. I really can't thank you enough. Looking at that formula I don't think I would of ever made it! I'm going to see if I can add nightly cost's to it and then produce a turnover report like the calander.

  9. #9
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Working out capacity between two dates?

    For costing and turnover, you should use SUMIFS or SUMPRODUCT, in the same way of count night.
    Quang PT

  10. #10
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Working out capacity between two dates?

    Hello
    You're welcome. As bebo021999 says, you'll have to use other functions and formulas for summing values. Any problems come back.
    Regards DBY

+ 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