+ Reply to Thread
Results 1 to 12 of 12

Filter Birthdays onto Dynamic Calendar

  1. #1
    Registered User
    Join Date
    01-27-2023
    Location
    Dallas, TX
    MS-Off Ver
    Office 365
    Posts
    11

    Filter Birthdays onto Dynamic Calendar

    Not sure how to go about this but I'm using a generic Microsoft Calendar template and have a list of names and date of births. What I'd like to do is have a filtered list on each calendar tab that will move with date changes and show the clients name and age on each tab and work as a birthday tracker. I've attached an example to help show what I'm doing. It should be pretty straightforward but let me know if you have any questions about what I'm trying to do.

    Additionally, this is optional but I'd be incredibly grateful if someone could assist with it now but I'll eventually be adding more dated info in the future. If you know how to stack different filtered lists into one combined list that would be great. The info isn't tied to the DOB or anything else but like a regular calendar, it just get's added to the specific date.

    Any help is appreciated!
    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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,015

    Re: Filter Birthdays onto Dynamic Calendar

    B4:

    =LET(s,SEQUENCE(1,7,CHOOSE(WEEKDAY(DATE(YearToDisplay,MONTH(DATEVALUE(MonthToDisplay&" 1")),1)),1,0,-1,-2,-3,-4,-5))+IF(DayToStart="MONDAY",1,0),IF(s<1,"",s))

    B10 and copy to other date rows:

    =LET(s,SEQUENCE(1,7,H4+1,1),IF(s>DAY(EOMONTH(DATE(YearToDisplay,MONTH(DATEVALUE(MonthToDisplay&" 1")),1),0)),"",s))

    B5 and copy to other detail cells:

    =IFERROR(LET(f,FILTER('CURRENT TRST DSK ACCTS'!$B$5:$K$9,(MONTH('CURRENT TRST DSK ACCTS'!$J$5:$J$9)=MONTH(DATEVALUE(MonthToDisplay&" 1")))*(DAY('CURRENT TRST DSK ACCTS'!$J$5:$J$9)=Calendar!B4)),
    INDEX(f,,1)&" - AGE "&INDEX(f,,10)),"")

    You need to be more specific about how you want other details to appear. It's possible, but rows in these calendar 'cells' cannot increase. You might want to consider having the fully detailed list appear to the right of the calendar for either TODAY() or the whole month, as space in the 'cells' is limited.
    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 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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,015

    Re: Filter Birthdays onto Dynamic Calendar

    You could create a list on the side like this:

    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,015

    Re: Filter Birthdays onto Dynamic Calendar

    You might need an error trap for this:

    =IFERROR(LET(s,SEQUENCE(1,7,H4+1,1),IF(s>DAY(EOMONTH(DATE(YearToDisplay,MONTH(DATEVALUE(MonthToDisplay&" 1")),1),0)),"",s)),"")

  5. #5
    Registered User
    Join Date
    01-27-2023
    Location
    Dallas, TX
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Filter Birthdays onto Dynamic Calendar

    Thanks, after thinking about it and looking at both, the side list is probably best for the long term and easier to read/manage. Going off your formula I did some editing and added a second list based off the first for the bonus info. The only other thing if you could take a look again is if you select a different month like January or October the first day is cut off. This is easily fixed if you just set a different start day for the week but I wanted to see if you could look at it again potentially to help with that issue? I'm not familiar with how your formula works but I'll try and see if I can figure out how to fix it myself. Thanks again
    Attached Files Attached Files

  6. #6
    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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,015

    Re: Filter Birthdays onto Dynamic Calendar

    Change B4 to this:

    =IFERROR(LET(s,SEQUENCE(1,7,CHOOSE(WEEKDAY(DATE(YearToDisplay,MONTH(DATEVALUE(MonthToDisplay&" 1")),1),2),1,0,-1,-2,-3,-4,-5)),IF(s<1,"",s)),"")

    I have not tested thoroughly, but you should find it works. However, it won't work if you change the starting day of the week - are you likely to want to do this? If so, I'll have to factor that in for you.

  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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,015

    Re: Filter Birthdays onto Dynamic Calendar

    I think I have fixed it so that you can change the start day to whatever you want. I have tested it, but not for every single combination, so let me know if you find it fails at any point:

    =LET(d,DATE(YearToDisplay,MONTH(DATEVALUE(MonthToDisplay&" 1")),1),IF(WEEKDAY(d,1)>=WEEKDAY(B3,1),SEQUENCE(1,7,d-IF(d=B3,0,CHOOSE(WEEKDAY(B3,1),6,5,4,3,2,1,0))),SEQUENCE(1,7,d-IF(d=B3,0,CHOOSE(WEEKDAY(B3,1),6,5,4,3,2,1,0))-1)))

    I have added some CF to the top row of day numbers.
    Attached Files Attached Files

  8. #8
    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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,015

    Re: Filter Birthdays onto Dynamic Calendar

    And B10 needs to be:

    =IFERROR(LET(s,SEQUENCE(1,7,DAY(H4)+1,1),IF(s>DAY(EOMONTH(DATE(YearToDisplay,MONTH(DATEVALUE(MonthToDisplay&" 1")),1),0)),"",s)),"")

  9. #9
    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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,015

    Re: Filter Birthdays onto Dynamic Calendar

    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 all those who offered help.

  10. #10
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Filter Birthdays onto Dynamic Calendar

    Another solution:

    Don't change B4, B11, B18, B25, B32 and B39. This remains as it was: {Index,calendar,ndx+0}, {Index,calendar,ndx+1}, and so on

    And try in B5 and copy to C5:H5, B12:H12, B19:H19, B26:H26, B33:H33 and B39:H39:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by HansDouwe; 07-20-2023 at 08:31 AM.

  11. #11
    Registered User
    Join Date
    01-27-2023
    Location
    Dallas, TX
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Filter Birthdays onto Dynamic Calendar

    Thanks everyone, I was able to look at it again and it seems the best option was a mix of the two solutions. Thanks for your help!

  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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,015

    Re: Filter Birthdays onto Dynamic 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.

+ 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. Replies: 4
    Last Post: 03-21-2023, 05:54 AM
  2. [SOLVED] Dynamic Calendar does not change
    By firefly10 in forum Excel General
    Replies: 3
    Last Post: 07-18-2021, 03:51 AM
  3. Calendar Dynamic
    By makispatos in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-15-2021, 02:25 PM
  4. [SOLVED] List All Birthdays and Anniversaries in Calendar Months From Events Sheet
    By ynab in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-16-2020, 06:41 AM
  5. Dynamic Calendar
    By Keelin in forum Excel General
    Replies: 0
    Last Post: 08-12-2016, 12:32 AM
  6. [SOLVED] Calendar to identify birthdays
    By David HK in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 02-27-2013, 01:05 PM
  7. Make a Calendar with noted Birthdays, etc...
    By Mark53 in forum Excel General
    Replies: 8
    Last Post: 01-10-2011, 10:33 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