+ Reply to Thread
Results 1 to 4 of 4

Auto Populate a Linear Calendar Based On A List With Date Ranges

  1. #1
    Registered User
    Join Date
    05-19-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    2

    Auto Populate a Linear Calendar Based On A List With Date Ranges

    Hey EF Community, I would greatly appreciate if you could help me out!

    You can see my attached spreadsheet for guidance.

    I would prefer this be done using formulas as this environment does not play well with macros and code.

    I have one table with three columns -- Names / Start Date / End Date

    I already did some of the work. I have formulas set up in an adjacent table so if James Harden is gone from 5/12 to 5/15, it will auto-create lines for James Harden 5/13 and James Harden 5/14. See the attachment for an example.

    On another sheet I have a table that acts as a linear calendar. The first column is Names and every column after that is a date.

    Here is what I am trying to do -- Let's say a field somewhere on the calendar table lines up horizontally with James Harden and vertically with any of the four dates (5/12, 5/13, 5/14, 5/15), I want that field to be highlighted. It could hold any value as long as it is highlighted. If that field lines up with a name and date that does not fit into any range, then nothing happens.

    Bonus Points: If I could have a fourth column in my original table with three options (leave, travel, training) and have the highlight be a different color depending on what that value is. This would be a luxury, not a necessity however!
    Attached Files Attached Files
    Last edited by falafelologist; 05-19-2015 at 10:45 PM.

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Auto Populate a Linear Calendar Based On A List With Date Ranges

    see attached
    using conditional formatting formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Re: bonus
    add another criteria of countifs

    ps your example output has James harden highlighted instead of kobe
    Attached Files Attached Files
    Last edited by humdingaling; 05-19-2015 at 10:49 PM.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    05-19-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    2

    Re: Auto Populate a Linear Calendar Based On A List With Date Ranges

    Quote Originally Posted by humdingaling View Post
    see attached
    using conditional formatting formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Re: bonus
    add another criteria of countifs

    ps your example output has James harden highlighted instead of kobe
    Mr Humdingaling thank you so much this worked like a charm!!! Seriously you have made my day thank you

  4. #4
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Auto Populate a Linear Calendar Based On A List With Date Ranges

    not a problem
    bear in mind the larger you make the array for countifs...the slower it runs
    ie if you put J:J its unbearable to work with to keep it as low as you can to keep the performance higher
    also just in case you were unsure, you must make all criteria the same size

    that aside enjoy
    Cheers
    Hum

+ 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. [SOLVED] Auto Populate Excel Calendar based on Date Ranges
    By mikearmanios in forum Excel General
    Replies: 14
    Last Post: 04-01-2021, 12:11 PM
  2. Replies: 4
    Last Post: 02-19-2015, 08:37 PM
  3. Replies: 2
    Last Post: 07-31-2013, 02:00 PM
  4. Replies: 0
    Last Post: 07-03-2012, 03:52 PM
  5. Replies: 3
    Last Post: 02-28-2012, 11:54 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