+ Reply to Thread
Results 1 to 14 of 14

Workbook Upgrade to have a starting date & end date for events

  1. #1
    Registered User
    Join Date
    01-25-2022
    Location
    London, England
    MS-Off Ver
    Microsoft Office Professional Plus 2021; Office 365
    Posts
    83

    Workbook Upgrade to have a starting date & end date for events

    Hello Wizards,

    I have a calendar which works well (c-f with 3 events/day) but if an event should last 2 weeks for example, I would need to add 10 rows in my data table (one for each day). I would like to upgrade it to have a starting date & end date, avoiding manual work. Attaching the workbook for your reference
    Also, is there any approach / formulas that could make the same events from the same data table to populate the 3rd sheet, this time based on "Process" column, but at a monthly level? Keeping only the description & period would be enough

    Thank you!
    Last edited by AliGW; 01-26-2022 at 04:57 AM. Reason: Title changed - please think more carefully about your thread titles in future!

  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
    80,777

    Re: Workbook Upgrade to have a starting date & end date

    Welcome to the forum.

    Thread titles here need to be descriptive of the issue and not generic, soI have changed yours today. Please remember this requirement in future. Thanks.

    I will have a look at your workbook.
    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
    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
    80,777

    Re: Workbook Upgrade to have a starting date & end date

    For example, in H17, change this:

    =IFERROR(INDEX(Data!$B$1:$B$50,SMALL(IF(Data!$I$1:$I$50='Monthly View'!H16,ROW(Data!$I$1:$I$50)-ROW(INDEX(Data!$I$1:$I$50,1,1))+1),1)),"")

    to this:

    =IFERROR(INDEX(Data!$B$1:$B$50,SMALL(IF(Data!$H$1:$H$50<='Monthly View'!H16,IF(Data!$I$1:$I$50>='Monthly View'!H16,ROW(Data!$I$1:$I$50)-ROW(INDEX(Data!$I$1:$I$50,1,1))+1)),1)),"")

    Is this what you mean?

  4. #4
    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
    80,777

    Re: Workbook Upgrade to have a starting date & end date for events

    By the way, there is no data in the 'third sheet'. If you want help with that, please manually mock-up what you want it to look like.

  5. #5
    Registered User
    Join Date
    01-25-2022
    Location
    London, England
    MS-Off Ver
    Microsoft Office Professional Plus 2021; Office 365
    Posts
    83

    Re: Workbook Upgrade to have a starting date & end date

    Hey Ali,

    I've tried to add 2 replies but it just won't work, and I don't have any clues why

    The formula you added is superb for the colored parts, but I need the description for every event next to them, also.
    Can something similar be done with =IFERROR(INDEX(Data!$C$1:$C$50,SMALL(IF(Data!$I$1:$I$50='Monthly View'!B4,ROW(Data!$I$1:$I$50)-ROW(INDEX(Data!$I$1:$I$50,1,1))+1),1)),"") ?

    Also, for the 3rd sheet, there's nothing because I am not sure how to add the Process in Data column there. For example, if Process A takes place between 15Jan-20Jan, it would appear on the yw sheet under Jan having the description and the period if it makes more sense now :D

    Thank you!!

    I'll reply to the thread as well but I am not sure what's happening
    Last edited by AliGW; 01-26-2022 at 05:27 AM. Reason: PLEASE don't quote unnecessarily!

  6. #6
    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
    80,777

    Re: Workbook Upgrade to have a starting date & end date for events

    The formula you added is superb for the colored parts, but I need the description for every event next to them, also.
    The description formula needs updating following the same pattern as the example I have given you to look at TWO dates.

    e.g. =IFERROR(INDEX(Data!$C$1:$C$50,SMALL(IF(Data!$H$1:$H$50<='Monthly View'!J16,IF(Data!$I$1:$I$50>='Monthly View'!J16,ROW(Data!$I$1:$I$50)-ROW(INDEX(Data!$I$1:$I$50,1,1))+1)),1)),"")

    Also, for the 3rd sheet, there's nothing because I am not sure how to add the Process in Data column there.
    I know, but that's not what I am asking for. Please mock up MANUALLY what you want to see there based on the sample data, then we can suggest how to do it.
    Last edited by AliGW; 01-26-2022 at 06:18 AM. Reason: Typo fixed.

  7. #7
    Registered User
    Join Date
    01-25-2022
    Location
    London, England
    MS-Off Ver
    Microsoft Office Professional Plus 2021; Office 365
    Posts
    83

    Re: Workbook Upgrade to have a starting date & end date for events

    Formulas for mw work excellent, thank you once again, amazing

    Added the mock-up for the 3rd sheet, now. Basically, based on "Data" sheet the Process should be reflected on 3rd sheet as well. There can be more than 1 for the month, format can be changed as desired.

  8. #8
    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
    80,777

    Re: Workbook Upgrade to have a starting date & end date for events

    Thanks. That's clear now. I have to go and do something, but if nobody has responded when I get back, I'll have a go at it for you. It should be simply a matter of tweaking the formula you already have for the other sheet to look at the whole month and fllter on the correct data.

    As you have 365, this may be easier than it would otherwsie have been.

  9. #9
    Registered User
    Join Date
    01-25-2022
    Location
    London, England
    MS-Off Ver
    Microsoft Office Professional Plus 2021; Office 365
    Posts
    83
    Thanks Ali, I've tried to but without any luck. I will be waiting your/someone to reply
    Last edited by AliGW; 01-26-2022 at 09:28 AM. Reason: PLEASE don't quote unnecessarily!

  10. #10
    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
    80,777

    Re: Workbook Upgrade to have a starting date & end date for events

    OK - I'm a bit tied up for now, but promise I'll look later if nobody else steps in (but I am pretty sure someone will).

  11. #11
    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
    80,777

    Re: Workbook Upgrade to have a starting date & end date for events

    Thanks for your message. This post will bump the thread.

    I ran out of time yesterday, but looking again at your data, given its nature, I am sorry, but I am not going to be able to provide you with a solution.

    Be aware that there have been well in excess of 200 views of this thread and I put out a call for help yesterday: the fact that nobody has yet jumped in is not a good sign, I am afraid.

    EDIT: Ignore this! I was thinking of another thread ... Sorry.

    I will have a look now.
    Last edited by AliGW; 01-27-2022 at 06:52 AM.

  12. #12
    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
    80,777

    Re: Workbook Upgrade to have a starting date & end date for events

    In B1:

    01/01/2022

    In C1 copied across:

    =EDATE(B1,COLUMN()-2)

    Set formatting for these header cells to custom: mmm

    For example, in B8:

    =IFERROR(INDEX(Data!$C$1:$C$50,SMALL(IF(Data!$H$1:$H$50 > =B$1,IF(Data!$I$1:$I$50 < EDATE(B$1,1),IF(Data!$G$1:$G$50=$A$8,ROW(Data!$I$1:$I$50)-ROW(INDEX(Data!$I$1:$I$50,1,1))+1))),1)),"")

    This will pull the event.

    You'd need to concatenate the other data (see the yellow cell in the workbook).

    AliGW on MS365 Insider (Windows) 64 bit

    A
    B
    8
    "C"
    JIM/ Do Something 1 + "A" + 01/01/2022 to 05/01/2022
    Sheet: Yearly View
    Attached Images Attached Images
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    01-25-2022
    Location
    London, England
    MS-Off Ver
    Microsoft Office Professional Plus 2021; Office 365
    Posts
    83

    Re: Workbook Upgrade to have a starting date & end date for events

    works like a charm!! Thank you for everything, Ali!

  14. #14
    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
    80,777

    Re: Workbook Upgrade to have a starting date & end date for events

    You're welcome and thankd for the rep.

+ 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. Upgrade
    By Alf in forum The Water Cooler
    Replies: 22
    Last Post: 11-30-2016, 04:48 PM
  2. What should I upgrade to?
    By Poperick in forum Office 365
    Replies: 1
    Last Post: 09-19-2016, 10:41 AM
  3. Replies: 0
    Last Post: 05-17-2016, 12:39 PM
  4. Replies: 2
    Last Post: 05-17-2016, 12:23 PM
  5. [SOLVED] [EXCEL] Open and copy from workbook specified in existing cells / 2010 upgrade problem
    By morten.bay in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-27-2012, 04:20 AM
  6. [EXCEL] Open and copy from workbook specified in existing cells / 2010 upgrade problem
    By morten.bay in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-22-2012, 09:07 AM
  7. Looking to Upgrade my PC
    By TWent in forum The Water Cooler
    Replies: 8
    Last Post: 06-19-2011, 07:24 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