+ Reply to Thread
Results 1 to 6 of 6

Help with room availability with several types of services with times

  1. #1
    Registered User
    Join Date
    01-29-2015
    Location
    Australia
    MS-Off Ver
    2008
    Posts
    4

    Help with room availability with several types of services with times

    I need to work out the availability for each service in a particular room if its is assigned to that room given that the total occupants do not exceed the total capacity of the room. Please see attached. Help will be most appreciated. Cheers!

    excel help.png

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,062

    Re: Help with room availability with several types of services with times

    You're better off posting a spreadsheet.
    Posting a picture means everyone trying to help you solve this has to retype your data to test their solution.
    Post a spreadsheet, you'll get a quicker response.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    01-29-2015
    Location
    Australia
    MS-Off Ver
    2008
    Posts
    4

    Re: Help with room availability with several types of services with times

    Thanks Special-K. Here is the excel file:
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,841

    Re: Help with room availability with several types of services with times

    If you could add some samples with numbers, inputs and expected outputs, it will be easier to understand.
    Last edited by Jacc; 01-31-2015 at 06:50 PM.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  5. #5
    Registered User
    Join Date
    01-29-2015
    Location
    Australia
    MS-Off Ver
    2008
    Posts
    4

    Re: Help with room availability with several types of services with times

    Thanks Jacc,

    I'll try to explain it better.

    Each room has one or multiple services assigned to it.
    Each service has a fixed time.
    Each person that goes to that room will belong to the service assigned to the room.
    Each room has a total capacity.

    The aim is to work out the availability of the room for a certain service.
    Given the total capacity is not exceeded, the services can co exist (or people from several services can be present in that room at the same time).

    If service 1 is allowed from 9 am to 5 pm.
    Service 2 from 7 am to 10 am
    Service 3 from 4 pm to 6 pm.

    Room one is allowed Service 1,2 and 3 and the capacity is 10

    Now there are 3 people from Service 1,
    4 people from service 2 and
    2 people from service 3 already present, the availability will be:

    Service 1 : 1
    Service 2 : 1
    Service 3 : 1

    Now there are
    3 people from Service 1,
    3 people from service 2 and
    2 people from service 3 already present, the availability will be:

    Service 1 : 3
    Service 2 : 3
    Service 3 : 3

    Now there are
    4 people from Service 1,
    6 people from service 2 and
    2 people from service 3 already present, the availability will be:

    Service 1 : 0
    Service 2 : 0
    Service 3 : 2

    (this is because service 1 and 2 overlap 7 am to 9 am and there can only be 10 as per the capacity)

    Please let me know if that is better. Thanks in advance m8!

  6. #6
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,841

    Re: Help with room availability with several types of services with times

    It's even better if you put several sample data in your sheet and the expected results.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. If a search term can be found 1 time, 2 times 3 times 4 times 5 times
    By excelcandy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-10-2013, 09:57 PM
  2. Sending complex types in Soap Web Services Request
    By johannvivot in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-18-2012, 02:58 PM
  3. Replies: 1
    Last Post: 06-16-2006, 01:45 PM
  4. Replies: 1
    Last Post: 04-09-2006, 05:25 PM
  5. [SOLVED] VBA Availability?
    By Paul Fenton in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-03-2006, 09:50 AM

Tags for this Thread

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