+ Reply to Thread
Results 1 to 9 of 9

Google Sheet : Determine New Due Date based On system Date Google Then Given CF Color

  1. #1
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Google Sheet : Determine New Due Date based On system Date Google Then Given CF Color

    hi all..

    how to determine due date based on criteria maximum allowed days, working days and holidays days
    then filled color using Conditional Formatting based on system date on Google System
    this my link share
    https://docs.google.com/spreadsheets...it?usp=sharing

    anyone help me, greatly appreciated..

    john m

  2. #2
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Google Sheet : Determine New Due Date based On system Date Google Then Given CF Color

    maybe this make more clear
    please, check into my link file
    Determine working day intl due date in col E2 down with add max days (D2 down), exclude Saturday and Sunday with holidays list in col I6 till I7
    after due date is found in Cell E2 so highligted color in cell F2 down (desired result2)
    with 3 color (grey, yellow and red) with criteria ;
    - for example if due date (in cell E2) is 1/11/2022 using 3 rules :
    in cell F2 substract 3 days, showing new due date and highligted with Grey Color
    or if cell F2 substract 7 days, showing NEW DUE DATE and highligted with Yellow color
    or if cell F2 substract 9 days, showing New Due Date and highligted with Red color
    New Due Date' in Col. F2 down shown based on automatic system date in Google Date System

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,559

    Re: Google Sheet : Determine New Due Date based On system Date Google Then Given CF Color

    Not sure how this translates to google, however this is how it might be done in Excel.
    The dates in column E are populated using: =WORKDAY.INTL(C2,D2,1,I$6:I$7)
    The dates in column F are populated using: =SUM(C2,D2)
    The conditional formatting for column F is as follows*:
    Grey: =E2-F2<=3
    Yellow: =E2-F2<=7
    Red: =E2-F2<=9
    *Note that the rules should be in the order listed above.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  4. #4
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Google Sheet : Determine New Due Date based On system Date Google Then Given CF Color

    hi JeteMc....thank you but not full work
    1. i want to formula work in Google Sheet, how to modified/adjustable..?
    2. in Col F (New date) i want to Automatic Show Date based on date system in device for example like function today(), how to tomorrow, next day ..etc....
    3. for example in New Due Date today is Yellow (CF), how to automatic show Red in tomorrow or next day etc..
    the core is the coloring is dynamic based on criteria above..

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,559

    Re: Google Sheet : Determine New Due Date based On system Date Google Then Given CF Color

    According to this article the WORKDAY.INTL function for google is the same as for Excel: https://www.excelhow.net/google-shee...-function.html
    It also seems that TODAY() works in google so you can put =TODAY() in cell F2 and copy down.
    It seems as if you want the dates in column F to highlight yellow if they are within three days of the due date and then red if the due date is past, so I am guessing that they should highlight grey if they are more than 3 days off.
    If so then the following will work in Excel and I assume in google too.
    Red: =E2<F2
    Yellow: =E2<=F2+3
    Grey: =E2>F2+3
    Rules need to be in the order listed above.
    Let us know if you have any questions.

  6. #6
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Google Sheet : Determine New Due Date based On system Date Google Then Given CF Color

    hi..JeteMc, thank you very much!

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,559

    Re: Google Sheet : Determine New Due Date based On system Date Google Then Given CF Color

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

  8. #8
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Google Sheet : Determine New Due Date based On system Date Google Then Given CF Color

    hiJeteMc, ..

    why different from result between using Excel and Google Sheet?
    Note:
    1. Calculate exclude Saturday and Sunday
    2. holidays list is always not contains Saturday and Sunday

    Which correct it?

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,559

    Re: Google Sheet : Determine New Due Date based On system Date Google Then Given CF Color

    As to #1, according to the article linked in the first sentence of post #5 there should not be any difference in the way WORKDAY.INTL calculates in google and Excel.
    As to #2, there should be no reason to list Saturdays and Sundays in the holiday list as they should already be omitted from the WORKDAY.INTL calculation.
    I don't have google so I can't test.
    Maybe another contributor could troubleshoot if you can post a link to the spreadsheet that is not calculating correctly.

+ 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] Google Sheet : Query Formula Based On Date (Only format mm-yyyy)
    By Jhon Mustofa in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 12
    Last Post: 11-25-2021, 09:05 AM
  2. [Google Sheets] Get uniques IDs based on latest date
    By rolito in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 05-09-2021, 02:29 PM
  3. Google sheets - change cell color based on days past date in another cell
    By Coffey80 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 03-10-2021, 03:20 PM
  4. Google sheet: Help to attachment file from Google Drive and send email fill in Google Form
    By sbv1986 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 03-01-2021, 10:47 PM
  5. Google Sheet: Admission System in a hospital-like Facility.
    By serrawces in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 5
    Last Post: 06-02-2020, 05:52 PM
  6. Google Sheet Importrange - date
    By sirdon in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-27-2019, 10:51 PM
  7. Replies: 13
    Last Post: 07-09-2014, 04:10 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