+ Reply to Thread
Results 1 to 13 of 13

Populate Calendar View from Data Table

  1. #1
    Registered User
    Join Date
    07-25-2017
    Location
    Los Angeles, CA
    MS-Off Ver
    MS Office for Mac
    Posts
    7

    Populate Calendar View from Data Table

    Hello! I'm trying to populate the Master Calendar tab from the data table in the attached. Ideally, each "Event" (column B) will populate in the appropriate cell that matches the Topic (column A) and Date (column C) on the calendar tab. To complicate things further, I'd like to be able to input more than one Event in any given cell. Additionally (and here's where it gets really complicated), I'd like to be able to apply an overall filer of scale (column D) to the calendar view, so that if a scale of 3 is chosen, events only populate that are marked as a 3 or higher.

    Thank you for your help!!
    Attached Files Attached Files

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Populate Calendar View from Data Table

    Few questions.

    1) Your dates start from Aug (7/31/2017) and goes to July (7/30/2017) in "MASTER CULTURAL CALENDAR". Should Jan onward be 2018?

    2) What should happen if there's more event than that can reasonably be displayed in single cell?

    3) What happens if there is invalid date in "Master Input"? Ex: C2

    4) Dates in "MASTER CULTURAL CALENDAR", are they week beginning or ending? I.E. Is your week Sun-Sat or Mon-Sun?
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Registered User
    Join Date
    07-25-2017
    Location
    Los Angeles, CA
    MS-Off Ver
    MS Office for Mac
    Posts
    7

    Re: Populate Calendar View from Data Table

    Thanks so much for getting back to me! Answers below:


    1) Yes, Dates from January and on should be 2018!

    2) How many events is a reasonable limit to a singe cell? I'm ok with adding multiple rows to increase the number of events that can be entered within a topic row. I'm also hoping the scale filter will help with this, as events on a scale of 1 or 2 will be requested from the filter view less frequently.

    3) That date is an error, It should be 2017.

    4) The dates are week beginning (Mon-Sun), but I'm also ok with adding columns so that each day is listed vs. week-of, if that's easier.

    Thank you!

  4. #4
    Registered User
    Join Date
    07-25-2017
    Location
    Los Angeles, CA
    MS-Off Ver
    MS Office for Mac
    Posts
    7

    Re: Populate Calendar View from Data Table

    Hi There! I just wanted to check on this. Do you think the spreadsheet I'm looking for is doable? Thank you for your help!

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

    Re: Populate Calendar View from Data Table

    I've submitted a number of calendar files to this forum over the years - here's a link to a thread from a few months ago:

    https://www.excelforum.com/excel-gen...-projects.html

    You will see that it is purely formula-driven (i.e. no macros) and allows your to enter activities or events with date ranges, which then are automatically expanded to individual days. On the Calendar sheet you can select a particular year and month from drop-downs, and up to 10 events per day can be viewed.

    Hope this helps.

    Pete

  6. #6
    Registered User
    Join Date
    07-25-2017
    Location
    Los Angeles, CA
    MS-Off Ver
    MS Office for Mac
    Posts
    7

    Re: Populate Calendar View from Data Table

    Thanks Pete! I was actually reading through that thread before submitting this one. Ultimately, I'm looking for something a little different, as there are 2 key elements missing from the project calendar you created - the first is the filter of topic or category. Rather than just filing each calendar input in an overall calendar, I'd like them to be entered within their respective topics. The second is the concept of scale - Not all events are created equal and I'd like to spreadsheet to be filterable, so that the user can customize their view by level of importance.

    Thanks so much for your help!

    Alli

  7. #7
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Populate Calendar View from Data Table

    Sorry, been a bit busy at work/personal life and haven't had much time to check the forums.

    It definitely could be done. Just not through usual methods with your "one cell" approach.

    I should have bit of time later this week, if you haven't got solution by then.

  8. #8
    Registered User
    Join Date
    07-25-2017
    Location
    Los Angeles, CA
    MS-Off Ver
    MS Office for Mac
    Posts
    7

    Re: Populate Calendar View from Data Table

    Thank you so much! If you have the time and don't mind doing it, I really appreciate it! I completely understand, though, if you don't have the bandwidth! Thanks, Alli

  9. #9
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Populate Calendar View from Data Table

    Hmm, one issue I found.

    Displaying multiple lines in a single cell will require word wrap to be turned on.
    This results in single event being broken into multiple line if event string is longer than what can be fit in cell/column width.

    How do you want to treat this?
    1. Adjust column width to longest event string (will be consistent, but will have unnecessary white space)
    2. Auto-Adjust column width to fit content (each column size will differ)

    Other than that, I've got the base code.
    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    07-25-2017
    Location
    Los Angeles, CA
    MS-Off Ver
    MS Office for Mac
    Posts
    7

    Re: Populate Calendar View from Data Table

    You are my hero! Let's go with auto-adjust. Thanks!!

  11. #11
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Populate Calendar View from Data Table

    Ok, try the code below. Sample attached.
    FYI - to make data appear for the demo, I changed majority of events to 2018.
    Please Login or Register  to view this content.
    If you leave A3 blank or enter 0 there, it will show all events. Otherwise, if you enter 1 ~ 5, it will filter for that scale.
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    07-25-2017
    Location
    Los Angeles, CA
    MS-Off Ver
    MS Office for Mac
    Posts
    7

    Re: Populate Calendar View from Data Table

    Thank you SO much!!! Have a wonderful day!

  13. #13
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Populate Calendar View from Data Table

    You are welcome If this solved your issue, please mark the thread as solved, using thread tool found at top of your initial post.

+ 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. Populate a calendar from a table
    By jfk1400ny in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-31-2016, 09:46 AM
  2. Replies: 1
    Last Post: 03-09-2016, 06:39 AM
  3. [SOLVED] Populate a calendar from a table
    By Gerard.GRC in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 07-05-2015, 11:53 PM
  4. Populate monthly calendar with table
    By Marco-Kun in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 08-08-2014, 04:18 AM
  5. Auto Populate Calendar From Data Table
    By tommy_b in forum Excel General
    Replies: 2
    Last Post: 10-28-2013, 06:04 PM
  6. calendar view,, and table??
    By mark692 in forum Excel General
    Replies: 1
    Last Post: 04-17-2012, 04:26 AM
  7. Replies: 2
    Last Post: 04-13-2012, 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