+ Reply to Thread
Results 1 to 11 of 11

Start-End date need to automaticcly colour in project planning

  1. #1
    Registered User
    Join Date
    12-13-2023
    Location
    Netherlands
    MS-Off Ver
    MS365 Version 2311
    Posts
    4

    Post Start-End date need to automaticcly colour in project planning

    Hey hey, i am making a project planning in Excel. So i have data in one side of the sheet, and the planning on the other side of my sheet. I want to put the start and end date of every project, and then that it automatticly colours it on the planning side. How do i make this possible? I do not want it to clolour the weekend days. Thanks in advance!

    Hulpvraag blad.xlsxHulpvraag blad.xlsxHulpvraag blad.xlsx

  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,940

    Re: Start-End date need to automaticcly colour in project planning

    Administrative Note:

    Welcome to the forum.

    Is your forum profile showing the Excel PRODUCT that you need this to work for? 'Recent version' is not explicit.

    Members will tailor the solutions they offer to the Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your product is for Mac, please also state this.

    The three most recent Excel products are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the version number in your profile (e.g. MS365 Version 2306). This is in the About Excel section further down the Account page.

    Thanks.
    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 Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Start-End date need to automaticcly colour in project planning

    Please Login or Register  to view this content.
    Try this formula
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  4. #4
    Registered User
    Join Date
    12-13-2023
    Location
    Netherlands
    MS-Off Ver
    MS365 Version 2311
    Posts
    4

    Question Re: Start-End date need to automaticcly colour in project planning

    Hello,

    Thanks for youre help! But i was wondering is it possible to get the colours diffrent with each project and not colour the weekend days? Or is that impossible

    I've added a attachtment, is it possible to get the colours from the first to cells? to colour their row with the date?

    Thanks in advance really thankfull for youre help!
    Attached Files Attached Files

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

    Re: Start-End date need to automaticcly colour in project planning

    For the weekend issue, add this to the rule:

    =AND(MEDIAN($C4,$E4,H$3)=H$3,$E4<>"",WEEKDAY(H$3,2)<6)

    For your Dutch locale:

    =EN(MEDIAAN($C4;$E4;H$3)=H$3;$E4<>"";WEEKDAG(H$3;2)<6)

    As for the different colours, Excel is not able to format anything based on the format of another cell. You have two options:

    1. Create a separate rule for each row.
    2. Look into a VBA solution for the cell colours.
    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 (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,940

    Re: Start-End date need to automaticcly colour in project planning

    Solution seen, but no reply yet.

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

  7. #7
    Registered User
    Join Date
    12-13-2023
    Location
    Netherlands
    MS-Off Ver
    MS365 Version 2311
    Posts
    4

    Question Re: Start-End date need to automaticcly colour in project planning

    Will do that, just got 1 more question i tried to make the same in a different planning. But i think i messed up the formula somewhere? Because it colours every cel in stead of the selected cells.
    What am i doing wrong here?
    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 (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,940

    Re: Start-End date need to automaticcly colour in project planning

    So you've removed weekends - so no need for my formula, then???

  9. #9
    Registered User
    Join Date
    12-13-2023
    Location
    Netherlands
    MS-Off Ver
    MS365 Version 2311
    Posts
    4

    Re: Start-End date need to automaticcly colour in project planning

    Still need to add the weekends to this planning it will be used ")

  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,940

    Re: Start-End date need to automaticcly colour in project planning

    OK - so your anchoring is incorrect. You need this:

    =AND(MEDIAN($H11,$I11,J$9)=J$9,$I11<>"")
    =EN(MEDIAAN($H11;$I11;J$9)=J$9;$I11<>"")

    It won't work if you put extra dollar signs in where they are not needed.
    Attached Files Attached Files

  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,940

    Re: Start-End date need to automaticcly colour in project planning

    Where are we with this? The thread still isn't marked as solved and there's been no acknowledgement of my latest suggestion. I am human and I do expect some feedback, please.

+ 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: 1
    Last Post: 06-13-2020, 10:53 AM
  2. Replies: 0
    Last Post: 11-20-2019, 05:39 AM
  3. Get the start date and end date of project in a range of Project Allocation
    By juan.doe in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-19-2018, 09:54 AM
  4. Populating cells in planning according to start and end date
    By frencholivier in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-27-2015, 11:01 AM
  5. [SOLVED] Macro to Insert start & end date in planning
    By graiggoriz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-04-2014, 10:07 AM
  6. Replies: 0
    Last Post: 06-14-2012, 02:49 PM

Tags for this Thread

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