+ Reply to Thread
Results 1 to 14 of 14

Formulas for Other Events on Calendar

  1. #1
    Forum Contributor
    Join Date
    02-26-2023
    Location
    Lousianna
    MS-Off Ver
    Microsoft 365
    Posts
    1,271

    Formulas for Other Events on Calendar

    Hello,

    Is there a way to have up to 5 events listed on the calendar for each day with formulas?

    Thank you very much for your help
    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 (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,303

    Re: Formulas for Other Events on Calendar

    Try this:

    =IFERROR(FILTER(Events!$D$5:$D$41,Events!$G$5:$G$41=Calendar!K10),"")
    Attached Files Attached Files
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Formulas for Other Events on Calendar

    G5, copy pasted into the other cells below the day number:

    =IF(G4="","",IFERROR(FILTER(Table3[Special Occasions],Table3[Date]=Calendar!G4),""))

    I've done it for the first two weeks ONLY.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Contributor
    Join Date
    02-26-2023
    Location
    Lousianna
    MS-Off Ver
    Microsoft 365
    Posts
    1,271

    Re: Formulas for Other Events on Calendar

    Thank you both for your help. How do I have formulas in the other calendar cells?

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,303

    Re: Formulas for Other Events on Calendar

    What do you mean?

  6. #6
    Forum Contributor
    Join Date
    02-26-2023
    Location
    Lousianna
    MS-Off Ver
    Microsoft 365
    Posts
    1,271

    Re: Formulas for Other Events on Calendar

    I don't know how the filter works for the other cells in each day calendar region. I was able to copy each set of rows from Glenn's version to cover all of the calendar cells.

    I see how to copy the first formula but the other formulas for filtering get grayed out.
    Attached Files Attached Files

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,303

    Re: Formulas for Other Events on Calendar

    That's becase it's a SPILL formula and copies itself.

  8. #8
    Forum Contributor
    Join Date
    02-26-2023
    Location
    Lousianna
    MS-Off Ver
    Microsoft 365
    Posts
    1,271

    Re: Formulas for Other Events on Calendar

    How does the spill know how far to go? I am not familiar with how this works very sorry for being trouble.

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Formulas for Other Events on Calendar

    The spill formula resides ONLY in the cell in which it is entered. All the calculations are performed in a SINGLE cell. This makes them very efficient (normally..). However, if multiple results are returned the results spill down the column (in this case) or across columns (or both) depending on the data. They're greyed to remind you that they are not actually being GENERATED in that cell.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,303

    Re: Formulas for Other Events on Calendar

    It will go as far as there are items in the filter for that day. You said it would be up to 5: if there are 4, it will fill 4 rows, and so on.

  11. #11
    Forum Contributor
    Join Date
    02-26-2023
    Location
    Lousianna
    MS-Off Ver
    Microsoft 365
    Posts
    1,271

    Re: Formulas for Other Events on Calendar

    Oh okay I get it. Thank you both for the valuable education.

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,303

    Re: Formulas for Other Events on Calendar

    No worries - this is why they are called Dynamic Array formulae.

  13. #13
    Forum Contributor
    Join Date
    05-11-2022
    Location
    Singapore
    MS-Off Ver
    MS 365
    Posts
    164

    Re: Formulas for Other Events on Calendar

    @AliGW

    =IFERROR(FILTER(Events!$D$5:$D$41,Events!$G$5:$G$41=Calendar!K10),"")

    I tried the above it works, but it will appear ### when no date. How can i allow ### appearing?

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,303

    Re: Formulas for Other Events on Calendar

    Administrative Note:

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread

+ 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. Calendar With Events
    By KaylaP in forum Excel Tips
    Replies: 16
    Last Post: 04-02-2024, 05:20 AM
  2. Calendar With Events
    By KaylaP in forum Excel General
    Replies: 0
    Last Post: 06-28-2022, 02:06 PM
  3. [SOLVED] Formulas for Calendar Events
    By KaylaP in forum Excel General
    Replies: 2
    Last Post: 06-23-2022, 03:21 PM
  4. Calendar with auto-populating events (multiple events in a single date)
    By zankzank in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 02-20-2021, 09:41 AM
  5. [SOLVED] How to Add Events to Calendar
    By ynab in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-06-2020, 09:18 AM
  6. Replies: 4
    Last Post: 11-11-2019, 01:42 PM
  7. [SOLVED] Formulas to Enter Events in Calendar Sheets
    By xjohnson in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-19-2018, 05:20 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