+ Reply to Thread
Results 1 to 8 of 8

Events Calendar (tweak to existing template)

  1. #1
    Registered User
    Join Date
    08-26-2018
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    3

    Events Calendar (tweak to existing template)

    Hi all

    I am trying to put together a calendar for multiple people working on different projects.

    Looking around the forum I found this template by Pete which is amazing and so, so close to exactly what I need -

    excelforum.com/excel-programming-vba-macros/1228769-excel-calendar-to-track-events

    Ideally, though, rather than show each listing as colour blocks on the calendar I would need the calendar entry to display the text from column B.

    The formula at the moment is =IF(AND(I$5>=$D7,I$5<=$E7),"x","")

    Thanks in advance for any help!

    Helen x

  2. #2
    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
    81,224

    Re: Events Calendar (tweak to existing template)

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    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.

  3. #3
    Registered User
    Join Date
    08-26-2018
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    3

    Re: Events Calendar (tweak to existing template)

    Hi

    I've attached a spreadsheet with Pete's original calendar and a mock up of what I'd like it to look like on the second sheet.

    I hope that makes things clear.

    H
    Attached Files Attached Files

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

    Re: Events Calendar (tweak to existing template)

    This was the original thread that the file was produced for:

    https://www.excelforum.com/excel-pro...ck-events.html

    (sorry about this, but the forum restraints mean that you are unable to post links until you have 10 posts).

    I'll take a look at this after I've had something to eat.

    Pete

  5. #5
    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
    81,224

    Re: Events Calendar (tweak to existing template)

    So, for example in FT9:

    =IF(AND(FT$5>=$C9,FT$5<=$D9),$B9,"")

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

    Re: Events Calendar (tweak to existing template)

    Helen,

    The colours in the original file (grey and yellow) were set by conditional formatting and depended on the number of participants which were in column F. You have deleted columns F and G, but the CF is still set up in the calendar part of the sheet, but of course does not work as the cells that they were looking at in column F have been removed. You should therefore remove the six CF conditions for those cells.

    The original idea was to have one sheet which could list the events, and another sheet which displayed these in calendar format. In that original thread I suggested in Post #9 the approach of using colours in the calendar, rather than text values, so that the column widths could remain the same (narrow) and we could have the text on the left of the display (I had just copy/pasted the data for convenience, but the intention was to have formulae which brought the data across, so they could take account of the year selected. As you can see, though, the OP never got back to me after I posted the attachment). Doing what you have suggested in your file will mess this up, and you will have to manually adjust the column widths in order to be able to view any data displayed.

    In your example, you have a duration of only one day for all the entries, and so the end-date column is redundant and could be removed. The formula in the main body of the calendar could then be modified to this in the current cell F7:

    =IF(F$5=$C7,$B7,"")

    and you can then copy this across and down as required. You will stall have the problem of having to modify the column widths in order to read the text.

    Hope this helps.

    Pete

  7. #7
    Registered User
    Join Date
    08-26-2018
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    3

    Re: Events Calendar (tweak to existing template)

    Thanks, both for the help.

    H

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

    Re: Events Calendar (tweak to existing template)

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. Tweak to existing VBA code to send emails on Mac
    By mrbusto71 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-28-2018, 06:30 PM
  2. [SOLVED] Existing Code tweak needed
    By Pr0 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-07-2018, 10:36 AM
  3. Tweak existing VBA to go through list of names until end?
    By mrbusto71 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-18-2016, 09:30 AM
  4. [SOLVED] Slight Tweak to existing code
    By Nitro2481 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-10-2016, 03:35 PM
  5. Populate an Excel calendar template with events from a separate table
    By Dana_Carter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-12-2014, 12:14 PM
  6. Calendar template formula tweak
    By MPosey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-28-2014, 08:01 PM
  7. Tweak an Existing Code
    By mkeys4 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-24-2013, 10:00 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