+ Reply to Thread
Results 1 to 33 of 33

Conference Room Calendar

  1. #1
    Registered User
    Join Date
    12-11-2019
    Location
    Philippines
    MS-Off Ver
    MS 365
    Posts
    19

    Conference Room Calendar

    Hi everyone!

    I am trying to make an Excel conference Room Scheduling calendar. I can now get the reservation details from the other sheet. Still, my problem is I can't make it sorted based on the starting time automatically regardless of the chronological order on the reservation sheet.

    here's the formula I got from a forum that also worked for me to get the reservation details into the Calendar.

    =IFERROR(INDEX("� "&Scheduler!$C$9:$C$17&" "&TEXT(Scheduler!$E$9:$E$17,"hh:mmAM/PM")&" to "&TEXT(Scheduler!$F$9:$F$17,"hh:mmAM/PM")&" - "&Scheduler!$G$9:$G$17&" "&Scheduler!$H$9:$H$17,SMALL(IF(Scheduler!$D$9:$D$17=Calendar!$H$9,ROW(Scheduler!$D$9:$D$17)-MIN(ROW(Scheduler!$D$9:$D$17))+1,""),ROW($A$1))),"")

    I hope someone can help me.


    TIA!

    Screenshot 2024-02-06 161700.pngScreenshot 2024-02-06 161726.png

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello care29,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    12-11-2019
    Location
    Philippines
    MS-Off Ver
    MS 365
    Posts
    19

    Re: Conference Room Calendar

    Hi!

    Just an update, I changed my formula from index match to Sort and Filter instead. Though it is working now, I have a minor problem. The filter gets the first scheduled line regardless of the time instead of the supposedly earliest time. To be exact, it's taking 1PM and later first than morning time until 12PM.

    Here's the formula now I am using. =SORT(UNIQUE(FILTER(("• "&Scheduler!$C$9:$C$54&" "&TEXT(Scheduler!$E$9:$E$54,"hh:mmAM/PM")&" to "&TEXT(Scheduler!$F$9:$F$54,"hh:mmAM/PM")&" - "&Scheduler!$G$9:$G$54&" "&Scheduler!$H$9:$H$54),Scheduler!$D$9:$D$54=F9,"")))

    Attachment 858827Attachment 858828
    Last edited by care29; 02-08-2024 at 01:22 AM.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,568

    Re: Conference Room Calendar

    Selecting either Attachment 858827 or Attachment 858828 results in the following message: "Invalid Attachment specified. If you followed a valid link, please notify the administrator".
    Information on attachments is given in the "HOW TO ATTACH YOUR SAMPLE WORKBOOK" banner at the top of the page.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Conference Room Calendar

    If you are using UNIQUE and FILTER that means your profile is outdated, please update it for us to give you the best solution.

    Join Date: 12-11-2019
    Location: Philippines
    MS-Off Ver: Version 10
    Posts: 2

  6. #6
    Registered User
    Join Date
    12-11-2019
    Location
    Philippines
    MS-Off Ver
    MS 365
    Posts
    19

    Re: Conference Room Calendar


  7. #7
    Registered User
    Join Date
    12-11-2019
    Location
    Philippines
    MS-Off Ver
    MS 365
    Posts
    19

    Re: Conference Room Calendar

    How do you mean outdated? I removed the unique function also.

  8. #8
    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,916

    Re: Conference Room Calendar

    1. Attach a sample WORKBOOK, not a screenshot.
    2. Which version of Excel are you using? There is no Version 10.
    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.

  9. #9
    Registered User
    Join Date
    12-11-2019
    Location
    Philippines
    MS-Off Ver
    MS 365
    Posts
    19

    Re: Conference Room Calendar

    sorry, here you go. I'm using Office 365.
    Attached Files Attached Files

  10. #10
    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,916

    Re: Conference Room Calendar

    OK - then please update your forum profile NOW.

  11. #11
    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,916

    Re: Conference Room Calendar

    What is the problem with the attached workbook? In the workbook, you need to mock up manually the results that you want to see where you want to see them.

  12. #12
    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,916

    Re: Conference Room Calendar

    Try this:

    =LET(dt,$F$5:$F$14+$G$5:$G$14,s,SORTBY($E$5:$J$14,dt,1),f,FILTER(s,$F$5:$F$14=K18),"• "&INDEX(f,,1)&" "&TEXT(INDEX(f,,3),"hh:mmAM/PM")&" to "&TEXT(INDEX(f,,4),"hh:mmAM/PM")&" - "&INDEX(f,,5)&" "&INDEX(f,,6))

    And please update your forum profile ASAP.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    12-11-2019
    Location
    Philippines
    MS-Off Ver
    MS 365
    Posts
    19

    Re: Conference Room Calendar

    WoW! That's just great! How does Index(f,,#) work? I am now trying to implement your formula into my file but only getting • 12:00AM to 12:00AM result.

  14. #14
    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,916

    Re: Conference Room Calendar

    Provide a workbook showing the error. It works fine in your sample file ...

    f is the filtered and sorted range - INDEX(f,,1) is the first column of that range, INDEX(f,,2) is the second and so on.

  15. #15
    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,916

    Re: Conference Room Calendar

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  16. #16
    Registered User
    Join Date
    12-11-2019
    Location
    Philippines
    MS-Off Ver
    MS 365
    Posts
    19

    Re: Conference Room Calendar

    I understand now why it returned • 12:00AM to 12:00AM result. Because I included blank cells in the data range. Is there any workaround on how I can include my actual data range of C9:H54?

    I have updated my profile now btw.
    Attached Files Attached Files

  17. #17
    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,916

    Re: Conference Room Calendar

    Here you go:

    =LET(dt,Scheduler!$D$9:$D15+Scheduler!$E$9:$E15,s,SORTBY(Scheduler!$C$9:$H15,dt,1),ff,FILTER(s,Scheduler!$D$9:$D15=F9),f,FILTER(ff,INDEX(ff,,1)<>0),"• "&INDEX(f,,1)&" "&TEXT(INDEX(f,,3),"hh:mmAM/PM")&" to "&TEXT(INDEX(f,,4),"hh:mmAM/PM")&" - "&INDEX(f,,5)&" "&INDEX(f,,6))

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  18. #18
    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,916

    Re: Conference Room Calendar

    No response ... Are you happy with the tweak? Please sign off the thread as requested in my last post.

  19. #19
    Registered User
    Join Date
    12-11-2019
    Location
    Philippines
    MS-Off Ver
    MS 365
    Posts
    19

    Re: Conference Room Calendar

    Sorry. I'm still trying to understand your formula. Since I want to expand the date range to C9:H54 not just to row 15 and regardless if the cells are empty
    Last edited by care29; 02-12-2024 at 05:05 AM.

  20. #20
    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,916

    Re: Conference Room Calendar

    I fixed the empty cell issue in post #17.

    Since I want to expand the date range to C9:H54 not just to row 15
    What does this mean? Where have you shown this? Have you copied and pasted the formula? I can't fix what I can't see. You aren't communicated fully or clearly here. I can't read minds - sorry.

  21. #21
    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,916

    Re: Conference Room Calendar

    I have copied the formula for you, added a check for blank date cells and added an error trap.

  22. #22
    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,916

    Re: Conference Room Calendar

    In the attached, in column M onwards, I have shown what each of the formula sections that I have added do. I don't think I can be more explicit.

    Please have a look.

  23. #23
    Registered User
    Join Date
    12-11-2019
    Location
    Philippines
    MS-Off Ver
    MS 365
    Posts
    19

    Re: Conference Room Calendar

    This formula works well, =LET(dt,Scheduler!D9:D14+Scheduler!E9:E14,s,SORTBY(Scheduler!C9:H14,dt,1),f,FILTER(s,Scheduler!D9:D14=F9),"• "&INDEX(f,,1)&" "&TEXT(INDEX(f,,3),"hh:mmAM/PM")&" to "&TEXT(INDEX(f,,4),"hh:mmAM/PM")&" - "&INDEX(f,,5)&" "&INDEX(f,,6)) in reflecting the Schedules from the Scheduler Sheet into the Calendar Sheet. However, if I enter another schedule in Row 15 for the same date in the Scheduler Sheet, it will not be reflected in the Calendar Sheet as the formula is fixed to Row 14 only, hence I'm only getting a "• 12:00AM to 12:00AM" result error (Refer to the attached file Calendar Sheer). If you check the Booking table in the Scheduler Sheet, the table runs until Row 54 so I want the formula fixed until Row 54 for it to reflect the Booking data into the Calendar Sheet based on the Criteria Date.

    I hope you get what I mean and thank you for your patience.

    PS. I tweak the above formula to =LET(dt,Scheduler!D9:D54+Scheduler!E9:E54,s,SORTBY(Scheduler!C9:H54,dt,1),f,FILTER(s,Scheduler!D9:D54=F9),"• "&INDEX(f,,1)&" "&TEXT(INDEX(f,,3),"hh:mmAM/PM")&" to "&TEXT(INDEX(f,,4),"hh:mmAM/PM")&" - "&INDEX(f,,5)&" "&INDEX(f,,6)) that's why it's returning "• 12:00AM to 12:00AM", maybe due to the blank cells.
    Attached Files Attached Files
    Last edited by care29; 02-12-2024 at 06:08 AM.

  24. #24
    Registered User
    Join Date
    12-11-2019
    Location
    Philippines
    MS-Off Ver
    MS 365
    Posts
    19

    Re: Conference Room Calendar

    Also, I think there's something wrong with the formula =IFERROR(IF(F9="","",LET(dt,Scheduler!$D$9:$D$15+Scheduler!$E$9:$E$15,s,SORTBY(Scheduler!$C$9:$H$15,dt,1),ff,FILTER(s,Scheduler!$D$9:$D15=F9),f,FILTER(ff,INDEX(ff,,1)<>0),"• "&INDEX(f,,1)&" "&TEXT(INDEX(f,,3),"hh:mmAM/PM")&" to "&TEXT(INDEX(f,,4),"hh:mmAM/PM")&" - "&INDEX(f,,5)&" "&INDEX(f,,6))),"") as it's not reflecting all the Scheduled meetings for February 7 in the Calendar Sheet.
    Last edited by care29; 02-12-2024 at 06:08 AM.

  25. #25
    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,916

    Re: Conference Room Calendar

    Yes, it is: there are three meetings for 7 February and they are all there:

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    F
    10
    • R1 09:00AM to 10:00AM - RSPM MANCOM MEETING
    11
    • R1 01:30PM to 02:30PM - RSPM MANCOM MEETING
    12
    • R1 10:00AM to 11:00AM - RYR MEETING WITH THE POD
    Sheet: Calendar

    Once again, if you have a problem, then provide a workbook that shows it. If the range is going to be bigger than Scheduler!$C$9:$H15, then you need to extend the range accordingly, so wherever row 15 is stated in the formula, make it a much higher row to cover all eventualities.

  26. #26
    Registered User
    Join Date
    12-11-2019
    Location
    Philippines
    MS-Off Ver
    MS 365
    Posts
    19

    Re: Conference Room Calendar

    But there should be four meetings on February 7. 8:30 AM is not reflected in the Calendar Sheet. I also extend the range to Row 54 but I'm getting a blank result. Refer to the attached file. And if I remove the if error function, I will get a #CALC error.

  27. #27
    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,916

    Re: Conference Room Calendar

    Last attempt:

    =IFERROR(IF(D3="","",LET(x,FILTER(Scheduler!$B$9:$H$60,Scheduler!$B$9:$B$60<>"Vacant"),dt,INDEX(x,,4)+INDEX(x,,5),s,SORTBY(x,dt,1),ff,FILTER(s,INDEX(s,,3)=D3),f,FILTER(ff,INDEX(ff,,2)<>0),"• "&INDEX(f,,2)&" "&TEXT(INDEX(f,,4),"hh:mmAM/PM")&" to "&TEXT(INDEX(f,,5),"hh:mmAM/PM")&" - "&INDEX(f,,6)&" "&INDEX(f,,7))),"")

  28. #28
    Registered User
    Join Date
    12-11-2019
    Location
    Philippines
    MS-Off Ver
    MS 365
    Posts
    19

    Re: Conference Room Calendar

    WOW! FINALLY! Do you know how great you are?! Never in my life, I would come up with all the formulas you have provided... :D It's now 98% functioning as I wanted it to be! Thank you VERY MUCH!

  29. #29
    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,916

    Re: Conference Room Calendar

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  30. #30
    Registered User
    Join Date
    12-11-2019
    Location
    Philippines
    MS-Off Ver
    MS 365
    Posts
    19

    Re: Conference Room Calendar

    Will do. Thank you again!

  31. #31
    Registered User
    Join Date
    12-11-2019
    Location
    Philippines
    MS-Off Ver
    MS 365
    Posts
    19

    Re: Conference Room Calendar

    Hi! I'm sorry. I would just like to ask if have you tried it or will work if I make this a Google sheet?

  32. #32
    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,916

    Re: Conference Room Calendar

    I don't know. Why would I have tried that? Have you tried it?

    This is beyond the scope of this thread. If you need further help to convert it for GoogleSheets, then open a new thread in the Other Platforms forum section.

  33. #33
    Registered User
    Join Date
    12-11-2019
    Location
    Philippines
    MS-Off Ver
    MS 365
    Posts
    19

    Re: Conference Room Calendar

    Gotcha. Thanks!

+ 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. Conference Room
    By alex410 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-07-2023, 03:01 AM
  2. [SOLVED] If date matches and room matches, return room info in to cell
    By HonorBray in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-12-2018, 12:09 PM
  3. [SOLVED] How to Calculate Hotel room nights booked, for each night, and broken down by room type?
    By salsadantzr in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-09-2018, 04:53 PM
  4. Room Allotment:remove allotted room from dropdown list
    By amdrosm in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 05-05-2017, 04:50 AM
  5. Duplicate message alert with room booking form and calendar
    By chillz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-16-2017, 07:37 AM
  6. Converting tabular data into room-by-room
    By tomca in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-03-2016, 07:00 AM
  7. How many people were in my room?
    By jack6602 in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 07-25-2010, 01:16 PM

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