+ Reply to Thread
Results 1 to 6 of 6

Booking Calender - Lookup multiple bookings across date ranges for

  1. #1
    Registered User
    Join Date
    04-12-2017
    Location
    England
    MS-Off Ver
    Professional Plus 2010
    Posts
    2

    Booking Calender - Lookup multiple bookings across date ranges for

    Hi,

    I'm trying to create a booking calendar in excel (attached), but having issues when I have bookings for different demos on the same date, it only shows as one demo booked out at a time.

    So the front tab is the calendar, which looks up bookings from the booking form tab, and on there you will see multiple bookings for different demos and date ranges. Where date ranges overlap each other on the different demos, only one of the bookings appear on the calendar tab. I need to find a way to show all bookings on the calendar tab, so asking for advise as to how I can tweak my formulas to do so.

    Can somebody please review and advise? Hoping this will be a simple task for someone as it's driving me crazy trying to fix this!

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,898

    Re: Booking Calender - Lookup multiple bookings across date ranges for

    Welcome to the forum!

    I can see what the issue is: because your formula is looking for the LAST matching item in the array, it finds Material 5, which is the LAST item on your bookings list that has 15 April as its start date, so it will never return Material 14, which is before it in the list. I'm just trying to think of a way round this.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: Booking Calender - Lookup multiple bookings across date ranges for

    I would suggest that in your Booking Form sheet you generate another table which expands those date ranges into individual days (automatically), and then the formulae in the Calendar sheet would become a lot simpler and could cope with overlapping ranges. Would you need any help in setting it up this way?

    Hope this helps.

    Pete

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: Booking Calender - Lookup multiple bookings across date ranges for

    Ah well, I went ahead and did it anyway after a cup of coffee - see attached file.

    If you need any explanations of any of the formulae please feel free to post back.

    Hope this helps.

    Pete
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-12-2017
    Location
    England
    MS-Off Ver
    Professional Plus 2010
    Posts
    2

    Re: Booking Calender - Lookup multiple bookings across date ranges for

    Pete, that has done the trick! I have copied this over to my master file, and it is working like a dream.

    Thank you for your super quick support and assistance on this! This has saved me a lot of stress!

    Also, thanks to Ali for also trying to help me on my issue.

    PROBLEM SOLVED!

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: Booking Calender - Lookup multiple bookings across date ranges for

    Glad to help.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. turn Calender into booking calander
    By Wornout8 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-31-2017, 09:21 PM
  2. Totalling up Booking calender hours.
    By Colin_K in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-14-2014, 04:09 PM
  3. Replies: 0
    Last Post: 01-31-2014, 01:09 PM
  4. How do i auto-populate a bookings sheet using date references
    By john dalton in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-02-2013, 05:25 AM
  5. Lookup Function Between Multiple Date Ranges
    By nelobynature in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-20-2013, 04:56 PM
  6. Replies: 1
    Last Post: 08-23-2013, 06:24 AM
  7. Replies: 1
    Last Post: 12-21-2012, 04:18 AM

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